nicholaskajoh / ivy

Video-based object counting software.
MIT License
428 stars 170 forks source link

AttributeError: module 'cv2.cv2' has no attribute 'bgsegm' #13

Closed pinoden closed 5 years ago

pinoden commented 5 years ago

Hi! I believe that you need to update your requirements file. It didn't work for me with opencv-contrib-python==4.0.0.21, but did work with opencv-contrib-python==4.1.0.25

nicholaskajoh commented 5 years ago

Hi @pinoden! Thanks for the feedback. I came across a similar error some time ago but it was because I hadn't installed some system dependencies. I'll update it.

nicholaskajoh commented 5 years ago

Fixed in #16.