MPIFaceDetector
MPIFaceDetector is the Ikaros port of the MPISearch face detector in the Machine Perception Toolbox. The module can be used either to find one face and two eyes or to find maximally 10 faces in an image. Positions and sizes are given as fractions of the image size.
Example XML definition
A simple example
<module class = "MPIFaceDetector" name = "MPIFaceDetector" />
Module Connections
Inputs
Name | Description |
---|---|
INPUT | The input image |
Outputs
Name | Description |
---|---|
OUTPUT | The image with the faces indicated by rectangles |
FACE | The face cut out from the input image |
EYE_LEFT | The left eye cut out from the input image |
EYE_RIGHT | The left eye cut out from the input image |
FACE_POSITION | Location of one face in the image (0-1) |
EYE_LEFT_POSITION | Location of the left eye in the image (0-1) |
EYE_RIGHT_POSITION | Location of the right eye in the image (0-1) |
FACES | Location of all faces in the image (0-1) and their sizes; each row consists of x, y, size_x and size_y for one face |
Bugs
The face cut out and eyes should be scaled to a standard size and the position smoothed over time. It is fairly useless right now.
When many faces are detected, the most central one should be selected for output and eye-analysis.
The MPT code should be separately compiled to a library.
6 compiler warnings should be removed.
Author
Christian Balkenius
christian.balkenius@lucs.lu.se
Lund Univeristy Cognitive Science
Files
MPIFaceDetector.h
MPIFaceDetector.cc
MPIFaceDetector.ikc