Git Product home page Git Product logo

Comments (1)

pageauc avatar pageauc commented on August 18, 2024

Code should be compatible with opencv3. Let me know if you have an issue. You can reduce stream image size and it should increase fps but everything is a compromise. It still takes time to do the opencv processing so there is a limit to the fps since it will not be dependent on the camera as you are finding out. Speed camera crops the speed rectangle area and uses that to process for motion tracking. You might try reducing the size using config.py variables

# Crop Area for motion detection Tracking
# ---------------------------------------
x_left  = 25           # Exclude event if x less than this px position Default=25
x_right = 295          # Exclude event if x greater than this px position Default=295 
y_upper = 75           # Exclude event if y less that this value default=100
y_lower = 185          # Exclude event if y greater than this value default=175

These are for 240p image resolution see the config.py.720 if you are using 720p image resolution.
You will need to make sure the motion track area is contained in this rectangle. Should reduce some opencv processing time and speed up fps a little.

Motion Tracking is somewhat dependent on the speed of the objects being tracked. Faster speeds require faster fps but will still work as long as track length stays inside monitoring rectangle.

Regards Claude ...

from speed-camera.

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.