Skip to content

aligning the face #19

Open
Open
@MyraBaba

Description

@MyraBaba

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions