Skip to content

samiashi/Facial-Emotion-Recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facial-Emotion-Recognition

Project based on: https://github.com/TadasBaltrusaitis/OpenFace

Mac installation: https://github.com/TadasBaltrusaitis/OpenFace/wiki/Mac-Installation

Videos:

Parameters for input

  • -f the video file being input, can specify multiple files
  • -fd the directory where depth files are stored (deprecated)
  • -root the root of input and output so -f and -ov can be specified relative to it
  • -inroot the root of input so -f can be specified relative to it
  • -outroot the root of output so -ov can be specified relative to it

Parameters for output

  • -ov where to output video file with tracked landmarks

Images

Single image analysis

  • -f the image file being input, can have multiple -f flags
  • -of location of output file for landmark points and action units
  • -op location of output file for 3D landmark points
  • -oi location of output image with landmarks
  • -root the root directory so -f, -of, -op, and -oi can be specified relative to it
  • -inroot the input root directory so -f can be specified relative to it
  • -outroot the root directory so -of, -op, and -oi can be specified relative to it

Compile

CMake:

  • sudo cmake -D CMAKE_BUILD_TYPE=RELEASE .

To compile:

  • sudo make

Run

  • cd ~/Desktop/Facial-Emotion-Recognition

To test Images:

  • ./bin/Image -f "./input/images/isk.jpg" -ofdir "./output/images/" -oidir "./output/images/"

To test Videos:

  • ./bin/Video -f "./input/videos/DRPHIL-02-01.mp4" -of "./output/videos/DRPHIL-02-01.xlsx" -ov "./output/videos/DRPHIL-02-01.mp4"

About

My final year project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published