(data, result_path, npy_path, caption)
| 36 | |
| 37 | |
| 38 | def plot_interhuman(data, result_path, npy_path, caption): |
| 39 | data = data.reshape(data.shape[0], 2, -1) |
| 40 | joints1 = data[:, 0, :22 * 3].reshape(-1, 22, 3) |
| 41 | joints2 = data[:, 1, :22 * 3].reshape(-1, 22, 3) |
| 42 | joints1 = motion_temporal_filter(joints1, sigma=4.5) |
| 43 | joints2 = motion_temporal_filter(joints2, sigma=4.5) |
| 44 | plot_siamese_3d_motion(save_path=result_path, |
| 45 | kinematic_tree=t2m_kinematic_chain, |
| 46 | mp_joints=[joints1, joints2], |
| 47 | title=caption, |
| 48 | fps=30) |
| 49 | |
| 50 | |
| 51 | def parse_args(): |
no test coverage detected