Skip to content

victor-nasc/Vehicle-Counting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vehicle Counting in videos

This repository is the official implementation of Combining YOLO and Visual Rhythm for Vehicle Counting paper

Authors: Victor Nascimento Ribeiro and Nina S. T. Hirata

Link to the paper: https://doi.org/10.5753/sibgrapi.est.2023.27473

Alt Text


Description

This work presents an alternative and more efficient method for counting vehicles in videos using Deep Learning and Computer Vision techniques.

Conducted at the University of São Paulo - USP under the guidance of Prof. Nina S. T. Hirata.

We developed a system that combines YOLO, for vehicle detection, with Visual Rhythm (VR), a way to create time-spatial images. This integration enhances the system's efficiency by approximately 3 times when compared with conventional methods while maintaining similar accuracy.


Data flow in the VR–based video counting vehicles


Events

The work participated in:

  • SIBGRAPI – Conference on Graphics Patterns and Images, within the Workshop of Undergraduate Works (WUW). It is an annual academic conference held in Brazil that focuses on computer graphics, image processing, computer vision, and related fields. This work recieved Honorable Mention in the WUW (Workshop of Undergraduate Works) Track
  • SIICUSPSimpósio Internacional de Iniciação Científica e Tecnológica da USP (International Symposium on Scientific and Technological Initiation at USP). The event provides a platform for undergraduate students to present their scientific and technological research projects.

Usage

This codebase is written for python3

# Clone this repository
git clone https://github.com/victor-nasc/Vehicle-Counting.git

# Install dependencies
pip install -r requirements.txt

# Run the program
python3 count.py --OPTIONS

# --OPTIONS
#    --line: Line position                           [default: 600]
#    --interval: Interval between VR images (frames) [default: 900]
#    --save-VR: Enable saving VR images              [default: False]
#    --save-vehicle: Enable saving vehicle images    [default: False]
#    
#    The video path is prompted during execution.

Citation

If you find the code useful in your research, please consider citing our paper:

@inproceedings{sibgrapi_estendido,
 author = {Victor Ribeiro and Nina Hirata},
 title = {Combining YOLO and Visual Rhythm for Vehicle Counting},
 booktitle = {Anais Estendidos do XXXVI Conference on Graphics, Patterns and Images},
 location = {Rio Grande/RS},
 year = {2023},
 keywords = {},
 issn = {0000-0000},
 pages = {164--167},
 publisher = {SBC},
 address = {Porto Alegre, RS, Brasil},
 url = {https://sol.sbc.org.br/index.php/sibgrapi_estendido/article/view/27473}
}

About

Research paper "Combining YOLO and Visual Rhythm for Vehicle Counting"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages