EvilPort2 / Sign-Language

A very simple CNN project.
762 stars 355 forks source link

Working on Respberry Pi #39

Open mohamedmostafaa opened 4 years ago

mohamedmostafaa commented 4 years ago

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

EvilPort2 commented 4 years ago

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

VergaraF commented 4 years ago

Install opencv3.4 instead of 3.2