Sign-Language icon indicating copy to clipboard operation
Sign-Language copied to clipboard

Working on Respberry Pi

Open mohamedmostafaa opened this issue 5 years ago • 2 comments

i need your help to work on RPI 3 this error contour = max(contours, key = cv2.contourArea) cv2.error: /build/opencv-L65chJ/opencv-3.2.0+dfsg/modules/imgproc/src/shapedescr.cpp:320: error: (-215) npoints >= 0 && (depth == CV_32F || depth == CV_32S) in function contourArea

mohamedmostafaa avatar Nov 28 '19 17:11 mohamedmostafaa

most likely the contours is coming as a float type of array whereas it should be int

EvilPort2 avatar Dec 24 '19 10:12 EvilPort2

Install opencv3.4 instead of 3.2

VergaraF avatar Jan 26 '20 04:01 VergaraF