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

voc2coco #21

Open
XZNWU opened this issue Jan 2, 2020 · 0 comments
Open

voc2coco #21

XZNWU opened this issue Jan 2, 2020 · 0 comments

Comments

@XZNWU
Copy link

XZNWU commented Jan 2, 2020

annotation['area']=abs(cv2.contourArea(contour,True))
cv2.error: OpenCV(3.4.2) /io/opencv/modules/imgproc/src/shapedescr.cpp:272: error: (-215:Assertion failed) npoints >= 0 && (depth == 5 || depth == 4) in function 'contourArea'

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

1 participant