You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.2 KiB
1.2 KiB
| title | linkTitle | weight | description |
|---|---|---|---|
| Python SDK | SDK | 3 |
Overview
SDK is a Python library. It provides you access to Python function and objects, which simplify server interaction and provide additional functionality like data validation.
SDK API includes 2 layers:
- Low-level API with REST API wrappers. Located in at
cvat_sdk.api_client. Read more - High-level API. Located at
cvat_sdk.core. Read more
Roughly, low-level API provides single-request operations, while the high-level one allows you to use composite, multi-request operations and have local counterparts for server objects. For most uses, the high-level API should be good enough and sufficient, and it should be right point to start your integration with CVAT.
Installation
To install an official release of CVAT SDK use this command:
pip install cvat-sdk
We support Python versions 3.7 - 3.9.
Usage
To import the package components, use the following code:
For high-level API:
import cvat_sdk
# or
import cvat_sdk.core
For low-level API:
import cvat_sdk.api_client