Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Commit

Permalink
fix umeyama for landmark alignment of side faces
Browse files Browse the repository at this point in the history
  • Loading branch information
iperov committed Oct 24, 2019
1 parent 59d6fad commit 0448a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mathlib/umeyama.py
Expand Up @@ -57,7 +57,7 @@ def umeyama(src, dst, estimate_scale):
T[:dim, :dim] = np.dot(U, np.dot(np.diag(d), V))
d[dim - 1] = s
else:
T[:dim, :dim] = np.dot(U, np.dot(np.diag(d), V.T))
T[:dim, :dim] = np.dot(U, np.dot(np.diag(d), V))

if estimate_scale:
# Eq. (41) and (42).
Expand Down

0 comments on commit 0448a46

Please sign in to comment.