Manage Annotation Workflow
List image batches, list annotation jobs, and assign images to labelers from the Python SDK.
List image batches
import roboflow
rf = roboflow.Roboflow(api_key="YOUR_API_KEY")
project = rf.workspace().project("my-detector")
batches = project.get_batches()
for b in batches.get("batches", []):
print(b["id"], b["name"], b["images"], "images")batch = project.get_batch("<batch-id>")
print(batch)List annotation jobs
jobs = project.get_annotation_jobs()
for job in jobs.get("jobs", []):
print(job["id"], job["name"], job["status"], job["annotated"], "/", job["numImages"])Create an annotation job
Parameters
Save an annotation programmatically
REST and CLI equivalents
Last updated
Was this helpful?