2017-11-17 15:17:31 +00:00
|
|
|
Start two processes:
|
2015-03-09 21:24:59 +00:00
|
|
|
|
2017-11-17 15:17:31 +00:00
|
|
|
gphoto2 to capture images:
|
2015-03-09 21:24:59 +00:00
|
|
|
|
2017-11-17 15:17:31 +00:00
|
|
|
`gphoto2 --port usb: --capture-image-and-download -I 1 --filename=/home/crowd/output/frame%06n.jpg`
|
2015-03-09 21:24:59 +00:00
|
|
|
|
2017-11-17 15:17:31 +00:00
|
|
|
The modified 'webcam demo' to analyse and generate json:
|
2015-03-09 21:24:59 +00:00
|
|
|
|
2017-11-17 15:17:31 +00:00
|
|
|
`/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`
|