diff --git a/pickaxe.py b/pickaxe.py index 6150639..940856b 100644 --- a/pickaxe.py +++ b/pickaxe.py @@ -71,11 +71,11 @@ class Pickaxe_Field(GameBase): # initialize the StunVision class self.vision_stun = Vision() - self.needles = {1: cv.imread("pickaxe/1.png", cv.IMREAD_COLOR), - 2: cv.imread("pickaxe/2.png", cv.IMREAD_COLOR), - 3: cv.imread("pickaxe/3.png", cv.IMREAD_COLOR), + self.needles = {1: cv.imread("pickaxe/1.jpg", cv.IMREAD_COLOR), + 2: cv.imread("pickaxe/2.jpg", cv.IMREAD_COLOR), + 3: cv.imread("pickaxe/3.jpg", cv.IMREAD_COLOR), 4: cv.imread("pickaxe/4.png", cv.IMREAD_COLOR), - 5: cv.imread("pickaxe/5.png", cv.IMREAD_COLOR), + 5: cv.imread("pickaxe/5.jpg", cv.IMREAD_COLOR), 6: cv.imread("pickaxe/6.png", cv.IMREAD_COLOR), 7: cv.imread("pickaxe/7.png", cv.IMREAD_COLOR), 8: cv.imread("pickaxe/8.png", cv.IMREAD_COLOR), @@ -416,8 +416,8 @@ class Pickaxe_Field(GameBase): def get_current_board_state(self): # get an updated image of the game - screenshot = self.capture_window.get_screenshot() - #screenshot = cv.imread("playfield_pic3.jpg") + #screenshot = self.capture_window.get_screenshot() + screenshot = cv.imread("pickaxe/screen1.jpg") screenshot = screenshot[200:1200, 650:1650] # 1000,1000 # cv.imshow("screenshot", screenshot) diff --git a/pickaxe/1.jpg b/pickaxe/1.jpg new file mode 100644 index 0000000..cefadca Binary files /dev/null and b/pickaxe/1.jpg differ diff --git a/pickaxe/2.jpg b/pickaxe/2.jpg new file mode 100644 index 0000000..41a0397 Binary files /dev/null and b/pickaxe/2.jpg differ diff --git a/pickaxe/3.jpg b/pickaxe/3.jpg new file mode 100644 index 0000000..bb9b08b Binary files /dev/null and b/pickaxe/3.jpg differ diff --git a/pickaxe/5.jpg b/pickaxe/5.jpg new file mode 100644 index 0000000..e37bfb7 Binary files /dev/null and b/pickaxe/5.jpg differ diff --git a/pickaxe/screen1.jpg b/pickaxe/screen1.jpg new file mode 100644 index 0000000..8c2b285 Binary files /dev/null and b/pickaxe/screen1.jpg differ