File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ def run():
108108 max_coords = coords
109109
110110 # Check if the maximum value is above a certain threshold
111- if max_val > 0.95 :
111+ if max_val > 0.90 :
112112 logging .info (f"Image { max_image_file } matches with { max_val * 100 } %" )
113113
114114 # If not ingame reset timer
Original file line number Diff line number Diff line change 1- numpy == 1.24.1
1+ numpy == 1.26.0
22opencv-python == 4.7.0.68
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ def capture_screenshot(filename):
66 Captures a screenshot of the Android screen using adb and saves it to a file.
77 Returns True if the adb command was successful, False otherwise.
88 """
9- adb_command = "adb exec-out screencap -p > {} 2> /dev/null " .format (filename )
9+ adb_command = "adb exec-out screencap -p > {}" .format (filename )
1010 error_code = os .system (adb_command )
1111 return error_code == 0
You can’t perform that action at this time.
0 commit comments