Skip to content

Commit 41f0e00

Browse files
committed
lib changed
1 parent 2fb5945 commit 41f0e00

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

main.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
import random
1010
import keyboard
1111
import datetime
12-
# import dxcam_cpp as dxcam
13-
import dxcam
12+
import dxcam_cpp as dxcam
13+
# import dxcam
1414

1515
from PIL import Image
1616

@@ -103,13 +103,7 @@ def wait_running_game(camera, timeout:float = .0) -> None:
103103
application_bbox = prepare_app()
104104
frame = camera.get_latest_frame()
105105
timer = time.time()
106-
# _flag = True
107106
while not check_running(frame, application_bbox):
108-
# if frame.any() and _flag:
109-
# print(frame)
110-
# # img = Image.fromarray(frame)
111-
# # img.save('poo3.png')
112-
# flag = False
113107
application_bbox = prepare_app()
114108
frame = camera.get_latest_frame()
115109

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
mouse
44
pywin32
55
keyboard
6-
# dxcam-cpp
7-
dxcam==0.0.5
6+
dxcam-cpp>=0.2.3

0 commit comments

Comments
 (0)