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
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.
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
- SIICUSP – Simpó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.
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.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}
}

