While finding contours I am getting a value error as "too many values to unpack"
Traceback (most recent call last):
File "C:/Python27/check5.py", line 8, in <module>
contours, hierarchy = cv2.findContours(thresh,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE)
ValueError: too many values to unpack
Any idea as to why this is happening?