calib_targets_charuco/detector/result.rs
1use calib_targets_aruco::MarkerDetection;
2use calib_targets_core::{GridAlignment, TargetDetection};
3use serde::Serialize;
4
5/// Output of a ChArUco detection run.
6#[derive(Clone, Debug, Serialize)]
7pub struct CharucoDetectionResult {
8 pub detection: TargetDetection,
9 /// Raw marker detections in the rectified grid coordinate system.
10 pub markers: Vec<MarkerDetection>,
11 /// Alignment from the rectified grid coordinate system into board coordinates.
12 pub alignment: GridAlignment,
13}