Code Monkey home page Code Monkey logo

Comments (3)

colinlaney avatar colinlaney commented on June 3, 2024

@imr555, please pull new version.

  • The 1st error is caused by version < 4.0.0.21 of your OpenCV, run pip install -r requirements.txt.
  • The 2nd one is caused by conflict between cv2.waitKey() and cv2.destroyWindow(). It was okay on Windows but not on Mac OS X or Linux.

from animal-tracking.

imr555 avatar imr555 commented on June 3, 2024

The previous issues are resolved. But theres a new error that has come up. After running the code twice each time at 120 sec, the program auto exits and this error shows up

Traceback (most recent call last):
  File "track.py", line 255, in <module>
    trace(filename)
  File "track.py", line 180, in trace
    x = int(M['m10']/M['m00'])
ZeroDivisionError: float division by zero

from animal-tracking.

colinlaney avatar colinlaney commented on June 3, 2024

Yes, it's fixed too in c560eb0.

from animal-tracking.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.