shikhar1verma / auto-eatventure

This repo is a try for automating eatventure game. This is done solely to understand game app automation having unity as engine. Exploring paths to game automation with elements.
MIT License
12 stars 4 forks source link

Image and opencv error while running adb_autoplay.py #13

Open TapleFlib opened 7 months ago

TapleFlib commented 7 months ago

Error content after running adb_autoplay.py :

[ WARN:0@1.740] global loadsave.cpp:244 cv::findDecoder imread_('./matching_screenshots/notification.png'): can't open/read file: check file path/integrity [ WARN:0@1.746] global loadsave.cpp:244 cv::findDecoder imread_('./matching_screenshots/notification.png'): can't open/read file: check file path/integrity Traceback (most recent call last): File "c:\auto-eatventure\adb_autoplay.py", line 803, in <module> dev = AutoEatventure() File "c:\auto-eatventure\adb_autoplay.py", line 48, in __init__ self.load_templates() File "c:\auto-eatventure\adb_autoplay.py", line 73, in load_templates 'bgr2hsv': cv2.cvtColor(simple, cv2.COLOR_BGR2HSV) cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'

![Uploading image.png…]()