Skip to main content

VisionContour

Type Alias VisionContour 

Source
pub type VisionContour = Contour;
Available on crate feature contours only.
Expand description

Public alias for the dedicated VNContour wrapper.

Aliased Type§

pub struct VisionContour {
    pub points: Vec<LandmarkPoint>,
    pub child_count: isize,
    pub aspect_ratio: f32,
}

Fields§

§points: Vec<LandmarkPoint>

Vertices in path order, normalised to 0.0..=1.0.

§child_count: isize

Number of child (nested) contours inside this one.

§aspect_ratio: f32

Bounding-box width / height of this contour.