Skip to main content

parse_document_orientation

Function parse_document_orientation 

Source
pub fn parse_document_orientation(
    label: &str,
    confidence: f32,
    threshold: Option<f32>,
) -> OrientationResult
Expand description

Parses document orientation from classifier output

Handles the standard document orientation angles: 0°, 90°, 180°, 270°