|
GECKO 1.0
Human-computer interface based on hand gesture recognition
|
Initializes the face detector. -- {
//-- Load file with the classifier features:
if ( ! faceDetector.load( "/usr/local/share/OpenCV/haarcascades/haarcascade_frontalface_alt.xml" ) )
{
std::cerr << "[Error] Could not load cascade classifier features file." << std::endl;
}
//-- Factors to resize the face-detection
factorX = 1.25;
factorY = 1.25;
}
|
1.7.4