Added filtering with last poses.
This commit is contained in:
@ -67,6 +67,7 @@ def main():
|
||||
)
|
||||
print("3D time:", time.time() - stime)
|
||||
print(np.array(poses_3d))
|
||||
print("")
|
||||
|
||||
# Load input data
|
||||
roomparams = [[0, -0.5, 1.2], [5.6, 6.4, 2.4]]
|
||||
@ -88,6 +89,16 @@ def main():
|
||||
)
|
||||
print("3D time:", time.time() - stime)
|
||||
print(np.array(poses_3d))
|
||||
print("")
|
||||
|
||||
# Run again to test last pose cache
|
||||
stime = time.time()
|
||||
poses_3d = triangulator.triangulate_poses(
|
||||
poses_2d, cameras, roomparams, joint_names
|
||||
)
|
||||
print("3D time:", time.time() - stime)
|
||||
print(np.array(poses_3d))
|
||||
print("")
|
||||
|
||||
|
||||
# ==================================================================================================
|
||||
|
||||
Reference in New Issue
Block a user