Skip to content

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

Notifications You must be signed in to change notification settings

vinay-kodam/Traffic_Camera_Tracking

 
 

Repository files navigation

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.

For further updates on the project, follow this notion page: https://www.notion.so/Project-Traffic-Camera-tracking-15a9bb984c1341369ad40562610dc83f

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: pascal.brunner@carissma.eu
  • 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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.9%
  • Jupyter Notebook 5.7%
  • Other 1.4%