项目作者: ManishShettyM

项目描述 :
My very first hands on experiment with CV
高级语言: Python
项目地址: git://github.com/ManishShettyM/FeelTube.git
创建时间: 2018-05-29T16:12:24Z
项目社区:https://github.com/ManishShettyM/FeelTube

开源协议:MIT License

下载


FeelTube

A simple app that classifies a user’s emotion based on facial landmarks!

Running the project

  • The project as of now has 3 running functionalities

  • To run the Emotion Classifier on Jeffa dataset:

  1. cd /path/to/your/directory
  2. python emotrainer.py
  • After which the program will show you a set of 5 images that are chosen at random as test images:
    alt text

  • Closing that shows us the histogram plotted using LPB:
    alt text

  • Closing that gives us the output with red text representing wrong prediction and green being right:
    alt text

  • The terminal has information about the mean accuracy:
    alt text

  • Sometimes output will have errors :
    alt text

  • To run the webscraping application for emotion to genre selection:

  1. cd /path/to/your/directory
  2. python emovie.py
  • To run the face and features detector:
    This uses the 68 landmarks method:
    alt text
  1. cd /path/to/your/directory
  2. python facial_landmarks.py --shape-predictor shape_predictor_68_face_landmarks.dat --image images/<imagename>.jpg