OpenCV  3.3.1-dev
Open Source Computer Vision
Classes | Typedefs | Functions
cv::face Namespace Reference

Classes

class  BasicFaceRecognizer
 
class  BIF
 
struct  CParams
 
class  EigenFaceRecognizer
 
class  Facemark
 Abstract base class for all facemark models. More...
 
class  FacemarkAAM
 
class  FacemarkKazemi
 
class  FacemarkLBF
 
class  FaceRecognizer
 Abstract base class for all face recognition models. More...
 
class  FisherFaceRecognizer
 
class  LBPHFaceRecognizer
 
class  PredictCollector
 Abstract base class for all strategies of prediction result handling. More...
 
class  StandardCollector
 Default predict collector. More...
 

Typedefs

typedef bool(* FN_FaceDetector) (InputArray, OutputArray, void *userData)
 

Functions

void drawFacemarks (InputOutputArray image, InputArray points, Scalar color=Scalar(255, 0, 0))
 Utility to draw the detected facial landmark points. More...
 
bool 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. More...
 
bool getFacesHAAR (InputArray image, OutputArray faces, const String &face_cascade_name)
 
bool 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. More...
 
bool loadFacePoints (String filename, OutputArray points, float offset=0.0f)
 A utility to load facial landmark information from a given file. More...
 
bool 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. More...
 
bool 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. More...
 
bool 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. More...