-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Ran "python2 main.py path/to/.jpg" with all dependencies inatalled.
Calls to ocv in main.py, such as;
- if cv2.contourArea(c)<80:
- x,y,w,h = cv2.boundingRect(c)
Error:
File "main.py",
x,y,w,h = cv2.boundingRect(c)
cv2.error: OpenCV(4.2.0) /io/opencv/modules/imgproc/src/shapedescr.cpp:784: error: (-215:Assertion failed) npoints >= 0 && (depth == CV_32F || depth == CV_32S) in function 'pointSetBoundingRect'
Python 2.7.18
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels