(skeleton, joint_idx)
| 31 | |
| 32 | def check_static_motion(self, verbose=False): |
| 33 | def get_variance(skeleton, joint_idx): |
| 34 | wrist_pos = skeleton[:, joint_idx] |
| 35 | variance = np.sum(np.var(wrist_pos, axis=0)) |
| 36 | return variance |
| 37 | |
| 38 | left_arm_var = get_variance(self.skeletons, 6) |
| 39 | right_arm_var = get_variance(self.skeletons, 9) |
nothing calls this directly
no outgoing calls
no test coverage detected