10 #ifndef CVTrackedFaces_H
11 #define CVTrackedFaces_H
38 string faceMarkModelFilename,
39 int smoothLength = 5);
Utils::Averaged< CVVec2f > AvgCVVec2f
vector< cv::Point3f > CVVPoint3f
cv::CascadeClassifier CVCascadeClassifier
vector< cv::Point2f > CVVPoint2f
Live video camera calibration class with OpenCV an OpenCV calibration.
OpenCV face & facial landmark tracker class derived from CVTracked.
int _smoothLength
Smoothing filter lenght.
cv::Ptr< CVFacemark > _facemark
Facial landmarks detector smart pointer.
CVCascadeClassifier * _faceDetector
Viola-Jones face detector.
CVVPoint2f _cvPosePoints2D
vector of OpenCV point2D
vector< AvgCVVec2f > _avgPosePoints2D
vector of averaged facial landmark 2D points
bool track(CVMat imageGray, CVMat imageBgr, CVCalibration *calib) final
Tracks the a face and its landmarks.
CVRect _boundingRect
Bounding rectangle around landmarks.
CVVPoint3f _cvPosePoints3D
vector of OpenCV point2D
CVTrackedFaces(string faceClassifierFilename, string faceMarkModelFilename, int smoothLength=5)
Constructor for the facial landmark tracker.
static void delaunayTriangulate(CVMat imageBgr, const CVVPoint2f &points, bool drawDetection)
CVTracked is the pure virtual base class for tracking features in video.
Averaged template class provides an average value from a fixed size array.