DRIVER DROWSINESS DETECTION USING RASPBERRY PI

Page 1

DRIVER DROWSINESS DETECTION USING RASPBERRY PI

1,2,3Engineering Student, Dept. Electronics and Telecommunication Engineering, JSPM Imperial College of Engineering and Research, Wagholi, Pune, Maharashtra, India.

4Professor, Dept. Electronics and Telecommunication Engineering, JSPM Imperial College of Engineering and Research, Wagholi, Pune, Maharashtra, India. ***

Abstract - This abstract describes a Raspberry Pi-based system for detecting intoxication and sleepiness. To track vital signs and alcohol levels, it makes use of sensors such a camera, heart-rate sensor, and alcohol sensor. The gathered data is processed by machine learning algorithms, which identify intoxication from alcohol and tiredness. Real-time alerts are produced by the Raspberry Pi, the system's central processing unit, and take the form of auditory notifications or cautions. By offering prompt detection and alarms for tiredness and alcohol impairment, this portable, cost-effective technology seeks to improve safety in workplace and transit situations.

Key Words: Drowsiness Detection, Image Processing, Facial Detection, Yawning, Alcohol Detection

1.INTRODUCTION

The goal of this project is to come up with a method for waking up sleepy drivers while they are on the road. The tirednessofthedriverisoneofthefactorsthatcontributeto autoaccidents.Asiswellknown,therewere1,89,400road accidentsinIndiain2018and2,01,205in2020.According to the research of 2020 traffic accident statistics, 400 fatalitiesand1374accidentsoccurdailyonIndianroadways.

Majorcausesofaccidentsandfatalitiesacrossavarietyof industries, including transportation and the workplace, include drowsiness and alcohol impairment. To ensure publicsafety,itiscrucialtoidentifyandtreatthesedisorders immediately. This introduction introduces a cutting-edge methodfordetectingintoxicationandsleepinessusingthe RaspberryPi,aflexibleandreasonablypricedsingle-board computer.

To record facial imagesand extract relevant data for drowsinessanalysis,thesystemusesacameramodule.An alcoholsensorthatdetectsthequantityofalcoholmolecules inthebreathisusedtodetectalcohol.

TheRaspberryPiservesasthesystem'scentralprocessing unit, managing the machine learning algorithms and producing immediate notifications whenever alcohol or drowsinessisdiscovered.Thesecautionsmaycomeinthe natureofaudiowarnings.

The major goal of this system is to deliver a cheap, transportable,andtrustworthysolutionforidentifyingand

dealingwithintoxicationanddrowsiness.By doingthis, it seekstoimprovesecurityandavoidcatastrophesinavariety of settings, including as driving, using public transportationandtheworkplace.

2. LITERATURE SURVEY

1.BappadityaMandal,LiyuanLi,GangSamWang,andJieLin

“TowardsDetectionofBusDriverFatigueBasedonRobust Visual Analysis of Eye State” Driver’s fatigue is one of the majorcausesoftrafficaccidents,particularlyfordriversof largevehiclesduetoprolongeddrivingperiodsandboredom in working conditions. In this paper, we propose a visionbased fatigue detection system for bus driver monitoring, whichiseasyandflexiblefordeploymentinbusesandlarge vehicles.Thesystemconsists ofmodulesofhead-shoulder detection, face detection, eye detection, eye openness estimation,fusion,drowsinessmeasurepercentageofeyelid closureestimation,andfatiguelevelclassification.

2.ZuojinLi,LiukuiChen,JunPengandYingWu“Automatic Detection of Driver Fatigue Using Driving Operation InformationforTransportationSafety”Fatigueddrivingisa majorcauseofroadaccidents.Forthisreason,themethodin thispaperisbasedonthesteeringwheelangles(SWA)and yawangles(YA)informationunderrealdrivingconditionsto detectdrivers’fatiguelevels.

3. S. Cotter revealed the methodology for the system that records eye movements using the corneal reflection approach in 2011. However, there were significant drawbacks,includingtherequirementforaheadset,which madethemethodinappropriateandveryintrusive.

International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 10 Issue: 05 | May 2023 www.irjet.net p-ISSN: 2395-0072 © 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page1203

The Raspberry Pi, camera module, alcohol sensor, buzzer, and speaker drowsiness detection methodology uses a methodical manner to assure accurate and real-time detection.Thefirststepinthehardwaresetupistoconnect theRaspberryPi'sGPIOpinsforthecameramodule,alcohol sensor, buzzer, and speaker. This guarantees effective componentintegrationandcommunication.

Thenextstepindatacollectingistousethecameramodule to periodically take pictures of the individual's face. The cameraisplacedcarefullytogetcrisp,well-litphotographs of the face that allow for accurate analysis. The alcohol sensor is simultaneously put close to the person to determinetheamountofalcoholintheirbreath.

Image processing techniques are used to extract relevant componentsthatsignifydrowsinessfromthecollectedface pictures.Toassessthedegreeofexhaustionordrowsiness facialmovements,headposture,andeyeclosurepatternsare analysed.Thesecharacteristicsofferinsightfulinformation ontheindividual'slevelofawareness.

Inaddition,thealcoholsensordetectstheamountofalcohol presentinthesubject'sbreath.Theconversionofthesensor signals into measurable alcohol levels facilitates the evaluationofalcoholimpairment.

Machinelearningtechniquesmaybeusedtoclassifyalcohol andfatigue. The retrievedcharacteristicsfrom thehuman faceimagesandalcohollevelsmaybeprocessedbytrained algorithmstoprovideathoroughanalysisoftheindividual's state. The technology triggers the buzzer and speaker to produceaudiowarningsoralertswheneverdrowsinessor

excessivealcohollevelsaredetected,informingtheperson andmaybenecessaryauthoritiesoftheirimpairedstatus.

ThismethodusestheRaspberryPi,cameramodule,alcohol sensor, buzzer, and speaker to guarantee a thorough approach to detecting intoxication and drowsiness. The solution improves safety and enables prompt response to reducepossibledangersbycombiningtheseelementsand usingmachinelearningtechniques.

1. Initializethesystem.

2. Startthedatacollectionprocess

3. Captureafacialimageusingthecameramodule.

4. Applyimageprocessingtechniquestoextractrelevant featuresfromthefacialimage.

5. Checkthealcoholdetection.

6. Analyzetheextractedfacialfeatures

7. Classifytheindividual'sstateaseitherdrowsyoralert basedontheanalysisofdrowsinessfeatures.

8. If drowsiness or high alcohol levels are detected: Activate the buzzer and speaker to generate audio warningsoralerts.

9. Repeat the process by capturing new facial images andcontinuouslymonitoringtheindividual'sstate.

10. Terminatethesystem.

International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 10 Issue: 05 | May 2023 www.irjet.net p-ISSN: 2395-0072 © 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page1204
3. BLOCK DIAGRAM Fig.1BlockDiagram. 4. METHODOLOGY 5. CIRCUIT DIAGRAM Fig.2CircuitDiagram. 6. ALGORITHM

InthisExperimentalResultthedrowsinessandYawnisnot detectedastheindividualisnotsleeping.Inthisthealertis not generated. In this the score is calculated which is 0in thisresultandtheeyesareopen.

InthisExperimentalResultthedrowsinessisdetectedasthe eyes of the individuals are closed. In this the alert is generated.Inthisthescoreiscalculatedwhichis3inthis resultandtheeyesareclosed.

InthisExperimentalResulttheYawnisdetected.Inthisthe alertisgenerated.Theaudioalertisgeneratedastheyawnis detected.

International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 10 Issue: 05 | May 2023 www.irjet.net p-ISSN: 2395-0072 © 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page1205
EXPERIMENT
7.
AND RESULTS
7.1 RESULT 1 Fig.3Result1 Fig.4YawnResult1 7.2 RESULT 2 Fig.5Result2 Fig.6Result2 7.3 RESULT 3

9. ADVANTAGES OF PROPOSED SYSTEM

1. Enhanced Safety: The system offers real-time monitoring and alcohol impairment detection, which helps to improve safety in a variety of parameters. It enablesquickresponsestostopaccidentsandpossible risksbyproducingalertsandwarnings.

2. Real-timeMonitoring:Thetechnologymakesitpossible tokeepaneyeonvitalsigns,facialfeatures,andalcohol levelsinreal-time.

3. TimelyAlertsandWarnings:Thedriverisgetalerted ontimebyusingthebuzzerandspeaker.

10. CONCLUSION

A complete solution for improving safety in various situationsisthedrowsinessdetectionsystemwithalcohol detectionintegratingRaspberryPi,cameramodule,alcohol sensor, buzzer, and speaker. The device can efficiently monitor vital signs, analyse facial features and analyse alcohol levels in real-time by fusing sensor technologies, imageprocessingandmachinelearningalgorithms.

Acost-effectiveandportablesolutionisprovidedbyutilising Raspberry Pi as the central processing unit, making it appropriateforuseinworkplaces,transportationsystems, andvehicles.Thesystem'scapacitytoidentifyintoxication from alcohol and drowsiness enables prompt responses, lowering the chances of accidents involving alcohol and fatigue.

Overall, the Raspberry Pi-based drowsiness and alcohol detection system offers a useful and approachable way to increasesafetybytreatingfatigueandalcoholimpairmentin real-time. Research and development efforts in this field might considerably improve public safety and reduce accidentsacrossavarietyofsectors.

11 REFERENCES

1. Quang N., NguyenLe T. Anh ThoToi Vo VanHui YuNguyen DucThang, “Visual Based Drowsiness DetectionUsingFacialFeatures”,6th International Conference on the Development of Biomedical EngineeringinVietnam(BME6)pp723-727,BME 2017.

2. KunikaChhaganbhaiPatel,ShafiullahAtiullahKhan, Vijaykumar Nandkumar Patil, “Real-Time Driver Drowsiness Detection System Based on Visual Information”,InternationalJournalofEngineering ScienceandComputing,March2018.

3. Rahman,M.Sirshar,A.Khan”RealTimeDrowsiness Detection Using Eye Blink Monitoring” 2015

International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 10 Issue: 05 | May 2023 www.irjet.net p-ISSN: 2395-0072 © 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page1206
Result3
YawnResult 8. OBSERVATION TABLE SR. NO OBSERVATION EAR AND YAWN SCORE RESULT 1. Eyesopenand NotYawning EyeScore<3 Yawning counter<17 IdealState 2. Eyesclosed andNot Yawning EyeScore>3 Yawning counter<17 Drowsiness Detected 3. EyesOpenand NotYawning EyeScore<3 Yawning counter>17 Yawn Detected
Fig.7
Fig.8

National Software Engineering Conference (NSEC 2015).

4. J. May and C. Baldwin, “Driver fatigue: The importanceofidentifyingcausal factorsoffatigue when considering detection and countermeasure technologies,” Transp. Res. F, Traffic Psychol. Behav., vol.12,no.3,pp.218–224,2009.

5. Hee-JongYoo,"Isacertainacousticalarmeffective forpreventingdrowsinessdriving?",Journalofthe AcousticalSocietyofKorea,2016.

6. Sang-Hyuk Park, Chang-dong Yoo, "Efficient RealTime Drowsy Detection Algorithm for Safe Operation",2011SummerConferenceofElectronics EngineeringSocietyofKorea,pp..947-950,6.2011.

International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 10 Issue: 05 | May 2023 www.irjet.net p-ISSN: 2395-0072 © 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page1207

Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.
DRIVER DROWSINESS DETECTION USING RASPBERRY PI by IRJET Journal - Issuu