tan_triggs_preprocessing in face recognition in iphone

asked 2018-05-28 07:27:35 -0500

mau.tasol gravatar image

updated 2018-05-28 08:19:42 -0500

I want to apply tan_triggs_preprocessing method for image processing. Can anyone please suggest to apply this in Gray image?

Following is my processing method.

-(cv::Mat)pullStandardizedFace:(cv::Rect)face fromImage:(cv::Mat&)image{

cv::Mat onlyTheFace;

cv::Mat gs_bgr(image(face).size(), CV_8UC1);
cv::cvtColor(image(face), gs_bgr, CV_BGR2GRAY);
cv::resize(gs_bgr, gs_bgr, cv::Size(100, 100), 0, 0);
return gs_bgr;

}

edit retag flag offensive close merge delete