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.
Andrey Zhavoronkov e7808cfb03
Data streaming using chunks (#1007)
Huge feature (200+ commits from different developers). It completely changes layout of data (please expect very long DB migration process if you have a lot of tasks). The primary idea is to send data as zip chunks (e.g. 36 images in one chunk) or encoded video chunks and decode them on the client side. It helps to solve the problem with latency  when you try to view a separate frame in the UI quickly (play mode).
Another important feature of the patch is to provide access to the original images. Thus for annotations the client uses compressed chunks but if you want to export a dataset Datumaro will use original chunks (but video will be decoded with original quality and encoded with maximum/optimal quality in any case).
6 years ago
..
src Data streaming using chunks (#1007) 6 years ago
tests Data streaming using chunks (#1007) 6 years ago
.dockerignore User interface with React and antd (#785) 6 years ago
.eslintrc.js User interface with react and antd (#755) 6 years ago
.gitignore Auth for REST API (api/v1/auth/*) (#622) 7 years ago
README.md Updated cvat-core (#591) 7 years ago
jest.config.js Updated dump/upload in cvat-core (#635) 7 years ago
jsdoc.config.js Updated dump/upload in cvat-core (#635) 7 years ago
package.json React UI: Better exception handling (#1297) 6 years ago
webpack.config.js Data streaming using chunks (#1007) 6 years ago

README.md

Module CVAT-CORE

Description

This CVAT module is a clien-side JavaScipt library to management of objects, frames, logs, etc. It contains the core logic of the Computer Vision Annotation Tool.

Commands

  • Dependencies installation
npm install
  • Building the module from sources in the dist directory:
npm run build
npm run build -- --mode=development     # without a minification
  • Building the documentation in the docs directory:
npm run-script docs
  • Running of tests:
npm run-script test
  • Updating of a module version:
npm version patch   # updated after minor fixes
npm version minor   # updated after major changes which don't affect API compatibility with previous versions
npm version major   # updated after major changes which affect API compatibility with previous versions

Visual studio code configurations:

  • cvat.js debug starts debugging with entrypoint api.js
  • cvat.js test builds library and runs entrypoint tests.js