Theft Vehicle Detection Using Automatic License: Plate Recognition
Theft Vehicle Detection Using Automatic License: Plate Recognition
Theft Vehicle Detection Using Automatic License: Plate Recognition
ISSN: 2278-0181
NCREIS - 2021 Conference Proceedings
Soumya K S
Assistant Professor (CSE), College of Engineering Perumon
APJ Abdul Kalam Technological University
Kerala, India
Abstract— A large number of automobiles causes a database. Typically, the identification system will be put at
variety of issues and disruptions in daily life. Vehicles the residential area's gate, factory entrances, parking
contribute to traffic congestion on the road and vehicle theft spaces, toll gates, university entrances, or other high-
in parking lots. Vehicle and transportation management is a security buildings like defence institutes and nuclear power
time-consuming and laborious undertaking. If everything is
done by hand, there will be a lot of mistakes and challenges.
plants. Camera reflects the presence of a vehicle. It takes a
As a result, it is important to design an automatic recognition picture of the car that will be utilised in future processing.
and detection system for vehicle number plates. This paper A vehicle registration plate is a plate that is normally
sheds some light on the issue at hand. With the YOLO V3 attached to the front or back of a vehicle and is composed
algorithm and Canny Edge Detection, the recognition system of either metal or plastic. Numbers and alphabetical letters
will automatically recognize the front number plate of make up the vehicle plate number. The car's initial two
automobiles. Following the detection of a license plate, the letters serve as the state location prefix, followed by two
following actions are taken: 1.To take a picture of the license number digits that represent the district to which the
plate. 2. To recognize and segment characters. 3. A graphical vehicle belongs. Number plate format of Indian vehicles
user interface displays the recognized license plate, which is
then saved in a database with the time and date for later use.
are LLNN LLNNNN where L is letter and N is the number.
4. If a stolen vehicle is discovered, a notification stating that Section II covers the extensive survey on the Literature.
matches have been found is displayed, and a full report Section III describes the methodology of implementing the
containing the vehicle and the time it appears is generated. . detection of theft vehicles using Automatic License Plate
The technology can be utilized for security and accuracy Recognition. Followed by the result of the implementation
purposes. The license plate number is displayed on the in Section IV. Finally the report is wrapped up with
graphical user interface and saved in a database with the time conclusion in Section V and the list of referenced papers as
and date for later use. Section VI.
Keywords—Automatic License Plate Recognition; Theft
Detection; Character Recognition; Canny Edge Detection;
II. LITERATURE SURVEY
YOLO V3 Algorithm.
I. INTRODUCTION A. The Recognition And Detection System For Theft
In today's world, the number of vehicles is rapidly Vehicle By Number Plates
expanding. It is important to get from one location to The system detect and recognize license number
another within a certain amount of time. We can see that of captured front view image of any vehicle by camera. It
there are a lot of vehicles around us. Vehicles are required contains main three processes: plate extraction, character
by everyone for various purposes. Vehicles have increased detection and character recognition. The stolen vehicle is
dramatically in population proportion over the last two detected by comparing it with database of stolen vehicle
decades. However, it causes problems and difficulties in provided by the police station. Afterword, it rings an alarm
human life. It leads to issues such as heavy traffic, loud and sends a SMS to the police station. It can be used in
noise, and criminal activity such as vehicle theft and many security purposes like speed detection, detection of
accidents, among other things. As a result, vehicle traffic violation, toll collection, parking system. It can also
management and administration are critical to avoiding the beneficial to secure areas like the gate of residential area,
aforementioned societal issues. As a result, several efforts factory gates, parking space, toll plazas, university entrance
are being made to improve the challenges in vehicle or other high-secured building such as defense institutes
transportation. Vehicle Plate Recognition System is the and nuclear factories. Block diagram of entire system is
most appealing study topic to the most recent researcher. A shown in Fig 2.1
VPR system is a vehicle tracking system that identifies the
vehicle so that it may be tracked down using an existing
implemented artificially by using machines as shown in fig into four subsections, one for each of the ALPR stages (i.e.,
2.4 vehicle and LP detection, character segmentation and
character recognition) and one for temporal redundancy.
Fig.3.1 illustrates the ALPR pipeline. We use specific
CNNs for each ALPR stage. Thus, we can tune the
parameters separately in order to improve the performance
for each task. The models used are: Dark Flow, YOLO V3,
NumPy, Tensor Flow, OpenCV and Keras.
III . METHODOLOGY Plate Detection is done in 2 stages using YOLO model and
Automatic License Plate Recognition (ALPR) has been a OpenCV functions. First Crop function use best prediction
frequent topic of research due to many practical from YOLO model and return the license plate. Second
applications. However, many of the current solutions are Crop Function use OpenCV functions to crop a little more
still not robust in real-world situations, commonly of the plate to avoid noise in the background.
depending on many constraints. This paper presents a
robust and efficient ALPR system based on the state-of-
the-art YOLO object detector. The Convolutional Neural
Networks (CNNs) are trained and fine-tuned for each
ALPR stage so that they are robust under different
conditions (e.g., variations in camera, lighting, and
background).
Specially for character segmentation and recognition, we
design a two-stage approach employing simple data Fig.6: Sample dataset image
augmentation tricks such as inverted License Plates (LPs)
and flipped characters. The proposed approach is divided
B. Character Segmentation The recognized plate is compared with the number given
Thresholding method is used to convert the grey scale as input. A GUI is created where the wanted number is
image given as input. An error message will be displayed to enter
to monochrome. This method reduces the complexity of the number if number is not given as input. Only after
captured image (input). Once the LP has been detected, we entering the number can then the video be uploaded.
employ the CNN for character segmentation and
recognition. However, instead of performing both stages at IV. RESULT
the same time through an architecture with 35 classes (0-9, We have used number of photos of cars by using
A-Z, where the letter O is detected jointly with the digit 0), pre-trained models. A number of images of number plates
we chose to first use a network to segment the characters were used to correctly recognize plates. GUI was created in
and then another two to recognize them. The character which the vehicle ID i.e., number plate is given as input
segmentation CNN is trained using the LP patch (with a along with which a video is uploaded for detection. Only
margin) and the characters coordinates as inputs. As in the after entering the number can then the video be uploaded.
previous stage, this margin is defined based on the An error message will be displayed else to enter the
validation set to ensure that all characters are completely required number. The speed of the working depends on the
within its predicted LP. YOLO model trained with images hardware of the system. A system with good hardware can
of license plates where characters have been annotated. help in the smooth working of the model. The model is
There is only one label character around 14000 characters. trained to work with more accuracy compared to previous
OpenCV is used for image processing such as image models.
cropping etc.
C. Character Recognition
It is employed for the purpose of conversion of images
of
text into characters. For Character recognition trained a
convolutional neural network with Tensorflow and Keras
libraries. Tensor flow is an End-to-end open-source
platform for machine learning. Comprehensive, flexible Fig.11: Error message to enter number
ecosystem of tools, libraries and community resources that
let researchers push the state-of-the-art in machine learning V. CONCLUSION
and developers easily build and deploy machine learning Our proposed model is aimed to perform at higher
powered applications. There are 35 classes (10 for numbers accuracy than pre-existing models. YOLO Model and
and 25 for alphabet without “O”). Approximately 1000 OpenCV are used for more accuracy. Vehicles can be
images used for each classes. identified automatically rather than manual ways prevailing
today. Alert messages are sent immediately to the
authorities. Manipulating traffic signals to help recover the
wanted vehicles can be done with a few future
enhancements. The proposed system of Automatic Vehicle
License Plate Recognition can be implemented using above
discussed method which involves fundamental Image
processing steps. We can detect and recognize license
number from a captured front view image of any vehicle
from camera. It contains main three processes: plate
detection, character segmentation and character
recognition. Pre-trained models such as darkflow, keras and
Fig’8: Recognition - Data Set Sample. numpy are used. Further we can detect stolen vehicle by
REFERENCES
[1] Christos Nikolaos E Vassili Loumos, Anagnostopoulos, Ioannis
E. Anagnostopoulos, ,and Eleftherios Kayafas A License Plate
Recognition. Algorithm for Intelligent Transportation System
Applications IEEE transaction on Intelligent Transportation
System, Vol. 8, No. 3, Sept 2006
[2] ChoudhuryA .Rahman, Wael Badawy,AhmadRadmanesh A Real
Time Vehicles License PlateRecognition System Proceedings of
the IEEE Conferenceon Advanced Video and Signal Based
Surveillance,0-7695-1971.June 2010
[3] Banshidhar Majhi Heuristics for license plate localizationand
hardware implementation of Automatic License
PlateRecognition (ALPR) systemDepartment of Computer
Science and Engg, National Institute of TechnologyRourkela,
2012
[4] Weiping Chang1 and ChingweiSu Design and Deployment of a
National Detecting Stolen Vehicles Network System by 2012 Feb
[5] Cheng-Hung Lin1, Yong-Sin Lin1, and Wei-Chen Liu An
Efficient License Plate Recognition System Using Convolution
Neural NetworksProceedings of IEEE International Conference
on Applied System Innovation 2018
[6] Sham Madhukar Lomte, Hajiali Sayyed The Detection and
Recognition System for Theft Vehicle by Number Plates
International Journal of Science and Research 2015
[7] Hendry, Rung-Ching ChenAutomatic License Plate Recognition
via sliding-window darknet-YOLOdeep learningDepartment of
Information Management, Chaoyang University of Technology,
Taichung, Taiwan Elsevier May 2019