Skip to main content

create_annotation_layer

Function create_annotation_layer 

Source
pub fn create_annotation_layer(
    result: &AnalysisResult,
    output_width: usize,
    output_height: usize,
    flip_vertical: bool,
    config: &AnnotationConfig,
) -> Vec<u8> 
Expand description

Rasterize annotations into a transparent RGBA buffer (same dimensions as output image).