CankayaUniversity / ceng-407-408-2022-2023-Drowsy-Driver-Detection-System

Drowsy Driver Detection System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drowsy Driver Detection System

Welcome to the drowsy driver detection system web app's user guide!

This online application is intended to advise drivers to take a break or stop driving if they start to feel sleepy while driving. The program analyzes the driver's facial expressions and motions using computer vision and machine learning algorithms to look for indicators of tiredness.

Starting Off:

The following are the procedures to utilize the web app for the sleepy driver detection system:

  • Launch the web application in your browser.
  • To start the detecting procedure, click the "Login" button.
  • Permit others to use your camera.
  • Ensure that your face is positioned suitably and is clearly visible in the camera's field of vision.
  • Start your car.

Using the App:

As you drive, the app will continually look out for indicators of tiredness in your motions and facial expressions. The app will send you an alert to warn you to stop driving or taking breaks if it notices any symptoms of tiredness.

To grab your attention, the alert will both be visible on the screen and sound an alarm. After the alarm, the app will continue to watch your facial expressions and body language to make sure you are reacting correctly.

Stopping the App:

Simply click the "Stop" button to end the online application for the sleepy driver monitoring system. The app will cease observing your face movements and expressions.

Best Results Advice:

Follow these recommendations to maximize your use of the web app for the sleepy driver detection system:

  • Make sure your face is positioned suitably and can be seen well by the camera.
  • Verify that there is enough light in the car to record your facial expressions and movements.
  • When driving, maintain a straight posture with your head and torso facing front.
  • Even if the app has not sent out a warning, take pauses as necessary.
  • Keep in mind that the app is intended to keep you safe while driving, so pay attention to its notifications and act appropriately as needed.

Thank you for utilizing the online app for the sleepy driver detection system. We hope that our user guide has given you the knowledge you need to utilize the app efficiently and drive safely. Please get in touch with us if you have any inquiries or comments. Safe travels!

Installation


  • This repository will now include the main code. You may use this code portion to download the entire necessary library during downloading.
pip install -r requirements.txt

  • From this directory, you must first download requirements.txt to your local computer.

  • Following this procedure, you may access the main code in Visual Studio Enterprise and download it to the DrowsyDriverDetectionSystem File. Push the solution file, then test it for functionality.

  • Without using git, you can get all of the papers and source code. You can also locate all of the code in the initial release file of DrowsyDriverDetection.rar1. Please follow the instructions below:

  • Verify that Git is set up. If not, go to "https://git-scm.com/downloads" on the official website to download and install it.

  • Launch the Git Bash (Windows) or a terminal (Linux/Mac) program.

  • Go to the Bash interface if you're using Git Bash:

git bash
  • Open the location where the code is to be downloaded.
cd /path/to/folder
  • Clone the Git repository:
git clone https://github.com/CankayaUniversity/ceng-407-408-2022-2023-Drowsy-Driver-Detection-System.git
  • The Git repository will be downloaded, and all papers and codes will be stored in a folder called ceng-407-408-2022-2023-Drowsy-Driver-Detection-System.
  • Go to the folder containing the codes when the download is finished.
cd DrowsyDriverDetectionSystem
  • You must also download best.h for categorization when uploading all files and programs. This file is located in the release file.
  • You may carry out the project. Also, you need to change file directory "save_path" to start the code in StartDetection.py
python views.py
  • Also, you may use this process for running. After the download is complete, you can run the project via Visual Studio Enterprise or Code.

ADVISOR


Dr. Serdar Arslan

TEAM MEMBERS


Bahu Tongal 201811058

Mert Alp Kuvandık 201911038

Volkan Mazlum 201811045

CONTENTS


Project Work Plan Ceng-407

Project Work Plan Ceng-408

Literature Review

SRS

SDD

Project Web Page

Project Report Ceng-407

Project Report Ceng-408

Project Test-Plan and Test-Results

Project User's Manual

Project Demo Video

Project Poster

Project Poster - General Template

About

Drowsy Driver Detection System

License:MIT License


Languages

Language:Jupyter Notebook 92.3%Language:HTML 7.6%Language:Python 0.1%Language:JavaScript 0.1%Language:CSS 0.0%