Skip to content

Utilizing MediaPipe, a cross-platform framework for creating computer vision pipelines, we created an attention support system. The system uses EAR and MAR to assess the driver's level of drowsiness. An alarm will sound to warn the driver if they are becoming sleepy.

Notifications You must be signed in to change notification settings

Arwindhraj/AI-Attention-assist-system-using-MediaPipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

AI Attention Assist System using MediaPipe

Overview

The AI Attention Assist System using MediaPipe is a project that utilizes the MediaPipe library to accurately detect and monitor attention levels in real time. The system is designed to function even in low-light conditions and can be deployed on edge devices by building the necessary packages. Utilizing MediaPipe, a cross-platform framework for creating computer vision pipelines, we created an attention support system. The system uses EAR and MAR to assess the driver's level of drowsiness. An alarm will sound to warn the driver if they are becoming sleepy.

Features

  • Real-time attention detection using MediaPipe.
  • Robust performance in low-light environments.
  • Support for deployment on edge devices.
  • Easily customizable for specific use cases.

Prerequisites

To run this project, you need to have the following prerequisites:

  • Python 3.10.9 (recommended)
  • MediaPipe
  • OpenCV
  • Math
  • Pygame

Installation

  1. Clone the repository:
    git clone https://github.com/Arwindhraj/AI-Attention-assist-system-using-MediaPipe

Usage

Follow the steps below to use the Attention Assist System:

  1. Run the following command in the command prompt or terminal:
    python drowsiness.py
    This command will execute the drowsiness.py script.

Output

output.mp4

open an issue on the GitHub repository for bug reports or feature requests.

We appreciate your feedback and contributions!

About

Utilizing MediaPipe, a cross-platform framework for creating computer vision pipelines, we created an attention support system. The system uses EAR and MAR to assess the driver's level of drowsiness. An alarm will sound to warn the driver if they are becoming sleepy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages