fix bugs about normalize
This commit is contained in:
parent
644934fe62
commit
51ae7008d0
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ def get_tf_cams(cam_dict, target_radius=1.):
|
||||||
return center.flatten(), diagonal
|
return center.flatten(), diagonal
|
||||||
|
|
||||||
center, diagonal = get_center_and_diag(cam_centers)
|
center, diagonal = get_center_and_diag(cam_centers)
|
||||||
radius = diagonal / 2. * 1.1
|
radius = diagonal * 1.1
|
||||||
|
|
||||||
translate = -center
|
translate = -center
|
||||||
scale = target_radius / radius
|
scale = target_radius / radius
|
||||||
|
|
Loading…
Reference in a new issue