SlideShare a Scribd company logo
1 of 5
Download to read offline
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 3838
INTELLIGENT HELMET DETECTION USING OPENCV AND MACHINE
LEARNING
K S P V Siva Lalith#1, Mokirala Sudhamshu#2,Gunna Kamal Abhishek#3, Dr. T. Rama Swamy#4,
Dr. V.Jayaprakasan#5, Dr. G. Prasad Acharya#6
#1 UG student, ECE, Sreenidhi Institute of Science and Technology, Hyderabad, Telangana, India
#2 UG student, ECE, Sreenidhi Institute of Science and Technology, Hyderabad, Telangana, India
#3UG student, ECE, Sreenidhi Institute of Science and Technology, Hyderabad, Telangana, India
#4Associate Professor,Dept.of ECE,Sreenidhi institute of science and technology,Telangana,India
#5 Professor,Dept.of ECE,Sreenidhi institute of science and technology,Telangana,India
#6Associate Professor,Dept.of ECE,Sreenidhi institute of science and technology,Telangana,India
------------------------------------------------------------------------------***--------------------------------------------------------------------------------
Abstract—
In daily life, the role of a helmet is vital for motorists. The
human brain is an important organ, which is protected by
the skull. So the head is to be protected by a helmet, in case
of an accident. From our literature survey we found that in
India, the majority of motorists do not wear a helmet. This
negligence causes fatal injuries. We want to minimize this
risk. Our project uses ML and OPENCV tools for Helmet
Detection. In this project we use a camera module to detect
the face of the person. The preprocessed input is fed to the
Machine Learning model. This model processes it and
transports the output to Arduino, which ‘outputs’ the real-
time status of the helmet.
Keywords:- MachineLearning, OpenCV, Helmet Detection,
Arduino.
I. INTRODUCTION
This paper is about the detection of a helmet. Based on our
Literature survey we came to know that, an alarming
percentage of motorists lack common traffic knowledge
and also do not equip themselves with a helmet. This leads
to fatal injuries which could have been preventable. A
motorist helmet hence plays a vital role. Similarly the
usage of helmets has equal importance in the mines,
construction sites etc. The main theme of our project is to
minimize or eliminate the fatalities. This can be done by
detecting if a motorist is wearing a helmet or not. Since
this process is automated, it reduces the workload on
Traffic Police who otherwise would need to manually
capture the images of such motorists. In our project there
is a camera which captures the live-video of the person.
This video is pre processed frame by frame using OpenCV
tools. Each frame is of the resolution 1920x1080p. Further
it is fed to the data models which make use of YOLO
machine learning algorithm. The predefined data models
will process and generate the output, which provides the
real-time status of the helmet. A rectangular box encloses
the face of the motorist while providing the status- Helmet
or No_Helmet along with the percentage of confidence.
Next we make use of Arduino. The sensed output is given
to the Arduino. It is processed using PyFirmata software
equipped on the Arduino. PyFirmata is used to interface
with the Python source code and the Arduino code. For
easy monitoring, we configure the Arduino to generate an
output in the form of an LED status and Buzzer.. If the
input to the Arduino contains the presence of the helmet
then there is no sound generated by the buzzer and the
LED is off. Otherwise the buzzer generates a beep sound
and the LED starts glowing.
II. HARDWARE IMPLEMENTATION
To maximize the utilisation of the system a perfect
hardware is to be developed. Every component has many
functions. So, as implementers, we need to choose the best
and least components which produce our desired function.
The below are various components that are used by us.
A. Camera Module OV7670
Power is provided from 3.3V supply. It is a low price
image sensor. It is a DSP that can operate at a maximum
of 30 fps and 640 x 480 resolutions which is equivalent
to 0.3 Megapixels. Working Temperature is 0-50 Degree
Celsius and All Glass Lenses, Lens is made of
Magnesium Alloy material.y. An external oscillator
provides the source of the clock for the camera module.
In our design the camera continuously captures the
video. This video is important data that needs to be
analysed. Here video is given to the data model. So the
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 3839
camera is used for inputting the data to the machine
learning model.
ARDUINO UNO
It is based on the ATmega328p microcontroller board. It
has 14 digital pins which can be used as input or output
and among those 6 pins can be used for PWM outputs. It
also has 6 analog pins. A 16MHz Quartz crystal is used for
the clock. It has a USB connection, Reset button, ICSP
header, And Power jack. It operates with 5V supply. 2KB
SRAM, 1KB EEPROM, 32KB Flash memory available with
microcontroller. A built in Led connected to the 13th pin.
pinMode(), digitalWrite(), digitalRead() are the functions
to program the pins as input or output. Serial
communication is available from the SoftwareSerial
library. I2C and SPI communications are supported by the
ATmega328p microcontroller. Arduino supports the serial
monitor feature. In this mode serial communication can be
achieved.
B. Buzzer
DC voltage is used for powering the buzzer. In general
there are various types of buzzers available. Buzzer has
two pins as shown in the figure below.
Operating specifications of buzzer are as listed below.
Frequency:- 3Hz to 300 Hz.
Voltage:- 3V to 24 V (DC).
Temperature:- – 20° C to +60°C.
In general we can understand that buzzers are used for
alert. In our design also the purpose is similar. The
arduino sends the control signal to the buzzer. Based on
that signal the sound of the buzzer varies. Actually if there
is no helmet detected then the buzzer produces sound.
Else no sound from the buzzer.
C. LED
LED’s are Indicators. It is a 2 terminal semiconductor
device which emits light. The operation of the Led is quite
similar to the normal PN diode. That is it conducts in one
direction and does not allow current flow in reverse
direction. Symbol of LED is given under. Two terminals are
anode and cathode. In this design the output from arduino
makes LED ON/OFF. For our understanding LED On
implies Helmet absence and LED Off implies Helmet
presence.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 3840
III. SOFTWARE IMPLEMENTATION
A. TENSOR FLOW
It is a machine learning open source platform. The Google
Brain team developed the Tensorflow. It provides various
levels of abstraction, which helps to build a model easily. It
has a comprehensive, flexible ecosystem of tools, libraries
and community resources that lets researchers push the
state-of-the-art in ML and developers easily build and
deploy ML powered applications. Provides an easy way to
deploy and train models in the Cloud, Servers or devices.
Provides solutions to various ML problems like
recommendation systems for movies, classification of
images like clothes, handwritten text detection etc.
TensorFlow provides stable Python and C++ APIs, as well
as non-guaranteed backward compatible API for other
languages. It is powered by a vast forthcoming community
comprising students, developers etc, where you can
discuss your ideas and approach solutions to your
problems. You can install the Tensorflow package into
your system using the ‘pip’ package available to be used
from your Command Prompt.
B. OPEN CV
OpenCV Open Source Computer Vision Library. It is a
library of programming functions mainly aimed at real-
time computer vision. It was originally developed by Intel.
It is a huge Open Source cross-platform library for
machine learning, computer vision, and image processing.
The library has more than 2500 optimized algorithms,
which includes a comprehensive set of both classic and
state-of-the-art computer vision and machine learning
algorithms. It helps to process images, videos and identify
objects. OpenCV has a large community of more than 47
thousand users. OpenCV has many applications as listed
below:- Counting number of people, Face recognition,
Detecting speed of vehicles on the highways, Driver less
car controlling,Video/image search. In our project the
capturing and preprocessing of the live-video of the
motorist is done by the OpenCV tools.
C. DARKFLOW
DarkFlow is a python implementation of YOLOv2 using
Tensorflow. A framework is created either- YOLO or
YOLOv2. It is an amazing tool that can be used to start
detecting common objects in images or videos “out of the
box”. Next the anchor boxes are created, using cpython
which is where python can use C data types and call c
functions and API’s. If something is wrong with your data
or configuration DarkFlow halts the program and displays
an appropriate error message.
IV. DESIGN METHODOLOGY
1. Video Capturing
The input to our system is the real-time video
capturing of the motorist. This is captured at an
FPS rate of 6-12 FPS here. We can boost the FPS
by simply making the source code run on the GPU
rather than the CPU. Convenient background
lighting while capturing the video is appreciated.
The video capturing can be turned OFF by exiting
the system using the key ‘Q.’
2. PreProcessing and Feeding video to ML model
using OpenCV
The captured input is processed frame by frame.
This is done with the help of OpenCV tools. Firstly
we resize the frames into the required resolution
of 1920x1080p. Then the frame is fed as input to
the Neural network created using the TFNet
function available with Darkflow.
3. Video Processing using Machine Learning
The frames are processed using the YOLO You Only Look
Once algorithm. Initially we are required to download the
pre-trained weights for the Neural Network. The frame is
divided into equal sized ‘blocks.’ They are processed by
the Neural Network. It generates a 6x1 matrix weights
which defines the parameters required for the ‘object
localization’ here, ‘Helmet.’ The parameters include
‘bounding box’ dimensions i.e. object center coordinates,
box width,box height, probability of class i.e. ‘helmet’
detected etc. A bounding box is usually a rectangular box
surrounding the object detected. We can also show the
probability with which the object has been detected.
Thousands of similar images are to be used to train the
model to increase its efficiency. For this, COCO dataset is
used. It’s an open source dataset consisting of various
images of various objects like Helmet, animals, people,
vehicles etc. All such images are labelled and provided
with well-defined weights too.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 3841
4. Analysing ML output using Arduino
Visual data can be quickly understood and analyzed.
Hence we output the data i.e. 'helmet detected’ or not in
the form of real time video and also using an LED and
Buzzer to present the output. This is done by configuring
the Arduino. Here, Pyfirmata Python library is used for
giving input to Arduino. The Pyfirmata package can be
used to give access to the write and read pins of the
Arduino. Generally Arduino is to be synchronized. Based
on the input that the Arduino receives we will control
other pins' status.
Displaying output using Arduino
The basic displaying units are LEDs and Buzzer. Arduino
has various methods to control the working of pins.
pinMode function is used to set the particular pin as
output or input. The digitalWrite function is used to send a
particular voltage level on the pin. LED and Buzzer are two
terminal components. The cathode of the LED and the
negative pin of the buzzer are connected to the ground.
Anode of LED, positive terminal of the buzzer are
connected to digital pins of the Arduino. Based on the
input to the Arduino, the output is displayed. If the Helmet
is detected from the input given to the Arduino, then the
LED doesn’t glow and the Buzzer is silent. Else, if Helmet is
absent then LED glows and buzzer will give a beep sound.
V. RESULTS
Capturing Video
1. Output without Helmet
2. Output with Helmet
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072
© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 3842
3. Terminating the Video Capturing
VI. CONCLUSION
Wearing a helmet is of utmost importance to reduce
the number of fatal accidents and to reduce the impact
itself. Hence we approached the solution using the
Object Detection and Localization concept. For this we
captured the real-time video feed of the motorist and
fed it as input, frame by frame, to the Neural Network.
We used the YOLO algorithm to analyze the frame,
generate a weight matrix and to generate the ‘bounding
box’ over the Helmet. YOLO does this so by breaking
down the frame into equal sized blocks. Each block is
checked to detect the central coordinate of the object
here, Helmet. The block which contains this is
identified and a bounding box is generated. If the
Helmet is not detected, then a bounding box with the
label ‘No_Helmet’ is shown.
VII. FUTURE SCOPE
This project can be used to implement an automatic
challan system. It can be done by interfacing the
Bluetooth module to arduino and based on helmet
status for the amount of time automatic challan can be
generated.
The Helmet Detection system can be interfaced to
motorcycles. Doing this we can control the Bike
condition based on Helmet Detection. If Helmet is
detected initially then the bike can turn ON. Else the
bike cannot turn ON.
VIII. REFERENCES
1. https://ieeexplore.ieee.org/document/8938394
2. https://turkjphysiotherrehabil.org/pub/pdf/322
/32-2-1.pdf
3. https://www.irjet.net/archives/V6/i12/IRJET-
V6I1214.pd
4. https://arxiv.org/abs/1506.02640
5. https://arxiv.org/abs/1612.08242

More Related Content

Similar to INTELLIGENT HELMET DETECTION USING OPENCV AND MACHINE LEARNING

IRJET- Biometric Attendance System
IRJET- Biometric Attendance SystemIRJET- Biometric Attendance System
IRJET- Biometric Attendance SystemIRJET Journal
 
AUTOMATIC APPEARANCE MASK AND BODY TEMPERATURE FINDING SYSTEM
AUTOMATIC APPEARANCE MASK AND BODY TEMPERATURE FINDING SYSTEMAUTOMATIC APPEARANCE MASK AND BODY TEMPERATURE FINDING SYSTEM
AUTOMATIC APPEARANCE MASK AND BODY TEMPERATURE FINDING SYSTEMIRJET Journal
 
Facial Recognition Based Attendance System
Facial Recognition Based Attendance SystemFacial Recognition Based Attendance System
Facial Recognition Based Attendance SystemIRJET Journal
 
Real Time Character Recognition on FPGA for Braille Devices
Real Time Character Recognition on FPGA for Braille DevicesReal Time Character Recognition on FPGA for Braille Devices
Real Time Character Recognition on FPGA for Braille DevicesIRJET Journal
 
IRJET - New Generation Multilevel based Atm Security System
IRJET - New Generation Multilevel based Atm Security SystemIRJET - New Generation Multilevel based Atm Security System
IRJET - New Generation Multilevel based Atm Security SystemIRJET Journal
 
IRJET- Student Teacher Integrated Network Ground – “S.T.I.N.G”
IRJET- Student Teacher Integrated Network Ground – “S.T.I.N.G”IRJET- Student Teacher Integrated Network Ground – “S.T.I.N.G”
IRJET- Student Teacher Integrated Network Ground – “S.T.I.N.G”IRJET Journal
 
IRJET - IoT based Portable Attendance System
IRJET - IoT based Portable Attendance SystemIRJET - IoT based Portable Attendance System
IRJET - IoT based Portable Attendance SystemIRJET Journal
 
Voice Assistance Based Remote Surveillance System
Voice Assistance Based Remote Surveillance SystemVoice Assistance Based Remote Surveillance System
Voice Assistance Based Remote Surveillance SystemIRJET Journal
 
AN AUTONOMOUS ENTRY SYSTEM WITH MASK AND TEMPERATURE DETECTION
AN AUTONOMOUS ENTRY SYSTEM WITH MASK AND TEMPERATURE DETECTIONAN AUTONOMOUS ENTRY SYSTEM WITH MASK AND TEMPERATURE DETECTION
AN AUTONOMOUS ENTRY SYSTEM WITH MASK AND TEMPERATURE DETECTIONIRJET Journal
 
Social Distance Detector Using Computer Vision, OpenCV and YOLO Deep Learning...
Social Distance Detector Using Computer Vision, OpenCV and YOLO Deep Learning...Social Distance Detector Using Computer Vision, OpenCV and YOLO Deep Learning...
Social Distance Detector Using Computer Vision, OpenCV and YOLO Deep Learning...IRJET Journal
 
IRJET - Examination Forgery Avoidance System using Image Processing and IoT
IRJET - Examination Forgery Avoidance System using Image Processing and IoTIRJET - Examination Forgery Avoidance System using Image Processing and IoT
IRJET - Examination Forgery Avoidance System using Image Processing and IoTIRJET Journal
 
Ball following Robot using ESP32-cam & Arduino UNO
Ball following Robot using ESP32-cam & Arduino UNOBall following Robot using ESP32-cam & Arduino UNO
Ball following Robot using ESP32-cam & Arduino UNOIRJET Journal
 
Motion capture for Animation
Motion capture for AnimationMotion capture for Animation
Motion capture for AnimationIRJET Journal
 
Arduino Based Smart Parking System
Arduino Based Smart Parking SystemArduino Based Smart Parking System
Arduino Based Smart Parking SystemIRJET Journal
 
IRJET- VI Spectacle – A Visual Aid for the Visually Impaired
IRJET- VI Spectacle – A Visual Aid for the Visually ImpairedIRJET- VI Spectacle – A Visual Aid for the Visually Impaired
IRJET- VI Spectacle – A Visual Aid for the Visually ImpairedIRJET Journal
 
IRJET- Object Detection and Recognition for Blind Assistance
IRJET- Object Detection and Recognition for Blind AssistanceIRJET- Object Detection and Recognition for Blind Assistance
IRJET- Object Detection and Recognition for Blind AssistanceIRJET Journal
 
IRJET- IoT Color based Product Sorting Machine
IRJET- IoT Color based Product Sorting MachineIRJET- IoT Color based Product Sorting Machine
IRJET- IoT Color based Product Sorting MachineIRJET Journal
 
IRJET- New Generation Multilevel based Atm Security System
IRJET- New Generation Multilevel based Atm Security SystemIRJET- New Generation Multilevel based Atm Security System
IRJET- New Generation Multilevel based Atm Security SystemIRJET Journal
 
REAL-TIME OBJECT DETECTION USING OPEN COMPUTER VISION
REAL-TIME OBJECT DETECTION USING OPEN COMPUTER VISIONREAL-TIME OBJECT DETECTION USING OPEN COMPUTER VISION
REAL-TIME OBJECT DETECTION USING OPEN COMPUTER VISIONIRJET Journal
 

Similar to INTELLIGENT HELMET DETECTION USING OPENCV AND MACHINE LEARNING (20)

IRJET- Biometric Attendance System
IRJET- Biometric Attendance SystemIRJET- Biometric Attendance System
IRJET- Biometric Attendance System
 
AUTOMATIC APPEARANCE MASK AND BODY TEMPERATURE FINDING SYSTEM
AUTOMATIC APPEARANCE MASK AND BODY TEMPERATURE FINDING SYSTEMAUTOMATIC APPEARANCE MASK AND BODY TEMPERATURE FINDING SYSTEM
AUTOMATIC APPEARANCE MASK AND BODY TEMPERATURE FINDING SYSTEM
 
Facial Recognition Based Attendance System
Facial Recognition Based Attendance SystemFacial Recognition Based Attendance System
Facial Recognition Based Attendance System
 
Real Time Character Recognition on FPGA for Braille Devices
Real Time Character Recognition on FPGA for Braille DevicesReal Time Character Recognition on FPGA for Braille Devices
Real Time Character Recognition on FPGA for Braille Devices
 
IRJET - New Generation Multilevel based Atm Security System
IRJET - New Generation Multilevel based Atm Security SystemIRJET - New Generation Multilevel based Atm Security System
IRJET - New Generation Multilevel based Atm Security System
 
IRJET- Student Teacher Integrated Network Ground – “S.T.I.N.G”
IRJET- Student Teacher Integrated Network Ground – “S.T.I.N.G”IRJET- Student Teacher Integrated Network Ground – “S.T.I.N.G”
IRJET- Student Teacher Integrated Network Ground – “S.T.I.N.G”
 
IRJET - IoT based Portable Attendance System
IRJET - IoT based Portable Attendance SystemIRJET - IoT based Portable Attendance System
IRJET - IoT based Portable Attendance System
 
Voice Assistance Based Remote Surveillance System
Voice Assistance Based Remote Surveillance SystemVoice Assistance Based Remote Surveillance System
Voice Assistance Based Remote Surveillance System
 
AN AUTONOMOUS ENTRY SYSTEM WITH MASK AND TEMPERATURE DETECTION
AN AUTONOMOUS ENTRY SYSTEM WITH MASK AND TEMPERATURE DETECTIONAN AUTONOMOUS ENTRY SYSTEM WITH MASK AND TEMPERATURE DETECTION
AN AUTONOMOUS ENTRY SYSTEM WITH MASK AND TEMPERATURE DETECTION
 
Social Distance Detector Using Computer Vision, OpenCV and YOLO Deep Learning...
Social Distance Detector Using Computer Vision, OpenCV and YOLO Deep Learning...Social Distance Detector Using Computer Vision, OpenCV and YOLO Deep Learning...
Social Distance Detector Using Computer Vision, OpenCV and YOLO Deep Learning...
 
IRJET - Examination Forgery Avoidance System using Image Processing and IoT
IRJET - Examination Forgery Avoidance System using Image Processing and IoTIRJET - Examination Forgery Avoidance System using Image Processing and IoT
IRJET - Examination Forgery Avoidance System using Image Processing and IoT
 
Ball following Robot using ESP32-cam & Arduino UNO
Ball following Robot using ESP32-cam & Arduino UNOBall following Robot using ESP32-cam & Arduino UNO
Ball following Robot using ESP32-cam & Arduino UNO
 
Motion capture for Animation
Motion capture for AnimationMotion capture for Animation
Motion capture for Animation
 
Arduino Based Smart Parking System
Arduino Based Smart Parking SystemArduino Based Smart Parking System
Arduino Based Smart Parking System
 
IRJET- VI Spectacle – A Visual Aid for the Visually Impaired
IRJET- VI Spectacle – A Visual Aid for the Visually ImpairedIRJET- VI Spectacle – A Visual Aid for the Visually Impaired
IRJET- VI Spectacle – A Visual Aid for the Visually Impaired
 
IRJET- Object Detection and Recognition for Blind Assistance
IRJET- Object Detection and Recognition for Blind AssistanceIRJET- Object Detection and Recognition for Blind Assistance
IRJET- Object Detection and Recognition for Blind Assistance
 
IRJET- IoT Color based Product Sorting Machine
IRJET- IoT Color based Product Sorting MachineIRJET- IoT Color based Product Sorting Machine
IRJET- IoT Color based Product Sorting Machine
 
IRJET- New Generation Multilevel based Atm Security System
IRJET- New Generation Multilevel based Atm Security SystemIRJET- New Generation Multilevel based Atm Security System
IRJET- New Generation Multilevel based Atm Security System
 
REAL-TIME OBJECT DETECTION USING OPEN COMPUTER VISION
REAL-TIME OBJECT DETECTION USING OPEN COMPUTER VISIONREAL-TIME OBJECT DETECTION USING OPEN COMPUTER VISION
REAL-TIME OBJECT DETECTION USING OPEN COMPUTER VISION
 
IRJET-V8I686.pdf
IRJET-V8I686.pdfIRJET-V8I686.pdf
IRJET-V8I686.pdf
 

More from IRJET Journal

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...IRJET Journal
 
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 STRUCTUREIRJET Journal
 
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...IRJET Journal
 
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 CharacteristicsIRJET Journal
 
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...IRJET Journal
 
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-...IRJET Journal
 
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...IRJET Journal
 
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...IRJET Journal
 
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 ADASIRJET Journal
 
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,...IRJET Journal
 
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 ProIRJET Journal
 
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...IRJET Journal
 
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 SystemIRJET Journal
 
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 bridgesIRJET Journal
 
React based fullstack edtech web application
React based fullstack edtech web applicationReact based fullstack edtech web application
React based fullstack edtech web applicationIRJET Journal
 
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 ...IRJET Journal
 
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.IRJET Journal
 
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...IRJET Journal
 
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 DesignIRJET Journal
 
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...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

Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 

Recently uploaded (20)

Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 

INTELLIGENT HELMET DETECTION USING OPENCV AND MACHINE LEARNING

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 3838 INTELLIGENT HELMET DETECTION USING OPENCV AND MACHINE LEARNING K S P V Siva Lalith#1, Mokirala Sudhamshu#2,Gunna Kamal Abhishek#3, Dr. T. Rama Swamy#4, Dr. V.Jayaprakasan#5, Dr. G. Prasad Acharya#6 #1 UG student, ECE, Sreenidhi Institute of Science and Technology, Hyderabad, Telangana, India #2 UG student, ECE, Sreenidhi Institute of Science and Technology, Hyderabad, Telangana, India #3UG student, ECE, Sreenidhi Institute of Science and Technology, Hyderabad, Telangana, India #4Associate Professor,Dept.of ECE,Sreenidhi institute of science and technology,Telangana,India #5 Professor,Dept.of ECE,Sreenidhi institute of science and technology,Telangana,India #6Associate Professor,Dept.of ECE,Sreenidhi institute of science and technology,Telangana,India ------------------------------------------------------------------------------***-------------------------------------------------------------------------------- Abstract— In daily life, the role of a helmet is vital for motorists. The human brain is an important organ, which is protected by the skull. So the head is to be protected by a helmet, in case of an accident. From our literature survey we found that in India, the majority of motorists do not wear a helmet. This negligence causes fatal injuries. We want to minimize this risk. Our project uses ML and OPENCV tools for Helmet Detection. In this project we use a camera module to detect the face of the person. The preprocessed input is fed to the Machine Learning model. This model processes it and transports the output to Arduino, which ‘outputs’ the real- time status of the helmet. Keywords:- MachineLearning, OpenCV, Helmet Detection, Arduino. I. INTRODUCTION This paper is about the detection of a helmet. Based on our Literature survey we came to know that, an alarming percentage of motorists lack common traffic knowledge and also do not equip themselves with a helmet. This leads to fatal injuries which could have been preventable. A motorist helmet hence plays a vital role. Similarly the usage of helmets has equal importance in the mines, construction sites etc. The main theme of our project is to minimize or eliminate the fatalities. This can be done by detecting if a motorist is wearing a helmet or not. Since this process is automated, it reduces the workload on Traffic Police who otherwise would need to manually capture the images of such motorists. In our project there is a camera which captures the live-video of the person. This video is pre processed frame by frame using OpenCV tools. Each frame is of the resolution 1920x1080p. Further it is fed to the data models which make use of YOLO machine learning algorithm. The predefined data models will process and generate the output, which provides the real-time status of the helmet. A rectangular box encloses the face of the motorist while providing the status- Helmet or No_Helmet along with the percentage of confidence. Next we make use of Arduino. The sensed output is given to the Arduino. It is processed using PyFirmata software equipped on the Arduino. PyFirmata is used to interface with the Python source code and the Arduino code. For easy monitoring, we configure the Arduino to generate an output in the form of an LED status and Buzzer.. If the input to the Arduino contains the presence of the helmet then there is no sound generated by the buzzer and the LED is off. Otherwise the buzzer generates a beep sound and the LED starts glowing. II. HARDWARE IMPLEMENTATION To maximize the utilisation of the system a perfect hardware is to be developed. Every component has many functions. So, as implementers, we need to choose the best and least components which produce our desired function. The below are various components that are used by us. A. Camera Module OV7670 Power is provided from 3.3V supply. It is a low price image sensor. It is a DSP that can operate at a maximum of 30 fps and 640 x 480 resolutions which is equivalent to 0.3 Megapixels. Working Temperature is 0-50 Degree Celsius and All Glass Lenses, Lens is made of Magnesium Alloy material.y. An external oscillator provides the source of the clock for the camera module. In our design the camera continuously captures the video. This video is important data that needs to be analysed. Here video is given to the data model. So the
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 3839 camera is used for inputting the data to the machine learning model. ARDUINO UNO It is based on the ATmega328p microcontroller board. It has 14 digital pins which can be used as input or output and among those 6 pins can be used for PWM outputs. It also has 6 analog pins. A 16MHz Quartz crystal is used for the clock. It has a USB connection, Reset button, ICSP header, And Power jack. It operates with 5V supply. 2KB SRAM, 1KB EEPROM, 32KB Flash memory available with microcontroller. A built in Led connected to the 13th pin. pinMode(), digitalWrite(), digitalRead() are the functions to program the pins as input or output. Serial communication is available from the SoftwareSerial library. I2C and SPI communications are supported by the ATmega328p microcontroller. Arduino supports the serial monitor feature. In this mode serial communication can be achieved. B. Buzzer DC voltage is used for powering the buzzer. In general there are various types of buzzers available. Buzzer has two pins as shown in the figure below. Operating specifications of buzzer are as listed below. Frequency:- 3Hz to 300 Hz. Voltage:- 3V to 24 V (DC). Temperature:- – 20° C to +60°C. In general we can understand that buzzers are used for alert. In our design also the purpose is similar. The arduino sends the control signal to the buzzer. Based on that signal the sound of the buzzer varies. Actually if there is no helmet detected then the buzzer produces sound. Else no sound from the buzzer. C. LED LED’s are Indicators. It is a 2 terminal semiconductor device which emits light. The operation of the Led is quite similar to the normal PN diode. That is it conducts in one direction and does not allow current flow in reverse direction. Symbol of LED is given under. Two terminals are anode and cathode. In this design the output from arduino makes LED ON/OFF. For our understanding LED On implies Helmet absence and LED Off implies Helmet presence.
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 3840 III. SOFTWARE IMPLEMENTATION A. TENSOR FLOW It is a machine learning open source platform. The Google Brain team developed the Tensorflow. It provides various levels of abstraction, which helps to build a model easily. It has a comprehensive, flexible ecosystem of tools, libraries and community resources that lets researchers push the state-of-the-art in ML and developers easily build and deploy ML powered applications. Provides an easy way to deploy and train models in the Cloud, Servers or devices. Provides solutions to various ML problems like recommendation systems for movies, classification of images like clothes, handwritten text detection etc. TensorFlow provides stable Python and C++ APIs, as well as non-guaranteed backward compatible API for other languages. It is powered by a vast forthcoming community comprising students, developers etc, where you can discuss your ideas and approach solutions to your problems. You can install the Tensorflow package into your system using the ‘pip’ package available to be used from your Command Prompt. B. OPEN CV OpenCV Open Source Computer Vision Library. It is a library of programming functions mainly aimed at real- time computer vision. It was originally developed by Intel. It is a huge Open Source cross-platform library for machine learning, computer vision, and image processing. The library has more than 2500 optimized algorithms, which includes a comprehensive set of both classic and state-of-the-art computer vision and machine learning algorithms. It helps to process images, videos and identify objects. OpenCV has a large community of more than 47 thousand users. OpenCV has many applications as listed below:- Counting number of people, Face recognition, Detecting speed of vehicles on the highways, Driver less car controlling,Video/image search. In our project the capturing and preprocessing of the live-video of the motorist is done by the OpenCV tools. C. DARKFLOW DarkFlow is a python implementation of YOLOv2 using Tensorflow. A framework is created either- YOLO or YOLOv2. It is an amazing tool that can be used to start detecting common objects in images or videos “out of the box”. Next the anchor boxes are created, using cpython which is where python can use C data types and call c functions and API’s. If something is wrong with your data or configuration DarkFlow halts the program and displays an appropriate error message. IV. DESIGN METHODOLOGY 1. Video Capturing The input to our system is the real-time video capturing of the motorist. This is captured at an FPS rate of 6-12 FPS here. We can boost the FPS by simply making the source code run on the GPU rather than the CPU. Convenient background lighting while capturing the video is appreciated. The video capturing can be turned OFF by exiting the system using the key ‘Q.’ 2. PreProcessing and Feeding video to ML model using OpenCV The captured input is processed frame by frame. This is done with the help of OpenCV tools. Firstly we resize the frames into the required resolution of 1920x1080p. Then the frame is fed as input to the Neural network created using the TFNet function available with Darkflow. 3. Video Processing using Machine Learning The frames are processed using the YOLO You Only Look Once algorithm. Initially we are required to download the pre-trained weights for the Neural Network. The frame is divided into equal sized ‘blocks.’ They are processed by the Neural Network. It generates a 6x1 matrix weights which defines the parameters required for the ‘object localization’ here, ‘Helmet.’ The parameters include ‘bounding box’ dimensions i.e. object center coordinates, box width,box height, probability of class i.e. ‘helmet’ detected etc. A bounding box is usually a rectangular box surrounding the object detected. We can also show the probability with which the object has been detected. Thousands of similar images are to be used to train the model to increase its efficiency. For this, COCO dataset is used. It’s an open source dataset consisting of various images of various objects like Helmet, animals, people, vehicles etc. All such images are labelled and provided with well-defined weights too.
  • 4. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 3841 4. Analysing ML output using Arduino Visual data can be quickly understood and analyzed. Hence we output the data i.e. 'helmet detected’ or not in the form of real time video and also using an LED and Buzzer to present the output. This is done by configuring the Arduino. Here, Pyfirmata Python library is used for giving input to Arduino. The Pyfirmata package can be used to give access to the write and read pins of the Arduino. Generally Arduino is to be synchronized. Based on the input that the Arduino receives we will control other pins' status. Displaying output using Arduino The basic displaying units are LEDs and Buzzer. Arduino has various methods to control the working of pins. pinMode function is used to set the particular pin as output or input. The digitalWrite function is used to send a particular voltage level on the pin. LED and Buzzer are two terminal components. The cathode of the LED and the negative pin of the buzzer are connected to the ground. Anode of LED, positive terminal of the buzzer are connected to digital pins of the Arduino. Based on the input to the Arduino, the output is displayed. If the Helmet is detected from the input given to the Arduino, then the LED doesn’t glow and the Buzzer is silent. Else, if Helmet is absent then LED glows and buzzer will give a beep sound. V. RESULTS Capturing Video 1. Output without Helmet 2. Output with Helmet
  • 5. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 09 Issue: 04 | Apr 2022 www.irjet.net p-ISSN: 2395-0072 © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page 3842 3. Terminating the Video Capturing VI. CONCLUSION Wearing a helmet is of utmost importance to reduce the number of fatal accidents and to reduce the impact itself. Hence we approached the solution using the Object Detection and Localization concept. For this we captured the real-time video feed of the motorist and fed it as input, frame by frame, to the Neural Network. We used the YOLO algorithm to analyze the frame, generate a weight matrix and to generate the ‘bounding box’ over the Helmet. YOLO does this so by breaking down the frame into equal sized blocks. Each block is checked to detect the central coordinate of the object here, Helmet. The block which contains this is identified and a bounding box is generated. If the Helmet is not detected, then a bounding box with the label ‘No_Helmet’ is shown. VII. FUTURE SCOPE This project can be used to implement an automatic challan system. It can be done by interfacing the Bluetooth module to arduino and based on helmet status for the amount of time automatic challan can be generated. The Helmet Detection system can be interfaced to motorcycles. Doing this we can control the Bike condition based on Helmet Detection. If Helmet is detected initially then the bike can turn ON. Else the bike cannot turn ON. VIII. REFERENCES 1. https://ieeexplore.ieee.org/document/8938394 2. https://turkjphysiotherrehabil.org/pub/pdf/322 /32-2-1.pdf 3. https://www.irjet.net/archives/V6/i12/IRJET- V6I1214.pd 4. https://arxiv.org/abs/1506.02640 5. https://arxiv.org/abs/1612.08242