GithubHelp home page GithubHelp logo

jackaduma / drowsiness-detection Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 2.0 68.99 MB

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

License: Apache License 2.0

Python 100.00%

drowsiness-detection's Introduction

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

drowsiness-detection's People

Contributors

jackaduma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

xixiqnmb philogag

drowsiness-detection's Issues

运行报错,请问使用python版本是那个?

Traceback (most recent call last):
File "/home/pi/drowsiness-detection-master/detect.py", line 6, in
from scipy.spatial import distance
File "/home/pi/.local/lib/python3.9/site-packages/scipy/spatial/init.py", line 102, in
from ._kdtree import *
File "/home/pi/.local/lib/python3.9/site-packages/scipy/spatial/_kdtree.py", line 5, in
from ._ckdtree import cKDTree, cKDTreeNode
File "_ckdtree.pyx", line 1, in init scipy.spatial._ckdtree
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 48 from C header, got 40 from PyObject

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.