opencv2/face/facemark_train.hpp#

#include <opencv2/face/facemark.hpp>
#include <opencv2/xobjdetect.hpp>
#include <vector>
#include <string>

Include dependency graph for facemark_train.hpp:

opencv2/face/facemark_train.hpp Node1 opencv2/face/facemark _train.hpp Node2 opencv2/face/facemark.hpp Node1->Node2 Node18 string Node1->Node18 Node39 vector Node1->Node39 Node53 opencv2/xobjdetect.hpp Node1->Node53 Node3 opencv2/core.hpp Node2->Node3 Node2->Node39 Node4 opencv2/core/cvdef.h Node3->Node4 Node11 opencv2/core/base.hpp Node3->Node11 Node15 opencv2/core/cvstd.hpp Node3->Node15 Node31 opencv2/core/traits.hpp Node3->Node31 Node32 opencv2/core/matx.hpp Node3->Node32 Node37 opencv2/core/types.hpp Node3->Node37 Node40 opencv2/core/mat.hpp Node3->Node40 Node44 opencv2/core/persistence.hpp Node3->Node44 Node45 opencv2/core/operations.hpp Node3->Node45 Node48 opencv2/core/cvstd.inl.hpp Node3->Node48 Node49 opencv2/core/utility.hpp Node3->Node49 Node52 opencv2/core/optim.hpp Node3->Node52 Node5 opencv2/core/version.hpp Node4->Node5 Node6 limits Node4->Node6 Node7 opencv2/core/hal/interface.h Node4->Node7 Node9 cstdint Node4->Node9 Node10 cv_cpu_dispatch.h Node4->Node10 Node8 cstddef Node7->Node8 Node7->Node9 Node11->Node4 Node12 opencv2/opencv_modules.hpp Node11->Node12 Node13 climits Node11->Node13 Node14 algorithm Node11->Node14 Node11->Node15 Node25 opencv2/core/fwddecl.hpp Node11->Node25 Node26 opencv2/core/neon_utils.hpp Node11->Node26 Node27 opencv2/core/vsx_utils.hpp Node11->Node27 Node29 opencv2/core/exception.hpp Node11->Node29 Node30 opencv2/core/check.hpp Node11->Node30 Node15->Node4 Node15->Node8 Node15->Node14 Node16 cstring Node15->Node16 Node17 cctype Node15->Node17 Node15->Node18 Node19 utility Node15->Node19 Node20 cstdlib Node15->Node20 Node21 cmath Node15->Node21 Node22 cvstd_wrapper.hpp Node15->Node22 Node22->Node4 Node22->Node18 Node23 memory Node22->Node23 Node24 type_traits Node22->Node24 Node25->Node4 Node26->Node4 Node27->Node4 Node28 assert.h Node27->Node28 Node29->Node4 Node29->Node15 Node30->Node4 Node30->Node15 Node30->Node25 Node31->Node4 Node32->Node4 Node32->Node11 Node32->Node31 Node33 opencv2/core/saturate.hpp Node32->Node33 Node35 initializer_list Node32->Node35 Node36 opencv2/core/matx.inl.hpp Node32->Node36 Node33->Node4 Node33->Node13 Node34 opencv2/core/fast_math.hpp Node33->Node34 Node34->Node4 Node34->Node21 Node37->Node4 Node37->Node6 Node37->Node13 Node37->Node15 Node37->Node32 Node38 cfloat Node37->Node38 Node37->Node39 Node40->Node24 Node40->Node32 Node40->Node37 Node41 opencv2/core/bufferpool.hpp Node40->Node41 Node42 array Node40->Node42 Node43 opencv2/core/mat.inl.hpp Node40->Node43 Node44->Node37 Node44->Node40 Node46 cstdio Node45->Node46 Node47 ostream Node45->Node47 Node49->Node3 Node49->Node47 Node50 functional Node49->Node50 Node51 mutex Node49->Node51 Node52->Node3 Node53->Node3 Node53->Node18 Node53->Node39 Node54 opencv2/xobjdetect /detection_based_tracker.hpp Node53->Node54 Node54->Node3 Node54->Node39

opencv2/face/facemark_train.hpp Node1 opencv2/face/facemark _train.hpp Node2 opencv2/face/facemark.hpp Node1->Node2 Node18 string Node1->Node18 Node39 vector Node1->Node39 Node53 opencv2/xobjdetect.hpp Node1->Node53 Node3 opencv2/core.hpp Node2->Node3 Node2->Node39 Node4 opencv2/core/cvdef.h Node3->Node4 Node11 opencv2/core/base.hpp Node3->Node11 Node15 opencv2/core/cvstd.hpp Node3->Node15 Node31 opencv2/core/traits.hpp Node3->Node31 Node32 opencv2/core/matx.hpp Node3->Node32 Node37 opencv2/core/types.hpp Node3->Node37 Node40 opencv2/core/mat.hpp Node3->Node40 Node44 opencv2/core/persistence.hpp Node3->Node44 Node45 opencv2/core/operations.hpp Node3->Node45 Node48 opencv2/core/cvstd.inl.hpp Node3->Node48 Node49 opencv2/core/utility.hpp Node3->Node49 Node52 opencv2/core/optim.hpp Node3->Node52 Node5 opencv2/core/version.hpp Node4->Node5 Node6 limits Node4->Node6 Node7 opencv2/core/hal/interface.h Node4->Node7 Node9 cstdint Node4->Node9 Node10 cv_cpu_dispatch.h Node4->Node10 Node8 cstddef Node7->Node8 Node7->Node9 Node11->Node4 Node12 opencv2/opencv_modules.hpp Node11->Node12 Node13 climits Node11->Node13 Node14 algorithm Node11->Node14 Node11->Node15 Node25 opencv2/core/fwddecl.hpp Node11->Node25 Node26 opencv2/core/neon_utils.hpp Node11->Node26 Node27 opencv2/core/vsx_utils.hpp Node11->Node27 Node29 opencv2/core/exception.hpp Node11->Node29 Node30 opencv2/core/check.hpp Node11->Node30 Node15->Node4 Node15->Node8 Node15->Node14 Node16 cstring Node15->Node16 Node17 cctype Node15->Node17 Node15->Node18 Node19 utility Node15->Node19 Node20 cstdlib Node15->Node20 Node21 cmath Node15->Node21 Node22 cvstd_wrapper.hpp Node15->Node22 Node22->Node4 Node22->Node18 Node23 memory Node22->Node23 Node24 type_traits Node22->Node24 Node25->Node4 Node26->Node4 Node27->Node4 Node28 assert.h Node27->Node28 Node29->Node4 Node29->Node15 Node30->Node4 Node30->Node15 Node30->Node25 Node31->Node4 Node32->Node4 Node32->Node11 Node32->Node31 Node33 opencv2/core/saturate.hpp Node32->Node33 Node35 initializer_list Node32->Node35 Node36 opencv2/core/matx.inl.hpp Node32->Node36 Node33->Node4 Node33->Node13 Node34 opencv2/core/fast_math.hpp Node33->Node34 Node34->Node4 Node34->Node21 Node37->Node4 Node37->Node6 Node37->Node13 Node37->Node15 Node37->Node32 Node38 cfloat Node37->Node38 Node37->Node39 Node40->Node24 Node40->Node32 Node40->Node37 Node41 opencv2/core/bufferpool.hpp Node40->Node41 Node42 array Node40->Node42 Node43 opencv2/core/mat.inl.hpp Node40->Node43 Node44->Node37 Node44->Node40 Node46 cstdio Node45->Node46 Node47 ostream Node45->Node47 Node49->Node3 Node49->Node47 Node50 functional Node49->Node50 Node51 mutex Node49->Node51 Node52->Node3 Node53->Node3 Node53->Node18 Node53->Node39 Node54 opencv2/xobjdetect /detection_based_tracker.hpp Node53->Node54 Node54->Node3 Node54->Node39

This graph shows which files directly or indirectly include facemark_train.hpp:

incby n888e1d5256 opencv2/face.hpp n04fea5df2d opencv2/face/face_alignment.hpp n888e1d5256->n04fea5df2d n6b98c9ed39 opencv2/face/facemarkAAM.hpp n888e1d5256->n6b98c9ed39 n7fd27e531a opencv2/face/facemarkLBF.hpp n888e1d5256->n7fd27e531a n380128427f opencv2/face/facemark_train.hpp n888e1d5256->n380128427f n32b2bc5624 opencv2/face/facerec.hpp n888e1d5256->n32b2bc5624 n04fea5df2d->n380128427f n6b98c9ed39->n380128427f n7fd27e531a->n380128427f n32b2bc5624->n888e1d5256

incby n888e1d5256 opencv2/face.hpp n04fea5df2d opencv2/face/face_alignment.hpp n888e1d5256->n04fea5df2d n6b98c9ed39 opencv2/face/facemarkAAM.hpp n888e1d5256->n6b98c9ed39 n7fd27e531a opencv2/face/facemarkLBF.hpp n888e1d5256->n7fd27e531a n380128427f opencv2/face/facemark_train.hpp n888e1d5256->n380128427f n32b2bc5624 opencv2/face/facerec.hpp n888e1d5256->n32b2bc5624 n04fea5df2d->n380128427f n6b98c9ed39->n380128427f n7fd27e531a->n380128427f n32b2bc5624->n888e1d5256

Classes#

struct cv::face::CParams
class cv::face::FacemarkTrain

Abstract base class for trainable facemark models. More…

Namespaces#

namespace cv
namespace cv::face

Functions#

void cv::face::drawFacemarks (InputOutputArray image, InputArray points, Scalar color=Scalar(255, 0, 0))

Utility to draw the detected facial landmark points.

bool cv::face::getFaces (InputArray image, OutputArray faces, CParams *params)

Default face detector This function is mainly utilized by the implementation of a Facemark Algorithm. End users are advised to use function Facemark::getFaces which can be manually defined and circumvented to the algorithm by Facemark::setFaceDetector.

bool cv::face::getFacesHAAR (InputArray image, OutputArray faces, const String &face_cascade_name)
bool cv::face::loadDatasetList (String imageList, String annotationList, std::vector< String > &images, std::vector< String > &annotations)

A utility to load list of paths to training image and annotation file.

bool cv::face::loadFacePoints (String filename, OutputArray points, float offset=0.0f)

A utility to load facial landmark information from a given file.

bool cv::face::loadTrainingData (std::vector< String > filename, std::vector< std::vector< Point2f > > &trainlandmarks, std::vector< String > &trainimages)

This function extracts the data for training from .txt files which contains the corresponding image name and landmarks. The first file in each file should give the path of the image whose landmarks are being described in the file. Then in the subsequent lines there should be coordinates of the landmarks in the image i.e each line should be of the form x,y where x represents the x coordinate of the landmark and y represents the y coordinate of the landmark.

bool cv::face::loadTrainingData (String filename, std::vector< String > &images, OutputArray facePoints, char delim=’ ', float offset=0.0f)

A utility to load facial landmark dataset from a single file.

bool cv::face::loadTrainingData (String imageList, String groundTruth, std::vector< String > &images, OutputArray facePoints, float offset=0.0f)

A utility to load facial landmark information from the dataset.