Traceback (most recent call last):
File "", line 1, in
File "track.py", line 252, in
floorCrop(filename)
File "track.py", line 91, in floorCrop
_, contours, hierarchy = cv2.findContours(mask, cv2.RETR_LIST, cv2.CHAIN_APPROX_SIMPLE)
ValueError: need more than 2 values to unpack
I'm testing the module with your rat.avi video. But I get value error. How to fix the error?
import track.py
Traceback (most recent call last): File "", line 1, in
File "track.py", line 252, in
floorCrop(filename)
File "track.py", line 91, in floorCrop
_, contours, hierarchy = cv2.findContours(mask, cv2.RETR_LIST, cv2.CHAIN_APPROX_SIMPLE)
ValueError: need more than 2 values to unpack
I'm testing the module with your rat.avi video. But I get value error. How to fix the error?