cvat-sdk
TypeScript icon, indicating that this package has built-in type declarations

2.9.2 • Public • Published

SDK for Computer Vision Annotation Tool (CVAT)

NPM JavaScript Style Guide

This package provides a Javascript client library for the CVAT server. It can be useful for workflow automation and writing custom CVAT server clients.

The SDK API includes several layers:

  • [x] Server API wrappers. Located in at cvat-sdk.
  • [ ] TODO: High-level tools (Core). Located at cvat-sdk/core.

Package documentation is available here.

Installation & Usage

To install a prebuilt package, run the following command in the terminal:

npm install cvat-sdk # or yarn add cvat-sdk

After installation, you can import the package:

import { Configuration, TasksApi } from 'cvat-sdk';

const configuration = new Configuration({
  username: CONFIG.CVAT.USERNAME,
  password: CONFIG.CVAT.PASSWORD,
});

const tasksApi = new TasksApi(configuration);
const task = await tasksApi.tasksRetrieve({
  id: 1,
});

cvat-sdk npminsights.com

Module Stats

See Rollup Visualizer

Package Sidebar

Install

npm i cvat-sdk

Weekly Downloads

3

Version

2.9.2

License

MIT

Unpacked Size

8.46 MB

Total Files

224

Last publish

Collaborators

  • subho57