AnnotationSoftware / superannotate-python-sdk

SuperAnnotate Python SDK

Home Page:https://superannotate.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SuperAnnotate Python SDK

SuperAnnotate Python SDK allows access to the platform without web browser:

import superannotate as sa

sa.init("<path_to_my_config_json>")

projects = sa.search_projects("Example Project 1")

example_project = projects[0]
sa.upload_images_from_folder_to_project(example_project, "<path_to_my_images_folder>")

Installation

SDK is available on PyPI:

pip install superannotate

for COCO annotation format converters support also need to install:

pip install 'git+https://github.com/cocodataset/panopticapi.git'
pip install 'git+https://github.com/philferriere/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI'

The package officially supports Python 3.6+.

For further steps please have a look at the tutorial.

Supported Features

  • Search projects
  • Create/delete a project
  • Upload images to a project from local or AWS S3 folder
  • Upload annotations/pre-annotations to a project from local or AWS S3 folder
  • Set the annotation status of the images being uploaded
  • Export annotations from a project to a local or AWS S3 folder
  • Share and unshare a project with a team contributor
  • Invite a team contributor
  • Search images in a project
  • Download a single image
  • Copy/move image between projects
  • Get image bytes (e.g., for numpy array creation)
  • Set image annotation status
  • Download image annotations/pre-annotations
  • Create/download project annotation classes
  • Convert annotation format from/to COCO
  • Add annotations to images on platform
  • Add annotations to local SuperAnnotate format JSONs

Full SDK reference, tutorial available on Read the Docs

License

This SDK is distributed under the MIT License, see LICENSE.

Questions and Issues

For questions and issues please use this repo's issue tracker on GitHub.

About

SuperAnnotate Python SDK

https://superannotate.readthedocs.io

License:MIT License


Languages

Language:Python 89.3%Language:Jupyter Notebook 10.2%Language:Makefile 0.3%Language:Shell 0.2%