Open
Description
Hi, @Qengineering
what I noticed that you are aligning the face in TWrap:
cv::warpPerspective(SmallFrame, aligned, m, cv::Size(96, 112), cv::INTER_LINEAR);
resize(aligned, aligned, cv::Size(112, 112), 0, 0, cv::INTER_LINEAR);
I saw from ncnn repo:
[
cv::warpAffine(img_src.clone(), *face_aligned, transfer_mat, cv::Size(112, 112), 1, 0, 0);)
is this make a huge diference ? you are usingb (cv::Size(96, 112)) after that resing , below one ise directly 112,112
would you mind to look at it ?
Metadata
Metadata
Assignees
Labels
No labels