Closed manuelmorgado closed 6 years ago
Hey @manuelmorgado, what version of OpenCV do you have installed? Certian version of findContours return three things while others return two. Can you try changing that line to
(contours, hierarchy) = cv2.findContours(dilated.copy(), cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
and let me know if that works
Hi @dwalton76! Thanks for reply, the OpenCV version installed in my computer is '2.4.8'. But you are right! the issue of line 1261 in the init.py was fixed with that line :D
I will let you know if I have some more feedback on this code.
Cheers,
Hi dwalton!
I was trying your codes :) but I got some errors with the cube's tracker, looks like it is not getting access to the webcam? here the error log...
Any idea? Thanks! Cheers,
BTW, very nice blog ;)