pub fn parse_orientation_angle(
label: &str,
confidence: f32,
threshold: Option<f32>,
valid_angles: &[f32],
) -> OrientationResultExpand description
Parses an orientation angle from a label, accepting numeric (“0”, “90.0”)
and descriptive (“upright”, “inverted”, …) forms, validated against
valid_angles. Unknown or out-of-set labels yield an uncertain result.