error: (-215:Assertion failed) npoints >= 0 && (depth == CV_32F || depth == CV_32F || depth ==CV_32S
【解决】error: (-215:Assertion failed) npoints >= 0 && (depth == CV_32F || depth == CV_32S) in function ‘cv::contourArea’
In OpenCV 3.4:
image, contours, hierarchy= cv2.findContours(image,...
原创
2019-08-08 15:23:20 ·
24389 阅读 ·
8 评论