This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reduced runtime from 5 FPS to 20 FPS. | |
import time,dxcam | |
from PIL import Image, ImageGrab | |
import pygetwindow as gw | |
import pyautogui | |
# Defining the camera | |
Camera = dxcam.create() |