Drowsiness Detection and Accident Prevention System Using OpenCV and Raspberry Pi

Project Code :TEMBMA3595

Objective

To develop a system that detects driver drowsiness and prevents accidents using computer vision and deep learning, while providing real-time alerts and location information.

Abstract

This paper presents a robust solution for driver drowsiness detection and accident prevention using TensorFlow and OpenCV-based computer vision techniques integrated with Raspberry Pi and a suite of peripheral devices. The system utilizes a webcam to continuously monitor the driver's facial expressions and eye movements, employing deep learning algorithms to detect signs of drowsiness such as prolonged eye closure or head nodding. Upon detecting potential drowsiness, the system triggers a multi-layered alert mechanism: a loud buzzer and a flashing red LED inside the vehicle alert the driver immediately. Simultaneously, the system sends an SMS alert via the GSM module to predefined emergency contacts, providing real-time coordinates (latitude and longitude) of the vehicle's location using the integrated GPS module. This comprehensive approach not only aims to mitigate driver fatigue-related accidents but also ensures prompt response and intervention by alerting both the driver and emergency responders effectively. By integrating real-time monitoring, alerting, and location-based communication, this system enhances road safety by proactively addressing hazardous driving conditions caused by driver drowsiness. The effectiveness and reliability of the proposed system are demonstrated through experimental validation, highlighting its potential for widespread adoption in vehicles to prevent accidents and save lives.

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

Block Diagram

Specifications

Hardware Requirements:

  • Raspberry pi
  • Camera
  • Power supply
  • Mems sensor
  • GPS
  • GSM
  • Red led
  • Buzzer

Software requirements:

  • Python idle

Learning Outcomes

  • Raspberry pi Pin diagram and Architecture
  • How to install and setting up of Python IDE
  • Basic python coding
  • camera interface with Raspberry pi
  • mems sensor interface with Raspberry pi
  • GSM interface with Raspberry pi
  • GSM interface with Raspberry pi
  • buzzer interface with Raspberry pi
  • led interface 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

mail-banner
call-banner
contact-banner
Request Video