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.
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 | 6 years ago | |
| tests | 6 years ago | |
| .dockerignore | 6 years ago | |
| .eslintrc.js | 6 years ago | |
| .gitignore | 7 years ago | |
| README.md | 7 years ago | |
| jest.config.js | 7 years ago | |
| jsdoc.config.js | 7 years ago | |
| package.json | 6 years ago | |
| webpack.config.js | 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
distdirectory:
npm run build
npm run build -- --mode=development # without a minification
- Building the documentation in the
docsdirectory:
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