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}") |