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.
Boris Sekachev d85d777040 CVAT.js API Tests (#578)
* Added annotations dummy data

* Added test file

* Weak maps instead of regular dict

* Added 14 API tests

* Fixed put tests

* Some written tests and some additional checks

* Merge tests

* Split & group tests

* Clear annotations tests

* Statistics tests

* Added frames meta

* Selection tests & bug fixes

* Tests for frame

* ObjectState tests, many fixed bugs

* Object state tests

* Renamed method FrameData.frame() => FrameData.data()
7 years ago
..
src CVAT.js API Tests (#578) 7 years ago
tests CVAT.js API Tests (#578) 7 years ago
.eslintrc.js Saving of annotations on the server (#561) 7 years ago
README.md CVAT.js (part 1) (#463) 7 years ago
jest.config.js CVAT.js (part 1) (#463) 7 years ago
jsdoc.config.js CVAT.js (part 1) (#463) 7 years ago
package.json CVAT.js (part 1) (#463) 7 years ago
webpack.config.js CVAT.js (part 1) (#463) 7 years ago

README.md

Computer Vision Annotation Tool (JS)

Description

This CVAT module has been created in order to easy integration process with CVAT.

Short development manual

  • Install dependencies
npm install
  • Build library from sources in dist directory:
npm run-script build
npm run build -- --mode=development     # without a minification
  • Build documentation in docs directory:
npm run-script docs
  • Run tests:
npm run-script test
  • Update version of library:
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