ONNX-YOLOv8-Instance-Segmentation
ONNX-YOLOv8-Instance-Segmentation copied to clipboard
how to get polygon coordinates of each instance?
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?