Skip to content
Permalink
Browse files

fix umeyama for landmark alignment of side faces

  • Loading branch information...
iperov committed Oct 24, 2019
1 parent 59d6fad commit 0448a461f5fdf50e4ae02951517363531949cf4f
Showing with 1 addition and 1 deletion.
  1. +1 −1 mathlib/umeyama.py
@@ -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).

0 comments on commit 0448a46

Please sign in to comment.
You can’t perform that action at this time.