You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenCV Error: Assertion failed (ssize.area() > 0) in cv::resize, file ........\opencv\modules\imgproc\src\imgwarp.cpp, line 1968
Traceback (most recent call last):
File "play.py", line 170, in
AI.run()
File "play.py", line 156, in run
self.play()
File "play.py", line 145, in play
self.target_pos = self.get_target_position(self.state, self.player_pos)
File "play.py", line 96, in get_target_position
pos = multi_scale_search(target, state_cut, 0.4, 15)
File "play.py", line 18, in multi_scale_search
resized = cv2.resize(screen, (int(W * scale), int(H * scale)))
cv2.error: ........\opencv\modules\imgproc\src\imgwarp.cpp:1968: error: (-215) ssize.area() > 0 in function cv::resize
这啥情况?
The text was updated successfully, but these errors were encountered:
OpenCV Error: Assertion failed (ssize.area() > 0) in cv::resize, file ........\opencv\modules\imgproc\src\imgwarp.cpp, line 1968
Traceback (most recent call last):
File "play.py", line 170, in
AI.run()
File "play.py", line 156, in run
self.play()
File "play.py", line 145, in play
self.target_pos = self.get_target_position(self.state, self.player_pos)
File "play.py", line 96, in get_target_position
pos = multi_scale_search(target, state_cut, 0.4, 15)
File "play.py", line 18, in multi_scale_search
resized = cv2.resize(screen, (int(W * scale), int(H * scale)))
cv2.error: ........\opencv\modules\imgproc\src\imgwarp.cpp:1968: error: (-215) ssize.area() > 0 in function cv::resize
这啥情况?
The text was updated successfully, but these errors were encountered: