Drivers Drowsiness Detection Using Raspberry Pi and Webcam

Project Code :TEMBMA1622

Objective

The main objective of this project is to identify the drowsiness state of the driver and generates an alert immediately to wake up the driver so that we can able to prevent road accidents.

Abstract


Now days, road accidents are a major problem and its percentage is increasing every year. The major problem behind the road accidents are drowsiness of car driver and if the driver is alcoholic. To overcome this problem, different technologies are developed. This project is used for detecting drowsiness and also preventing the road accidents.

 

The purpose of this project is to develop a way to alert drowsy drivers in the act of driving. One of the causes of car accidents comes from drowsiness of the driver. Therefore, this study attempted to address the issue by creating an experiment in order to calculate the level of drowsiness.

 

The yawn detection based on lip distance and blinking of the eyes was used to determine whether or not a driver felt drowsy. When the drivers drowsiness identified, the system will generates an alert.

Keywords: Drowsiness detection, Raspberry pi, AI.

NOTE: Without the concern of our team, please don't submit to the college. This Abstract varies based on student requirements.

Block Diagram

Raspberry Pi, Driver drowsiness detection, camera, OpenCV

Specifications

Hardware requirements:

  • Raspberry Pi
  • Web cam
  • 16x2 LCD
  • Buzzer
  • 5V Adapter
  • Connecting wires

Software requirements

  • NOOBS Software
  • VNC Viewer
  • Python3 IDE
  • Fritzing

Learning Outcomes

  • Raspberry pi pin diagram and architecture
  • How to install NOOBS  software
  • Setting up and installation procedure for Raspberry Pi
  • How to connect Raspberry Pi through VNC viewer
  • Introduction to Python3 IDE
  • Commands in Python
  • Basic coding in Python
  • How to interface web cam with Raspberry Pi?
  • How to do yawn detection using Raspberry Pi and the camera?
  • What is eye aspect ratio?
  • How to detect eye blink using eye aspect ratio with the help of Raspberry Pi?
  • How to interface buzzer with Raspberry Pi?
  • Working of 16x2 LCD
  • How to interface LCD with Raspberry Pi?
  • About Project Development Life Cycle:
    • Planning and Requirement Gathering(( software’s, Tools, Hardware components, etc.,)
    • Schematic preparation 
    • Code development and debugging
    • Hardware development and debugging
    • Development of the Project and  Output testing
  • Practical exposure to:
    • Hardware and software tools.
    • Solution providing for real time problems.
    • Working with team/ individual.
    • Work on Creative ideas.
  • Project development Skills
    • Problem analyzing skills
    • Problem solving skills
    • Creativity and imaginary skills
    • Programming skills
    • Deployment
    • Testing skills
    • Debugging skills
    • Project presentation skills
    • Thesis writing skills

Demo Video