ONNX-YOLOv8-Instance-Segmentation icon indicating copy to clipboard operation
ONNX-YOLOv8-Instance-Segmentation copied to clipboard

how to get polygon coordinates of each instance?

Open davidvct opened this issue 9 months ago • 0 comments

In Yolo V8, we can extract polygon coordinates by:

model = YOLO(model_path)
result = model(image, conf=conf)[0]
polygon= result.masks.xy

how do we get the polygon coordinates in onnxruntime?

davidvct avatar Sep 12 '23 08:09 davidvct