mexopencv  3.4.1
MEX interface for OpenCV library
Functions | Variables
anonymous_namespace{FacemarkKazemi_.cpp} Namespace Reference

Functions

bool matlab_face_detector (InputArray image_, OutputArray faces_, void *userData)
 Custom face detector implemented as a MATLAB function. More...
 
Ptr< FacemarkKazemicreateFacemarkKazemi (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last)
 Create an instance of FacemarkKazemi using options in arguments. More...
 

Variables

int last_id = 0
 Last object id to allocate. More...
 
map< int, Ptr< FacemarkKazemi > > obj_
 Object container. More...
 
string func
 name of MATLAB function to evaluate (custom face detector) More...
 

Function Documentation

◆ createFacemarkKazemi()

Ptr<FacemarkKazemi> anonymous_namespace{FacemarkKazemi_.cpp}::createFacemarkKazemi ( vector< MxArray >::const_iterator  first,
vector< MxArray >::const_iterator  last 
)

Create an instance of FacemarkKazemi using options in arguments.

Parameters
firstiterator at the beginning of the vector range
lastiterator at the end of the vector range
Returns
smart pointer to created cv::face::FacemarkKazemi

Definition at line 58 of file FacemarkKazemi_.cpp.

◆ matlab_face_detector()

bool anonymous_namespace{FacemarkKazemi_.cpp}::matlab_face_detector ( InputArray  image_,
OutputArray  faces_,
void *  userData 
)

Custom face detector implemented as a MATLAB function.

Parameters
image_input image.
faces_output faces.
userDataoptional user-specified parameters (unused here)
Returns
success flag.

Definition at line 29 of file FacemarkKazemi_.cpp.

Variable Documentation

◆ func

string anonymous_namespace{FacemarkKazemi_.cpp}::func

name of MATLAB function to evaluate (custom face detector)

Definition at line 21 of file FacemarkKazemi_.cpp.

◆ last_id

int anonymous_namespace{FacemarkKazemi_.cpp}::last_id = 0

Last object id to allocate.

Definition at line 17 of file FacemarkKazemi_.cpp.

◆ obj_

map<int,Ptr<FacemarkKazemi> > anonymous_namespace{FacemarkKazemi_.cpp}::obj_

Object container.

Definition at line 19 of file FacemarkKazemi_.cpp.