lxtGH / PFSegNets

PointFlow (CVPR-2021)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

opencv version

shanshanwang28 opened this issue · comments

contour, _ = cv2.findContours(tmp, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
cv2.error: OpenCV(4.0.0) /io/opencv/modules/imgproc/src/contours.cpp:195: error: (-210:Unsupported format or combination of formats) [Start]FindContours supports only CV_8UC1 images when mode != CV_RETR_FLOODFILL otherwise supports CV_32SC1 images only in function 'cvStartFindContours_Impl'

this error occured when run the code?which opencv version is right?thanks!