Computer Vision course

Vehicle counting, classification and detection with YOLOv5

Detecting the vehicles in road video, classifying them as heavy or light motor vehicles, and counting how many pass.

  • CourseComputer Vision, Ain Shams University
  • ModelYOLOv5
  • ClassesHeavy (HMV) and light (LMV) motor vehicles

Overview

This project was part of the Computer Vision course at the Faculty of Engineering, Ain Shams University. We applied computer vision techniques to classify the vehicles on a road into two classes, heavy motor vehicles (HMV) and light motor vehicles (LMV), and to count the vehicles that travel along it.

Highway video frame with vehicles boxed and labelled HMV or LMV, and a running count
Detection, classification and counting on a highway video.

Video

One of our test runs.

Implementation details are available on request.