Home | History | Annotate | Download | only in src

Lines Matching refs:lpFaceData

176 void RFace::CalculateError(FaceData * lpFaceData)
178 CvRect LeftEyeRect = lpFaceData->LeftEyeRect;
179 CvRect RightEyeRect = lpFaceData->RightEyeRect;
180 CvRect MouthRect = lpFaceData->MouthRect;
191 lpFaceData->Error = (double)(LeftSquare - RightSquare)*(double)(LeftSquare - RightSquare)/((double)(LeftSquare + RightSquare)*(LeftSquare + RightSquare)) +
196 }//void RFace::CalculateError(FaceData * lpFaceData)
207 FaceData * lpFaceData = (FaceData*)lpData;
279 lpFaceData->MouthRect = *(CvRect*)m_lppFoundedFaceFeatures[0][MouthNumber].GetContour();
281 lpFaceData->MouthRect = *(CvRect*)m_lpIdealFace[0].GetContour();
284 lpFaceData->LeftEyeRect = *(CvRect*)m_lppFoundedFaceFeatures[1][LeftEyeNumber].GetContour();
286 lpFaceData->LeftEyeRect = *(CvRect*)m_lpIdealFace[1].GetContour();
289 lpFaceData->RightEyeRect = *(CvRect*)m_lppFoundedFaceFeatures[2][RightEyeNumber].GetContour();
291 lpFaceData->RightEyeRect = *(CvRect*)m_lpIdealFace[2].GetContour();
293 lpFaceData->Error = CurError;