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
如果出现以下错误: File "C:\Users\zhang\Documents\workspace\adbs\JGMA\cv.py", line 71, in findTaskBubble if len(cnts[1]): TypeError: object of type 'NoneType' has no len()
可能是cv2版本问题,我没详查。我的是opencv-python 4.2.0.34
修改源码cv.py中
如果出现以下错误:
File "C:\Users\zhang\Documents\workspace\adbs\JGMA\cv.py", line 71, in findTaskBubble if len(cnts[1]): TypeError: object of type 'NoneType' has no len()
可能是cv2版本问题,我没详查。我的是opencv-python 4.2.0.34
修改源码cv.py中
为
加一条判定,避免NoneType错误,可解决。
The text was updated successfully, but these errors were encountered: