/drowsiness-detection

打瞌睡检测,通过检测眼皮对眼球的遮挡程度,判定是否打瞌睡😂

Primary LanguagePythonApache License 2.0Apache-2.0

Drowsiness-Detection

standard-readme compliant

中文说明 | English

This code is a computer vision system that can automatically detect driver drowsiness in a real-time video stream and then play an alarm if the driver appears to be drowsy.

  • Face Landmarks
  • Usage
    • Detect
  • Demo

Drowsiness detection with OpenCV


This repository contains:

  1. detect code which can detect drowsiness by opencv.
  2. face landmarks model you can use face landmarks detection by opencv.

Table of Contents


Requirement

pip install -r requirements.txt

Usage

detect

python detect.py

Demo

Samples:


Reference


License

Apache 2.0 © Kun