menti words init

This commit is contained in:
2023-07-26 16:16:13 +02:00
parent 1893d513f2
commit bdb448932d

View File

@@ -72,8 +72,8 @@ class MentiWords(GameBase):
def get_current_board_state(self): def get_current_board_state(self):
screenshot = cv.imread("menti_words/screenshot.jpg") #screenshot = cv.imread("menti_words/screenshot.jpg")
#screenshot = self.capture_window.get_screenshot() screenshot = self.capture_window.get_screenshot()
screenshot = screenshot[870:1240, 1080:1480] screenshot = screenshot[870:1240, 1080:1480]
#cv.imshow("screenshot", screenshot) #cv.imshow("screenshot", screenshot)