This repo has an example of :) affectiva library usage for Raspberry Pi. This library allows you to recognize human emotion in a video. The version used in this example is the version intended for raspbian system.
You need opencv already installed and a webcam attached to the Raspberry Pi.
There are two important files in this repo:
- src/prueba.c -which contains the usage example in cpp.
- compilar.sh -which allows to compile the source code. You may need to modify regarding on which directories you install affectiva library.
Once you compile the example:
$ ./prueba
It will output evry data affectiva library produces each time it detect a face on the webcam.