Spectacular Mood Meter - for V2_'s Evening of the Black Box.
cmake_modules | ||
common | ||
opencv-webcam-demo | ||
video-demo | ||
.gitignore | ||
.travis.yml | ||
affdex-win-samples.sln | ||
appveyor.yml | ||
CMakeLists.txt | ||
console.html | ||
ISSUE_TEMPLATE.txt | ||
LICENSE.txt | ||
parse_output.py | ||
README.md | ||
requirements.txt | ||
run.py |
Start two processes:
gphoto2 to capture images:
gphoto2 --port usb: --capture-image-and-download -I 1 --filename=/home/crowd/output/frame%06n.jpg
The modified 'webcam demo' to analyse and generate json:
/home/crowd/build/opencv-webcam-demo/opencv-webcam-demo --data /home/crowd/affdex-sdk/data --faceMode 1 --numFaces 80 -o /home/crowd/output-backup/ --draw 0