Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.

Computer Vision program to analyse roads and detect multiple objects using YoloV5

Notifications You must be signed in to change notification settings

5g-mobility/computer-vision

Repository files navigation

Computer-Vision

Multiple object tracking and detection for cameras in Ria Ativa and Praia da Barra using Yolo.

This project includes features like:

  • Detection of vehicles ( car, truck, motorcycle)
  • Detection of person and bicycles in bike lains
  • Detection of stopped objects
  • Detection of vehicles outside the road
  • Detection of animals and strange objects

The events of detections are send to a celery task through RabbitMq Broker that will process the data and save it in the database.

How to install

Make sure you are running Python 3.8 or higher

  1. Create a virtual environment (venv)
python3 -m venv venv
  1. Activate the virtual environment (you need to repeat this step, and this step only, every time you start a new terminal/session):
source venv/bin/activate
  1. Install the game requirements:
pip install -r requirements.txt

How to run the application

Before start the application is necessary have to run the instances of:

  • RabbitMq
  • CeleryTasks
  • MongoDB
  • Redis

Run detection for camera in Ria Ativa

python3 -m main.py --cam riaAtiva

Run detection for camera Praia da Barra

python3 -m main.py --cam ponteBarra