Skip to content

waggle-sensor/plugin-trafficcounter

Repository files navigation

Traffic Counter

The full description of this application can be found here.

Run

This application requires meta information regarding the scene for counting traffic. Read the preparation to prepare a json file that indicates how the application should count vehicles.

Recording a Video from Live Stream

# Record a 60 second video from given stream and
# save the video as sample.mp4
python3 record.py \
    --stream rtsp://mystream \
    --duration 60

With an Input Video

# Take input.mp4 as an input
python3 app.py \
  --lanes /path/to/lanes.json \
  --input-file file:///path/to/input.mp4 \

With a Live Stream

# Take a 60 second video from given stream
python3 app.py \
  --lanes /path/to/lanes.json \
  --stream rtsp://mystream \
  --duration 60

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published