Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Up side down align result #2

Open
cannguyen275 opened this issue Jun 4, 2021 · 1 comment
Open

Up side down align result #2

cannguyen275 opened this issue Jun 4, 2021 · 1 comment

Comments

@cannguyen275
Copy link

Hi,

I sometimes receive up-side-down aligned face by using this code.
Here is some sample:
1
0

Align code in python (scikit-image version) works perfectly. I don't know what wrong with c++ version.
Can you pls help to fix it?

Thanks,

@LamForest
Copy link

This Cpp code is an exact re-implementation of similarity transform in skimage.
However, when the SVD of a matrix is not unique. cv::SVD and np.SVD give different results This can led to your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants