colinlaney / animal-tracking

Object tracking with OpenCV in open field behavioral test (overhead view maze)
https://youtu.be/GebcshN4OdE
Creative Commons Zero v1.0 Universal
50 stars 23 forks source link

Track.py Code Issue #10

Closed Alyetama closed 4 years ago

Alyetama commented 4 years ago
Traceback (most recent call last):
  File "~/animal-tracking/track.py", line 283, in <module>
    floorCrop(filename)
  File "~/animal-tracking/track.py", line 97, in floorCrop
    contours, hierarchy = cv2.findContours(mask, cv2.RETR_LIST, cv2.CHAIN_APPROX_SIMPLE)
ValueError: too many values to unpack (expected 2)