Skip to main content

coco_segmentation_to_polygon

Function coco_segmentation_to_polygon 

Source
pub fn coco_segmentation_to_polygon(
    segmentation: &CocoSegmentation,
    image_width: u32,
    image_height: u32,
) -> Result<Polygon, Error>
Expand description

Convert any COCO segmentation to EdgeFirst Polygon.

Handles all segmentation types: polygon, RLE, and compressed RLE.