Readminds [1] is a software with the capability of remote emotion detection, applied on players in eletronic games. Features like heart rate and facial actions are currently used to estimate a user's emotional state. Whereas these features provide satisfactory results for the method, new ones may furnish a reasonable increase on the overall performance. Therefore, this research addresses that issue, carrying two primary objectives:
- Engineer new features aimed at the emotion detection context;
- Study the viability of the newly built features in the data used in [1].
The tool chosen to help achieving those goals is MediaPipe [2].
All the important (made by us) scripts are within the src
folder. The other folders are mostly related to MediaPipe configuration.
Note: Since all packages within mediapipe/
are private, they can't be used outside that folder. To overcome this condition, every Bazel command (e.g. build
, run
, ...) should be applied with the --check_visibility=false
option. This is a extremely bad solution, and will be fixed in the future.
To get the project running you'll need Bazel, OpenCV and FFmpeg. Installation instructions for all these may be found on the MediaPipe installation guide, please follow it.
The hello world example, within src
is the same as MediaPipe's Hello World! on Desktop. To run it execute the follow commands:
# This is needed to see the messages on terminal.
# Otherwise they will be placed in a log file.
export GLOG_logtostderr=1
bazel run --define MEDIAPIPE_DISABLE_GPU=1 \
//src/hello_world:hello --check_visibility=false
[1] Fernando Bevilacqua. Game-calibrated and user-tailored remote detection of emotions: A non-intrusive, multifactorial camera-based approach for detecting stress and boredom of players in games. PhD thesis, University of Skövde. (link).
[2] Camillo Lugaresi, Jiuqiang Tang, Hadon Nash, Chris McClanahan, Esha Uboweja, Michael Hays, Fan Zhang, Chuo-Ling Chang, Ming Guang Yong, Juhyun Lee, Wan-Teh Chang, Wei Hua,Manfred Georg and Matthias Grundmann. MediaPipe: A Framework for Building Perception Pipelines. Google Research. (link).