added ok button check to magic

This commit is contained in:
2023-04-28 06:47:12 +02:00
parent aa92f20758
commit 4c6a3d04c7
6 changed files with 1 additions and 1 deletions

View File

@@ -83,7 +83,7 @@ class Fruit(GameBase):
cv.waitKey(500)
screenshot = self.capture_window.get_screenshot()
screenshot = screenshot[188:1022, 553:1861]
screenshot = screenshot[188:1210, 390:2000]
# 553 to 1861 = 1330 / 11 = 119
# 188 to 1022
#cv.imshow("screenshot", screenshot)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB