🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

Face-Mash

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Face-Mash

Deep Learning model for fatigue detection

127.0.0.0
PyPI
Maintainers
1

Deep learning model for fatigue detection

forthebadge made-with-python
Python 3.6

Meta Information

  • Trained on open source dataset from kaggle
  • Following are the predictable classes
  • Closed(eyes)
  • Open(eyes)
  • no_yawn
  • yawn

Usage

  • Make sure you have Python installed in your system.
  • Model file will be saved locally in root directory.
  • Model training info will be explained in medium blog soon.

Example

from Face_Mash import Face_Mash
model_path = 'path/of/model.h5'
img_path   = 'path/of/img_file'
prediction = Face_Mash(img_path,model_path)

Keywords

deep learning

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts