samples/IFaceTest/FaceRegistrationUtility.cpp
////////////////////////////////////////////////////////////////////////////////////////
/// This routine is a function of the Face Registration Utility
///  written by Ren Haibing 
///   the face model is in the default directory
/// Acknowledge		:
///
/// Function name	: FaceRegistration_Init
/// Description	    : init IflibFaceAnalyzer for face registration  
///
/// Argument		:	
///
/// Return type		: 
///
/// Create Time		: 2014-11-18  10:20
///
///
/// Side Effect		: 
///
///////////////////////////////////////////////////////////////////////////////////////////////
This routine is a function of the Face Registration Utility
written by Ren Haibing
the face model is in the default directory
Acknowledge            .

Function name  : FaceRegistration_Init
Description        : init IflibFaceAnalyzer for face registration

Argument               .

Return type            .



Side Effect            .
This routine is a function of the Face Registration Utility written by Ren Haibing the face model is in the default directory Acknowledge . Function name : FaceRegistration_Init Description : init IflibFaceAnalyzer for face registration Argument . Return type . Side Effect .
void FaceRegistration_Init(const char *str_facesetxml, const char * xmlEyeLeftCorner, const char * xmlMthLeftCorner, const char *sFaceRecognizer_modelpath)
{
	if(m_faceAnalyzer == NULL)
	{
		EnumTrackerType traType   = TRA_HAAR; 
		EnumViewAngle   viewAngle = VIEW_ANGLE_FRONTAL; 
		int recognizerType = RECOGNIZER_CAS_GLOH;  
		bool bEnableAutoCluster =  false;
		bool bEnableShapeRegressor =  true;
		m_faceAnalyzer = new IFaceFaceAnalyzer(
            viewAngle, traType, 0,
			str_facesetxml, recognizerType, bEnableAutoCluster, bEnableShapeRegressor, xmlEyeLeftCorner, xmlMthLeftCorner, sFaceRecognizer_modelpath);
	}
}
void FaceRegistration_Init ( const char * str_facesetxml , const char * xmlEyeLeftCorner , const char * xmlMthLeftCorner , const char * sFaceRecognizer_modelpath ) { if ( m_faceAnalyzer == NULL ) { EnumTrackerType traType = TRA_HAAR ; EnumViewAngle viewAngle = VIEW_ANGLE_FRONTAL ; int recognizerType = RECOGNIZER_CAS_GLOH ; bool bEnableAutoCluster = false ; bool bEnableShapeRegressor = true ; m_faceAnalyzer = new IFaceFaceAnalyzer ( viewAngle , traType , 0 , str_facesetxml , recognizerType , bEnableAutoCluster , bEnableShapeRegressor , xmlEyeLeftCorner , xmlMthLeftCorner , sFaceRecognizer_modelpath ) ; } }
This routine is a function of the Face Registration Utility
written by Ren Haibing
the face model is in the default directory
Acknowledge            :
This routine is a function of the Face Registration Utility written by Ren Haibing the face model is in the default directory Acknowledge :
//TRA_PF; //VIEW_ANGLE_HALF_MULTI; // //int  sampleRate = 1; //RECOGNIZER_BOOST_GB240 //false;//true; //false;//true;