Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working on Respberry Pi #39

Open
mohamedmostafaa opened this issue Nov 28, 2019 · 2 comments
Open

Working on Respberry Pi #39

mohamedmostafaa opened this issue Nov 28, 2019 · 2 comments

Comments

@mohamedmostafaa
Copy link

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
Copy link
Owner

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

@VergaraF
Copy link

Install opencv3.4 instead of 3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants