MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / OpenFaceDetector_

Method OpenFaceDetector_

jni/stasm/MOD_1/facedet.cpp:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17//-----------------------------------------------------------------------------
18
19void 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

Callers 1

stasm_init_extFunction · 0.80

Calls 1

OpenDetectorFunction · 0.85

Tested by

no test coverage detected