Skip to main content

Library for drowsiness detection using deep learning

Project description

This library uses deep learning to detect drowsiness of a person

Before using this library make sure you have installed following libraries which are needed

1. Tensorflow ( pip install tensorflow )
2. keras ( pip install keras )



To use it just follow the steps

initialize detector inside __name__ == "__main__" :

1. import it in your project
from DrowsinessDetection.DrowsinessDetector import drowsiness_detector

2. initializing the detector
d = drowsiness_detector()

3. starting the detector in separate thread
d.start()

# your other code .........

4. d.join()



Change Log

===============


0.0.4
-------------
- will install tensorflow and keras for you

0.0.5
---------------
- you can use your version of tensorflow and keras which you have


0.0.6
----------------
- you can give your own audio file to play

0.0.7
------------------
- audio commands added

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-DrowsyDetection-0.0.7.tar.gz (29.9 MB view details)

Uploaded Source

File details

Details for the file python-DrowsyDetection-0.0.7.tar.gz.

File metadata

  • Download URL: python-DrowsyDetection-0.0.7.tar.gz
  • Upload date:
  • Size: 29.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.1

File hashes

Hashes for python-DrowsyDetection-0.0.7.tar.gz
Algorithm Hash digest
SHA256 5ed16a6bf37eafb85ac26b3678ae3d4fc7cc7d5efb2c9ecbfacd0fef66031383
MD5 406aae53066a18eda7b0f699a4609ef3
BLAKE2b-256 795e5d28d5a4f279a093ec5080aa7b9a178eac3c4071e76dd2bcc6d6b402d786

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page