Beispiel #1
0
 def test_rig_recover_inplace_consistency(self):
     # compare inplace and not inplace
     trajectories_inplace = deepcopy(self._trajectories_cams)
     rigs_inplace = deepcopy(self._rigs)
     kapture.rigs_recover_inplace(trajectories_inplace, rigs_inplace)
     trajectories_not_inplace = kapture.rigs_recover(self._trajectories_cams, self._rigs)
     self.assertTrue(equal_trajectories(trajectories_inplace, trajectories_not_inplace))
Beispiel #2
0
 def test_rig_recover(self):
     trajectories_w_rigs = kapture.rigs_recover(self._trajectories_cams,
                                                self._rigs)
     self.assertTrue(
         equal_trajectories(trajectories_w_rigs, self._trajectories_rigs))