| 17 | //----------------------------------------------------------------------------- |
| 18 | |
| 19 | void FaceDetector::OpenFaceDetector_( // called by stasm_init, init face det from XML file |
| 20 | const char* datadir, // in: directory of face detector files |
| 21 | void*) // in: unused (func signature compatibility) |
| 22 | { |
| 23 | OpenDetector(facedet_g, "haarcascade_frontalface_alt2.xml", datadir); |
| 24 | } |
| 25 | |
| 26 | // If a face is near the edge of the image, the OpenCV detectors tend to |
| 27 | // return a too-small face rectangle. By adding a border around the edge |
no test coverage detected