Egoistically / ALAuto

Azur Lane bot based on azurlane-auto. Discord: https://discord.gg/vCFxDen.
Do What The F*ck You Want To Public License
104 stars 43 forks source link

AScreenCap doesn't seem to work with BlueStacks N-64 (32 bit apps) instances #139

Open niZyalB opened 4 years ago

niZyalB commented 4 years ago

getting

Traceback (most recent call last):
  File "ALAuto.py", line 215, in <module>
    Utils.update_screen()
  File "E:\Libraries\Documents\GitHub\ALAuto\util\utils.py", line 238, in update_screen
    screen = cv2.cvtColor(color_screen, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(3.4.4) C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:181: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'

When trying to start the bot with AScreenCap enabled on a BlueStacks N-64 (32 bit apps) instance. The other options work fine.