dig failed added opencv

This commit is contained in:
2022-05-06 12:50:44 +02:00
parent a969b33c7a
commit 485b3ba7f4
30 changed files with 56 additions and 9 deletions

View File

@@ -156,6 +156,7 @@ def update_screenshot_with_short_pic_list(short_pic_lst, lst_bl_items):
def dig_point(point1, point2, dig_time):
pydirectinput.moveTo(point1, point2)
cv.waitKey(50)
pydirectinput.mouseDown()
w = random.randint(1, 50)
cv.waitKey(dig_time + w)