GithubHelp home page GithubHelp logo

hyoooo2 / traffic_camera_tracking Goto Github PK

View Code? Open in Web Editor NEW

This project forked from savenow/traffic_camera_tracking

0.0 0.0 0.0 340.87 MB

This project aims to recognize and track escooters through the traffic intersection and find their trajectories, time of passing and speed.

Shell 0.66% Python 98.87% Dockerfile 0.47%

traffic_camera_tracking's Introduction

Traffic Camera Tracking (SAVeNoW)

Basic Overview


Main goals of this project is to detect, track and obtain velocity information of three classes (Escooter, Pedestrians and Cyclists) from a video footage of a traffic intersection in Ingolstadt. This project is a part of SaveNoW, where all these data are used to create a digital twin of Ingolstadt for simulation purposes.

Individual Components


Object Detection:

(Still actively developed..A lot of the parameters could change in future)

PyTorch based YoloV5 framework is used for detection and the model yolov5l6 is trained on custom dataset of around 87k images in varied conditions (daylight, rain and night). All the images were manually labelled using CVAT online annotation tool. The model was trained by for 100+ hours using RTX 3090 for 600 epochs and reaches around 97% accuracy.

For faster inference speeds, a TensorRT Engine has been built and can infer at 125 fps

Tracker:

Since YoloV5 is spatial CNN Object detector, it doesn't contain temporal information to recognize an object across multiple frames. For this purpose, a modified SORT (Simple Online Realtime Tracker) has been used.

Velocity Estimation:

Using predetermined Camera Calibration values, the homography is calculated and every point in image is mapped accurately to it's correspoinding 3D world coordinates.

Sample inference:


Notes


  • Weights files and training datasets are not present in the repo. If you are interested, please feel free to contact us: [email protected]
  • Calibration values must be properly tuned depending on the individual scene (Hint: Maybe will be automated in the future)

Contributing


Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

traffic_camera_tracking's People

Contributors

vishalbalaji321 avatar ronak0310 avatar

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.