Skip to content

rafaelaaraujo/Face-detect-framework

Repository files navigation

Framework for Monitoring Attention and Detection of Expressions

Open Source Love MIT Licence

This framework supports biofeedback of application users for the Android/RemixOS platform. Its main objective is to enable new applications to offer online monitoring functionality of users' attention and expressions. Through the analysis of the data obtained from the camera embedded in a computer system, the framework is able to provide resources that allow the recognition of patterns about the behavior and / or emotions captured during the execution of some activities.

International Journal of Computer Applications

Scructural Description

Attention Monitoring

The software is able to identify a person and starts to measure the attention level of the individual, as long as they look towards the camera. Each frame obtained either by using a saved video or in real time through the camera, a face detection algorithm is applied in order to determine the level of attention. Using facial knowledge and looking for distinctive brightness gradients of the eye the attention meter can quickly find, detect eyes, and measure the intermittent rate of a face over several frames. Each identified face is given a rating for attention that varies over time. It starts at 0 and increases according to the attention exhibited by the individual.

Expression Recognition

The Fisherfaces algorithm available in the OpenCV library was used in the system so it could learn to recognize expression patterns, which uses ideal machine learning for facial recognition. In Fisherfaces, all pixels of a face, or the image that contains a face is utilized as input of the recognition system. Thus, all images information can be considered in this approach despite having a disadvantage of the high dimensional data increasing computational costs. To solve this problem, the statistical method Principal Component Analysis (PCA) is used in order to have a Dimensionality Reduction.