Free Motion Capture for Everyone πβ¨
TypeScript
Patch progress_callback bug in AniposeCameraCalibrator (#696)
Aaron Cherianee037feab093
diff --git a/freemocap/core_processes/capture_volume_calibration/anipose_camera_calibration/anipose_camera_calibrator.py b/freemocap/core_processes/capture_volume_calibration/anipose_camera_calibration/anipose_camera_calibrator.pyindex 843a2d6c..3610235d 100644--- a/freemocap/core_processes/capture_volume_calibration/anipose_camera_calibration/anipose_camera_calibrator.py+++ b/freemocap/core_processes/capture_volume_calibration/anipose_camera_calibration/anipose_camera_calibrator.py@@ -27,7 +27,7 @@ class AniposeCameraCalibrator:charuco_board_object: CharucoBoardDefinition,charuco_square_size: Union[int, float],calibration_videos_folder_path: Union[str, Path],- progress_callback: Callable[[str], None] = None,+ progress_callback: Callable[[str], None] = lambda _: None):self._charuco_board_object = charuco_board_objectself._progress_callback = progress_callbackdiff --git a/freemocap/core_processes/capture_volume_calibration/run_anipose_capture_volume_calibration.py b/freemocap/core_processes/capture_volume_calibration/run_anipose_capture_volume_calibration.pyindex 0505865e..db9447d3 100644--- a/freemocap/core_processes/capture_volume_calibration/run_anipose_capture_volume_calibration.py+++ b/freemocap/core_processes/capture_volume_calibration/run_anipose_capture_volume_calibration.py@@ -18,7 +18,7 @@ def run_anipose_capture_volume_calibration(charuco_square_size: float,calibration_videos_folder_path: Union[str, Path],pin_camera_0_to_origin: bool = True,- progress_callback: Callable[[str], None] = None,+ progress_callback: Callable[[str], None] = lambda _: None,) -> Path:anipose_camera_calibrator = AniposeCameraCalibrator(charuco_board_definition,