velotrack

VeloTrack is a Vehicle Speed Analysis System designed to estimate vehicle speeds from CCTV footage.

https://github.com/ishmamt/velotrack

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: scholar.google
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

VeloTrack is a Vehicle Speed Analysis System designed to estimate vehicle speeds from CCTV footage.

Basic Info
  • Host: GitHub
  • Owner: ishmamt
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 37.7 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created about 4 years ago · Last pushed over 1 year ago
Metadata Files
Readme Citation

README.md

# VeloTrack: A Vehicle Speed Analysis System

Ishmam Tashdeed* · Md Taukir Azam Chowdhury*

[![arXiv](https://img.shields.io/badge/Code-ishmamt/VeloTrack-blue?logo=GitHub)](https://github.com/ishmamt/VeloTrack/)

VeloTrack is a vehicle speed analysis system designed to estimate vehicle speeds from CCTV footage. This repository contains the tools and code necessary to process video, detect vehicles, track their movement, and calculate their speed. The system also aims to document relevant details about the vehicles observed, providing a comprehensive analysis of traffic flow and potential speed violations.

Overview of VeloTrack Framework

framework

The different features of VeloTrack – - Detecting Vehicles: Can detect multiple types of vehicles in a cluttered environment - Vehicle Tracking: Tracks each instance of a vehicle, assigning a unique identifier to them - Predicting Vehicle Speed: Finds vehicle speed from the captured frames and detection and tracking results - Producing Comprehensive Report: Logs each entry and creates a comprehensive report

Input and Output of the Framework

The system takes a CCTV video footage such as:

Image 2

And produces two outputs: - Cropped frames containing a vehicle along with it's unique identifier - Comprehensive report containing the speed of each vehicle

Image 1

Image 2

Installation

This repository is tested on Python 3.8. Create a virtual environment to install all the dependencies.

  1. To install torch visit the PyTorch website and follow the instructions.
  2. Install requirements.txt file running the command:

    pip install -r requirements_cuda.txt

Video Folder

⚠️ Ensure that you have the video in the Data folder. ⚠️

Setting Road Parameters

The following parameters must be set in main.py from the input video before executing the program- - Add the ROI (Region of Interest) co-ordinates to further optimize the system - Add the co-ordinates for the entry, exit, and deletion areas from the CCTV footage - Add the distance between the entry and exit areas

Execution

To run the framework, execute the following command: python main.py

Results

The resulting .csv file contains each vehicle's identifier, timestamp, and speed.

Acknowledgement

The vehicle detection framework uses components from YOLOv5 and the vehicle tracking framework uses components from DeepSort

Citation

@misc{Tashdeed_VeloTrack_2023, author = {Tashdeed, Ishmam and Chowdhury, Md Taukir Azam}, title = {{VeloTrack: A Vehicle Speed Analysis System}}, version = {1.1}, year = {2023}, publisher = {GitHub}, journal = {GitHub repository}, url = {https://github.com/ishmamt/VeloTrack} howpublished = {\url{https://github.com/ishmamt/VeloTrack}} }

Owner

  • Name: Ishmam Tashdeed
  • Login: ishmamt
  • Kind: user
  • Location: Dhaka

CS @ IUT

Citation (citation.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Tashdeed
    given-names: Ishmam
    website: https://ishmamt.github.io
  - family-names: Chowdhury
    given-names: Md Taukir Azam
    scholar: https://scholar.google.com/citations?user=t3ZFXwsAAAAJ&hl=en
title: "VeloTrack: A Vehicle Speed Analysis System"
version: 1.1
identifiers:
  - type: url
    value: 'https://github.com/ishmamt/VeloTrack'
date-released: 2023-03-11

GitHub Events

Total
  • Watch event: 1
  • Push event: 5
  • Fork event: 1
Last Year
  • Watch event: 1
  • Push event: 5
  • Fork event: 1