Machine Learning
1. Video and Image Recognition for ALPR(Automatic License Plate Recognition)
for Trucks
Automatic License Plate Recognition (ALPR) or ANPR is the technology responsible for reading the
License plates of a truck in an image or a video sequence using optical character recognition. With
the latest advancement in Deep Learning and Computer Vision, these tasks can be done in a matter
of milliseconds.
ALPR is one of the widely used computer vision applications. It makes use of various methods like
object detection, OCR, segmentation, etc. For hardware, the ALPR system only requires a camera
and a good GPU.
Detection: Firstly, an image or a frame of the video sequence is passed to the detection algorithm
from a camera or an already stored file, which detects the license plate and returns the bounding
box location of that plate.
Recognition: The OCR is applied to the detected license plate for recognizing the characters of the
plate and returns the characters in the same order in text format. The output will be stored in a
database.
1.Detection using YOLOv4
The detection process can be done using any detector whether it’s a region-based detector or a
single shot detector. This project will focus on one such single shot detector known as YOLOv4,
mainly because of its good speed and accuracy tradeoff and ability to detect small objects better.
YOLOv4 will be implemented using the darknet framework.
Dataset to be used for Training and Testing:
https://drive.google.com/drive/folders/1DghyfRyo3Rdl0lxBwkevsBjKIjJ_5NrX
2. OCR for Text Recogntion with Paddle OCR
Text recognition is the process of recognizing text from a scenario by understanding and analyzing its
underlying patterns. It is also known as optical character recognition or OCR. It can also be used in
various applications like document reading, information retrieval, product identification from
shelves, and many more. OCR can either be trained or used as a pre-trained model. In this article, a
pre-trained model of OCR will be used.
One such framework or toolkit for OCR is PaddleOCR. PaddleOCR offers users multilingual practical
OCR tools that help the users to apply and train different models in a few lines of code. PaddleOCR
offers a lot of models in its toolkit, including PP-OCR, a series of high-quality pre-trained OCR, the
latest algorithms such as SRN, and popular OCR algorithms like CRNN.
3. Detection for Video using Tracker
When running ALPR on a video, it causes some issues which makes the ALPR less accurate, as
discussed earlier. But if the tracker is used, these issues can be rectified. Tracker is generally
used for the following reasons:
Working when object detection fails
Assigning ids
Tracking paths
All of the problems the ALPR is facing, tracker is only used because of these problems. The tracker
will be used for getting the best OCR result of a particular detected license plate.
After the tracker is implemented, it will return the coordinates of the bounding box and ids along
with it OCR will be applied to every bounding box and the output will be stored along with id. To
reduce the problem of fluctuation of OCR output, all the bounding boxes of the same ids will be
collected till the current frame and the bounding box with the highest OCR confidence will be kept
and displayed for that id.
Final Result
2. Coal Production Predicition
Get the data about All India data on production of coal like coking, non coking and coal derivatives and
coal bi-products like hard coke, washed coke etc and try to predict the coal needed to be produced and
transported in the coming or currrent year.
Dataset and API: https://data.gov.in/resource/production-coal-coal-derivatives-and-coal-products