SumanthAppala / Vehicle_Identification_System

1 stars 0 forks source link

Vehicle Identification System

Overview:

This project delves into using Object Detection, Image Classification and OCR to build a vehicle identification system.

First we detect and track cars from an image using object detection. Then run image classification on the detected cars to identify their brands (Mercedes, Ferrari, Ford, etc). Next, we once again run object detection on the image to detect licence plates. After this, we run OCR on the detected licence plates to record the licence plate numbers of each car. Finally all of this is wrapped in a streamlit UI, which is used to accept an image as the input and displays the output image with annotations and data.

Frameworks used:

YOLOv8:

CLIP:

EasyOCR:

Streamlit:

alt text

Getting Started:

Step 0:

Step 1:

Note:

In the inference code, we use a 'SingletonMeta' type class. This ensures that only one instance of the class is created, no matter how many times it's called upon. This pattern can significantly reduce loading time as the initialization happens only once.

Important files/locations:

Results:

alt text alt text