SlideShare a Scribd company logo
1 of 3
Download to read offline
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 02 | Feb 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 565
Real-Time Automated Overspeeding Detection and Identification System
Lakshitaa Sehgal1, Anshal Aggarwal2, Sarthak Sood3, Aryan Aggarwal4
1University Institute of Engineering and Technology Chandigarh, Panjab University, Chandigarh, India
2University Institute of Engineering and Technology Chandigarh, Panjab University, Chandigarh, India
3National Institute of Technology, Kurukshetra, India
4Chitkara University, Punjab, India
---------------------------------------------------------------------***----------------------------------------------------------------------
Abstract - In today’s world, overspeeding is a big issue and
causes a great number of road accidents. A lot of people get
severely injured and some also lose their lives due to this. So
it becomes essential for traffic police authorities to prevent
it and keep a strict check on people who break permissive
speed limits. So, an automated system is necessary which
detects whether a car is speeding or not. This paper
proposes a real-time automated over speeding detection
and Identification system which checks whether a car is
overspeeding or not using OpenCV and Python. By using
YOLOv3 for object detection, the vehicle number can then be
determined if the vehicle is overspeeding. Then using Optical
Character Recognition (OCR), the text extracted is passed
through the government database system to retrieve
information about the owner.
Key Words: Speed detection, OpenCV, Python, Object
Detection, Person Identification
1. INTRODUCTION
In recent times, where road accidents are increasing day
by day, it has become important to cater to them and keep
a strict check to reduce them immensely. Overspeeding
constitutes approximately 60% of road accidents (as per
2020 reports). Other dangers associated with
overspeeding is that it reduces the effectiveness of airbags,
seat belts and other safety equipment. It can pose a life
threat to pedestrians also.
To check for this, this paper proposes an end-to-end
system using the Cascade Classifier[1] to capture vehicles
on the road and then using OpenCV[2] and Python to
detect their speeds. Using YOLOv3[3], if it is determined
that the vehicle is overspeeding, a license plate detection
is done, which is then converted into text using Optical
Character Recognition (OCR)[4], and this text is passed to
the government database for identification of the vehicle
owner.
2. PROPOSED SYSTEM
This section represents the fully automated and end-to-
end proposed system for overspeeding detection and
Identification.
2.1 SYSTEM SETUP
Fig -1: System Setup
The Raspberry Pi 4[5] and a CCTV camera with NVR for IP
cameras and DVR for analogue cameras or webcam with
attached system memory are used to capture real-time
videos of vehicles on the road. Along with it, an additional
HC-05 Bluetooth Module is used. The hardware system
setting allows for the capture of real-time videos of
vehicles, which are then passed for speed estimation.
2.2 VEHICLE DETECTION
To detect vehicles, the CascadeClassifier function[1] is
used. It's a machine-learning approach in which a cascade
function is trained using a large number of positive and
negative photos. After that, it's used to find items in other
photos. Along with this, a pre-trained XML file
(vech.xml)[6] is used. In this case, multiple objects, such as
cars, need to be identified at the same time, so
detectMultiScale is also used.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 02 | Feb 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 566
Fig -2: Vehicle Detection
2.3. SPEED ESTIMATION AND DETECTION
For speed detection, OpenCV[2] and Python are used. The
basic approach for detecting is to locate two points on the
road and calculate the distance between them. Time is
estimated by calculating the time taken by a vehicle to
cover the distance between those two demarcated points.
Speed is then calculated by applying the distance-time
formula as illustrated below.
Let (x1, y1) and (x2, y2) be the two points where (x₂, y₂)
and (x₁,y₁) represents the current frame’s and previous
frame’s centroid of the vehicle respectively.
Time taken by vehicle to cover distance between two
points = T seconds
Distance in pixels = √[(x₂ - x₁)² + (y₂ - y₁)²]
Speed = Distance/Time
Speed = √[(x₂ - x₁)² + (y₂ - y₁)²] / T
Here, distance is measured in kilometers
Time is measured in hours
So, speed is detected in kilometers/hours
Fig -3: Speed Detection using OpenCV and Python
The above model is tested on some random videos
available online for speed detection and optimum results
have been obtained from this model.
If the vehicle is found overspeeding, then the license plate
of the vehicle is detected.
2.4 LICENSE PLATE OBJECT DETECTION
If a vehicle is found to be overspeeding, an object
detection system records the vehicle's license plate. Here
is YOLOv3 (You Only Look Once, Version 3)[3]. Video, live
feeds, and images can all be analyzed by a real-time object
detection algorithm called YOLOv3[3]. It uses features
learned by a deep convolutional neural network to detect
an object.
The model using YOLOv3[3] for object detection is trained
and tested on the Car Number Plate Detection dataset[7]
which consists of 931 car images and gives the best
accuracy of approximately 85.4%
Fig -3: Before Object Detection
Fig -4: After Object Detection
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 02 | Feb 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 567
Fig -5: Before Object Detection
Fig -6: After Object Detection
2.5 OPTICAL CHARACTER RECOGNITION (OCR)
To convert the identified object into text, we use
pytesseract OCR[4] library in python. Tesseract searches
pixels, letters, phrases, and sentences for templates. It
employs a two-step process known as adaptive
recognition. It requires one data step for character
identification, followed by a second stage to fill in any
missing letters with letters that match the word or phrase
context.
Fig -7: Image to Text Conversion
Fig -8: Image to Text Conversion
After the text conversion, the text is passed through the
government database and identification of the car owner
can be identified from the registered car license plate.
3. CONCLUSION
A robust end-to-end Real-Time Automated Overspeeding
Detection and Identification System has been proposed
here which can be used in the future to keep strict on
overspeeding vehicles. This proposed system is more cost-
efficient as no expensive speed guns, heavy speed
detection devices or extra traffic police staff are required
to manually detect speed. This is an end-to-end automated
speed detection and identification system.
REFERENCES
[1] Soo, Sander. “Object detection using Haar-cascade
Classifier.” (2014).
[2] I. Culjak, D. Abram, T. Pribanic, H. Dzapo and M.
Cifrek,”A brief introduction to OpenCV,” 2012
Proceedings of the 35th International Convention
MIPRO, 2012, pp. 1725-1730.
[3] https://arxiv.org/abs/1804.02767
[4] Sargur N. Srihari, Ajay Shekhawat, and Stephen W.
Lam. 2003. Optical character recognition (OCR).
Encyclopedia of Computer Science. John Wiley and
Sons Ltd., GBR, 1326–1333
[5] Maksimovic, Mirjana & Vujovic, Vladimir & Davidovi´c,
Nikola & Milosevic, Vladimir & Perisic, Branko. (2014).
Raspberry Pi as Internet of Things hardware:
Performances and Constraints.
[6] https://docs.cryengine.com/display/CEMANUAL/Veh
icle+XML+Reference
[7] https://www.kaggle.com/elysian01/car-number-
plate-detection

More Related Content

Similar to Real-Time Automated Overspeeding Detection and Identification System

Vehicle Speed Estimation using Haar Classifier Algorithm
Vehicle Speed Estimation using Haar Classifier AlgorithmVehicle Speed Estimation using Haar Classifier Algorithm
Vehicle Speed Estimation using Haar Classifier Algorithm
ijtsrd
 
Application of improved you only look once model in road traffic monitoring ...
Application of improved you only look once model in road  traffic monitoring ...Application of improved you only look once model in road  traffic monitoring ...
Application of improved you only look once model in road traffic monitoring ...
IJECEIAES
 

Similar to Real-Time Automated Overspeeding Detection and Identification System (20)

ROAD POTHOLE DETECTION USING YOLOV4 DARKNET
ROAD POTHOLE DETECTION USING YOLOV4 DARKNETROAD POTHOLE DETECTION USING YOLOV4 DARKNET
ROAD POTHOLE DETECTION USING YOLOV4 DARKNET
 
Traffic Monitoring Using Visual Big Data Analytics in Smart Cities
Traffic Monitoring Using Visual Big Data Analytics in Smart CitiesTraffic Monitoring Using Visual Big Data Analytics in Smart Cities
Traffic Monitoring Using Visual Big Data Analytics in Smart Cities
 
Vehicle Speed Estimation using Haar Classifier Algorithm
Vehicle Speed Estimation using Haar Classifier AlgorithmVehicle Speed Estimation using Haar Classifier Algorithm
Vehicle Speed Estimation using Haar Classifier Algorithm
 
TRAFFIC RULES VIOLATION DETECTION SYSTEM
TRAFFIC RULES VIOLATION DETECTION SYSTEMTRAFFIC RULES VIOLATION DETECTION SYSTEM
TRAFFIC RULES VIOLATION DETECTION SYSTEM
 
IRJET- Number Plate Extraction from Vehicle Front View Image using Image ...
IRJET-  	  Number Plate Extraction from Vehicle Front View Image using Image ...IRJET-  	  Number Plate Extraction from Vehicle Front View Image using Image ...
IRJET- Number Plate Extraction from Vehicle Front View Image using Image ...
 
Vehicle Related Prevention Techniques: Pothole/Speedbreaker Detection and Ant...
Vehicle Related Prevention Techniques: Pothole/Speedbreaker Detection and Ant...Vehicle Related Prevention Techniques: Pothole/Speedbreaker Detection and Ant...
Vehicle Related Prevention Techniques: Pothole/Speedbreaker Detection and Ant...
 
Vision-Based Motorcycle Crash Detection and Reporting Using Deep Learning
Vision-Based Motorcycle Crash Detection and Reporting Using Deep LearningVision-Based Motorcycle Crash Detection and Reporting Using Deep Learning
Vision-Based Motorcycle Crash Detection and Reporting Using Deep Learning
 
IRJET - Efficient Approach for Number Plaque Accreditation System using W...
IRJET -  	  Efficient Approach for Number Plaque Accreditation System using W...IRJET -  	  Efficient Approach for Number Plaque Accreditation System using W...
IRJET - Efficient Approach for Number Plaque Accreditation System using W...
 
IRJET- Traffic Sign Detection, Recognition and Notification System using ...
IRJET-  	  Traffic Sign Detection, Recognition and Notification System using ...IRJET-  	  Traffic Sign Detection, Recognition and Notification System using ...
IRJET- Traffic Sign Detection, Recognition and Notification System using ...
 
IRJET- Self Driving Car using Deep Q-Learning
IRJET-  	  Self Driving Car using Deep Q-LearningIRJET-  	  Self Driving Car using Deep Q-Learning
IRJET- Self Driving Car using Deep Q-Learning
 
HELMET DETECTION USING ARTIFICIAL INTELLIGENCE
HELMET DETECTION USING ARTIFICIAL INTELLIGENCEHELMET DETECTION USING ARTIFICIAL INTELLIGENCE
HELMET DETECTION USING ARTIFICIAL INTELLIGENCE
 
Traffic Management using IoT and Deep Learning Techniques: A Literature Survey
Traffic Management using IoT and Deep Learning Techniques: A Literature SurveyTraffic Management using IoT and Deep Learning Techniques: A Literature Survey
Traffic Management using IoT and Deep Learning Techniques: A Literature Survey
 
Application of improved you only look once model in road traffic monitoring ...
Application of improved you only look once model in road  traffic monitoring ...Application of improved you only look once model in road  traffic monitoring ...
Application of improved you only look once model in road traffic monitoring ...
 
IRJET- Intelligent Queue Management System at Airports using Image Processing...
IRJET- Intelligent Queue Management System at Airports using Image Processing...IRJET- Intelligent Queue Management System at Airports using Image Processing...
IRJET- Intelligent Queue Management System at Airports using Image Processing...
 
IRJET - Unmanned Traffic Signal Monitoring System
IRJET - Unmanned Traffic Signal Monitoring SystemIRJET - Unmanned Traffic Signal Monitoring System
IRJET - Unmanned Traffic Signal Monitoring System
 
Self Driving Car
Self Driving CarSelf Driving Car
Self Driving Car
 
POTHOLE DETECTION SYSTEM USING YOLO v4 ALGORITHM
POTHOLE DETECTION SYSTEM USING YOLO v4 ALGORITHMPOTHOLE DETECTION SYSTEM USING YOLO v4 ALGORITHM
POTHOLE DETECTION SYSTEM USING YOLO v4 ALGORITHM
 
Traffic Management system using Deep Learning
Traffic Management system using Deep LearningTraffic Management system using Deep Learning
Traffic Management system using Deep Learning
 
Object Detection for Autonomous Driving
Object Detection for Autonomous DrivingObject Detection for Autonomous Driving
Object Detection for Autonomous Driving
 
LICENSE PLATE RECOGNITION
LICENSE PLATE RECOGNITIONLICENSE PLATE RECOGNITION
LICENSE PLATE RECOGNITION
 

More from IRJET Journal

More from IRJET Journal (20)

TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
 
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURESTUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
 
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
 
Effect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil CharacteristicsEffect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil Characteristics
 
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
 
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
 
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
 
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
 
A REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADASA REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADAS
 
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
 
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD ProP.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
 
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
 
Survey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare SystemSurvey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare System
 
Review on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridgesReview on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridges
 
React based fullstack edtech web application
React based fullstack edtech web applicationReact based fullstack edtech web application
React based fullstack edtech web application
 
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
 
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
 
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
 
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic DesignMultistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
 
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
 

Recently uploaded

Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 

Recently uploaded (20)

FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 

Real-Time Automated Overspeeding Detection and Identification System

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 02 | Feb 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 565 Real-Time Automated Overspeeding Detection and Identification System Lakshitaa Sehgal1, Anshal Aggarwal2, Sarthak Sood3, Aryan Aggarwal4 1University Institute of Engineering and Technology Chandigarh, Panjab University, Chandigarh, India 2University Institute of Engineering and Technology Chandigarh, Panjab University, Chandigarh, India 3National Institute of Technology, Kurukshetra, India 4Chitkara University, Punjab, India ---------------------------------------------------------------------***---------------------------------------------------------------------- Abstract - In today’s world, overspeeding is a big issue and causes a great number of road accidents. A lot of people get severely injured and some also lose their lives due to this. So it becomes essential for traffic police authorities to prevent it and keep a strict check on people who break permissive speed limits. So, an automated system is necessary which detects whether a car is speeding or not. This paper proposes a real-time automated over speeding detection and Identification system which checks whether a car is overspeeding or not using OpenCV and Python. By using YOLOv3 for object detection, the vehicle number can then be determined if the vehicle is overspeeding. Then using Optical Character Recognition (OCR), the text extracted is passed through the government database system to retrieve information about the owner. Key Words: Speed detection, OpenCV, Python, Object Detection, Person Identification 1. INTRODUCTION In recent times, where road accidents are increasing day by day, it has become important to cater to them and keep a strict check to reduce them immensely. Overspeeding constitutes approximately 60% of road accidents (as per 2020 reports). Other dangers associated with overspeeding is that it reduces the effectiveness of airbags, seat belts and other safety equipment. It can pose a life threat to pedestrians also. To check for this, this paper proposes an end-to-end system using the Cascade Classifier[1] to capture vehicles on the road and then using OpenCV[2] and Python to detect their speeds. Using YOLOv3[3], if it is determined that the vehicle is overspeeding, a license plate detection is done, which is then converted into text using Optical Character Recognition (OCR)[4], and this text is passed to the government database for identification of the vehicle owner. 2. PROPOSED SYSTEM This section represents the fully automated and end-to- end proposed system for overspeeding detection and Identification. 2.1 SYSTEM SETUP Fig -1: System Setup The Raspberry Pi 4[5] and a CCTV camera with NVR for IP cameras and DVR for analogue cameras or webcam with attached system memory are used to capture real-time videos of vehicles on the road. Along with it, an additional HC-05 Bluetooth Module is used. The hardware system setting allows for the capture of real-time videos of vehicles, which are then passed for speed estimation. 2.2 VEHICLE DETECTION To detect vehicles, the CascadeClassifier function[1] is used. It's a machine-learning approach in which a cascade function is trained using a large number of positive and negative photos. After that, it's used to find items in other photos. Along with this, a pre-trained XML file (vech.xml)[6] is used. In this case, multiple objects, such as cars, need to be identified at the same time, so detectMultiScale is also used.
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 02 | Feb 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 566 Fig -2: Vehicle Detection 2.3. SPEED ESTIMATION AND DETECTION For speed detection, OpenCV[2] and Python are used. The basic approach for detecting is to locate two points on the road and calculate the distance between them. Time is estimated by calculating the time taken by a vehicle to cover the distance between those two demarcated points. Speed is then calculated by applying the distance-time formula as illustrated below. Let (x1, y1) and (x2, y2) be the two points where (x₂, y₂) and (x₁,y₁) represents the current frame’s and previous frame’s centroid of the vehicle respectively. Time taken by vehicle to cover distance between two points = T seconds Distance in pixels = √[(x₂ - x₁)² + (y₂ - y₁)²] Speed = Distance/Time Speed = √[(x₂ - x₁)² + (y₂ - y₁)²] / T Here, distance is measured in kilometers Time is measured in hours So, speed is detected in kilometers/hours Fig -3: Speed Detection using OpenCV and Python The above model is tested on some random videos available online for speed detection and optimum results have been obtained from this model. If the vehicle is found overspeeding, then the license plate of the vehicle is detected. 2.4 LICENSE PLATE OBJECT DETECTION If a vehicle is found to be overspeeding, an object detection system records the vehicle's license plate. Here is YOLOv3 (You Only Look Once, Version 3)[3]. Video, live feeds, and images can all be analyzed by a real-time object detection algorithm called YOLOv3[3]. It uses features learned by a deep convolutional neural network to detect an object. The model using YOLOv3[3] for object detection is trained and tested on the Car Number Plate Detection dataset[7] which consists of 931 car images and gives the best accuracy of approximately 85.4% Fig -3: Before Object Detection Fig -4: After Object Detection
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 02 | Feb 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 567 Fig -5: Before Object Detection Fig -6: After Object Detection 2.5 OPTICAL CHARACTER RECOGNITION (OCR) To convert the identified object into text, we use pytesseract OCR[4] library in python. Tesseract searches pixels, letters, phrases, and sentences for templates. It employs a two-step process known as adaptive recognition. It requires one data step for character identification, followed by a second stage to fill in any missing letters with letters that match the word or phrase context. Fig -7: Image to Text Conversion Fig -8: Image to Text Conversion After the text conversion, the text is passed through the government database and identification of the car owner can be identified from the registered car license plate. 3. CONCLUSION A robust end-to-end Real-Time Automated Overspeeding Detection and Identification System has been proposed here which can be used in the future to keep strict on overspeeding vehicles. This proposed system is more cost- efficient as no expensive speed guns, heavy speed detection devices or extra traffic police staff are required to manually detect speed. This is an end-to-end automated speed detection and identification system. REFERENCES [1] Soo, Sander. “Object detection using Haar-cascade Classifier.” (2014). [2] I. Culjak, D. Abram, T. Pribanic, H. Dzapo and M. Cifrek,”A brief introduction to OpenCV,” 2012 Proceedings of the 35th International Convention MIPRO, 2012, pp. 1725-1730. [3] https://arxiv.org/abs/1804.02767 [4] Sargur N. Srihari, Ajay Shekhawat, and Stephen W. Lam. 2003. Optical character recognition (OCR). Encyclopedia of Computer Science. John Wiley and Sons Ltd., GBR, 1326–1333 [5] Maksimovic, Mirjana & Vujovic, Vladimir & Davidovi´c, Nikola & Milosevic, Vladimir & Perisic, Branko. (2014). Raspberry Pi as Internet of Things hardware: Performances and Constraints. [6] https://docs.cryengine.com/display/CEMANUAL/Veh icle+XML+Reference [7] https://www.kaggle.com/elysian01/car-number- plate-detection