This tutorial guides you through the process using the Dataloop SDK to create and upload annotations into items.
The tutorial includes chapters with different tools, and the last chapter includes various more advanced scripts

1. Setup

import dtlpy as dl
if dl.token_expired():
project = dl.projects.get(project_name='project_name')
dataset = project.datasets.get(dataset_name='dataset_name')

2. Initiation

Using the annotation definitions classes you can create, edit, view and upload platform annotations. Each annotation init receives the coordinates for the specific type, label, and optional attributes.

3. Optional Plotting

Before updating items with annotations, you can optionally plot the annotation you created and review it before uploading it. This applies to all annotations described in the following section.

import matplotlib.pyplot as plt
for annotation in builder: