Load the transformation matrix from a .npy file. This transformation matrix converts coordinates from the Faro laser scan coordinate system to the ARKit coodinate system. Args: visit_id (str): The identifier of the scene. video_id (str): The identifier of th
(self, visit_id, video_id)
| 510 | return desired_pose |
| 511 | |
| 512 | def get_transform(self, visit_id, video_id): |
| 513 | """ |
| 514 | Load the transformation matrix from a .npy file. This transformation matrix converts coordinates from the Faro laser scan coordinate system to the ARKit coodinate system. |
| 515 | |
| 516 | Args: |
| 517 | visit_id (str): The identifier of the scene. |
| 518 | video_id (str): The identifier of the video sequence. |
| 519 | |
| 520 | Returns: |
| 521 | (numpy.ndarray): The estimated transformation matrix loaded from the file. |
| 522 | """ |
| 523 | transform_path = self.get_data_asset_path(data_asset_identifier="transform", visit_id=visit_id, video_id=video_id) |
| 524 | transform = np.load(transform_path) |
| 525 | return transform |
| 526 | |
| 527 | def read_rgb_frame(self, rgb_frame_path, normalize=False): |
| 528 | """ |
no test coverage detected