If the calibration object cannot be detected in a single zdf from the whole dataset, the code sample fails. Add code to enable skipping a pair of transform and point cloud in case detection fails (we have this in the CLI tool).
|
if not detection_result.valid(): |
|
raise RuntimeError(f"Failed to detect feature points from frame {frame_file}") |
If the calibration object cannot be detected in a single zdf from the whole dataset, the code sample fails. Add code to enable skipping a pair of transform and point cloud in case detection fails (we have this in the CLI tool).
zivid-python-samples/source/applications/advanced/hand_eye_calibration/ur_hand_eye_calibration/universal_robots_perform_hand_eye_calibration.py
Lines 400 to 401 in 508f22b