Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 2088

TypeError:'NoneType' object cannot be interpreted as an integer

$
0
0
**Can any one help me in resolving this issue:** for contour, hier in zip(itertools.repeat(contours, hierarchy)): TypeError: 'NoneType' object cannot be interpreted as an integer my code snippet: _, contours, hierarchy = cv2.findContours(erosion,cv2.RETR_EXTERNAL,cv2.CHAIN_APPROX_SIMPLE) for contour, hier in zip(itertools.repeat(contours, hierarchy)):

Viewing all articles
Browse latest Browse all 2088

Trending Articles