Multipolygons
How to create, upload, download, draw, and split Multipolygon labels in Python SDK
Introduction
Prepare credentials
import os
from dotenv import load_dotenv
import supervisely as sly
load_dotenv(os.path.expanduser("~/supervisely.env"))
api = sly.Api.from_env()Create a project and class
Create a Multipolygon
Upload image and annotation
Download and deserialize annotation
Draw Multipolygon locally
Convert Multipolygon to polygons
JSON structure
Recap
Last updated