amide-init / face-smile-detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Face Smile Detection

Face Smile Detection

follow these step to run this application

  1. Clone code and open code in VS code (recommended)

  2. create a virtual environment macos/linux : python3 -m venv venv winodws : py -3 -m venv venv

  3. Activate virtual environment macos/linux : . venv/bin/activate windows : venv\Scripts\activate

  4. install all python package pip install -r requirements.txt

  5. command for training your model python train.py --dataset ./datasets/smileD --model ./output/lenet.hdf5

  6. command for detect face smile python detect_smile.py --cascade haarcascade_frontalface_default.xml --model ./output/lenet.hdf5

About


Languages

Language:Python 100.0%