mexopencv
3.4.1
MEX interface for OpenCV library
|
Functions | |
bool | matlab_face_detector (InputArray image_, OutputArray faces_, void *userData) |
Custom face detector implemented as a MATLAB function. More... | |
FacemarkAAM::Config | MxArrayToConfig (const MxArray &arr, mwIndex idx=0) |
Convert an MxArray to cv::face::FacemarkAAM::Config. More... | |
vector< FacemarkAAM::Config > | MxArrayToVectorConfig (const MxArray &arr) |
Convert an MxArray to std::vector<cv::face::FacemarkAAM::Config> More... | |
Ptr< FacemarkLBF > | createFacemarkLBF (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of FacemarkLBF using options in arguments. More... | |
Ptr< FacemarkAAM > | createFacemarkAAM (vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of FacemarkAAM using options in arguments. More... | |
Ptr< Facemark > | createFacemark (const string &type, vector< MxArray >::const_iterator first, vector< MxArray >::const_iterator last) |
Create an instance of Facemark using options in arguments. More... | |
Variables | |
int | last_id = 0 |
Last object id to allocate. More... | |
map< int, Ptr< Facemark > > | obj_ |
Object container. More... | |
string | func |
name of MATLAB function to evaluate (custom face detector) More... | |
Ptr<Facemark> anonymous_namespace{Facemark_.cpp}::createFacemark | ( | const string & | type, |
vector< MxArray >::const_iterator | first, | ||
vector< MxArray >::const_iterator | last | ||
) |
Create an instance of Facemark using options in arguments.
type | facemark algorithm, one of:
|
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 198 of file Facemark_.cpp.
Ptr<FacemarkAAM> anonymous_namespace{Facemark_.cpp}::createFacemarkAAM | ( | vector< MxArray >::const_iterator | first, |
vector< MxArray >::const_iterator | last | ||
) |
Create an instance of FacemarkAAM using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 153 of file Facemark_.cpp.
Ptr<FacemarkLBF> anonymous_namespace{Facemark_.cpp}::createFacemarkLBF | ( | vector< MxArray >::const_iterator | first, |
vector< MxArray >::const_iterator | last | ||
) |
Create an instance of FacemarkLBF using options in arguments.
first | iterator at the beginning of the vector range |
last | iterator at the end of the vector range |
Definition at line 94 of file Facemark_.cpp.
bool anonymous_namespace{Facemark_.cpp}::matlab_face_detector | ( | InputArray | image_, |
OutputArray | faces_, | ||
void * | userData | ||
) |
Custom face detector implemented as a MATLAB function.
image_ | input image. |
faces_ | output faces. |
userData | optional user-specified parameters (unused here) |
Definition at line 29 of file Facemark_.cpp.
FacemarkAAM::Config anonymous_namespace{Facemark_.cpp}::MxArrayToConfig | ( | const MxArray & | arr, |
mwIndex | idx = 0 |
||
) |
Convert an MxArray to cv::face::FacemarkAAM::Config.
arr | struct-array MxArray object |
idx | linear index of the struct array element |
Definition at line 58 of file Facemark_.cpp.
vector<FacemarkAAM::Config> anonymous_namespace{Facemark_.cpp}::MxArrayToVectorConfig | ( | const MxArray & | arr | ) |
Convert an MxArray to std::vector<cv::face::FacemarkAAM::Config>
arr | struct-array MxArray object |
Definition at line 72 of file Facemark_.cpp.
string anonymous_namespace{Facemark_.cpp}::func |
name of MATLAB function to evaluate (custom face detector)
Definition at line 21 of file Facemark_.cpp.
int anonymous_namespace{Facemark_.cpp}::last_id = 0 |
Last object id to allocate.
Definition at line 17 of file Facemark_.cpp.
Object container.
Definition at line 19 of file Facemark_.cpp.