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.
* Test Commit for Remove Range Test Commit for Remove Range * Remove annotations in range merged with remove annotations button merged Remove annotations in range merged with remove annotations button merged * Update annotation-reducer.ts * Update annotation-actions.ts * Update annotation-reducer.ts * Converting remove range component to hook based component Removed all the global states previously used and converted all the parameters to local state in annotation menu and remove range component. * Improved clear in cvat core and implemented remove range Added arguments of startframe and endframe to clear method in annotation-collection, and also added the updating of the states with payload on removeannotationsinrangeasync action in the reducer. * Matching only the needed parts There are few additional old files that were needed to be removed to be completely matched with develop branch of cvat * Delete out.json * Update annotations-collection.js * Added a checkbox to remove range modal Added a checkbox to remove range modal that can be used to select if only the keyframes should be deleted in tracks or the whole track * ESLint fixed All the updated files were formatted as per ESLint except one line in that even cvat base is also overlooking i.e. Row 162, Column 15: "JSX props should not use functions" in cvat\cvat-ui\src\components\annotation-page\top-bar\annotation-menu.tsx. * More ESLint and other updates Changed all the suggested changes and also removed unnecessary files in dist. Removed unnecessary explicit removals in objects and additional wrappers. * Update annotation-menu.tsx Fixed the mistake of wrong variable name. * Update remove-range-confirm.tsx Additional ESLint Issue fixed * Changed the approach of removeAnnotations modal Changed the approach of removeAnnotations modal so that it could match the implementation of all the other components * Added to changelog Fixed type annotations in the annotation-menu component for remove annotations, and updated cvat-ui and cvat-core npm versions. |
4 years ago | |
|---|---|---|
| .. | ||
| docs | 6 years ago | |
| src | 4 years ago | |
| tests | 5 years ago | |
| .dockerignore | 6 years ago | |
| .eslintignore | 5 years ago | |
| .eslintrc.js | 5 years ago | |
| .gitignore | 6 years ago | |
| README.md | 5 years ago | |
| jest.config.js | 5 years ago | |
| jsdoc.config.js | 5 years ago | |
| package-lock.json | 4 years ago | |
| package.json | 4 years ago | |
| webpack.config.js | 5 years ago | |
README.md
Module CVAT-CORE
Description
This CVAT module is a client-side JavaScript library for management of objects, frames, logs, etc. It contains the core logic of the Computer Vision Annotation Tool.
Versioning
If you make changes in this package, please do following:
- After not important changes (typos, backward compatible bug fixes, refactoring) do:
npm version patch - After changing API (backward compatible new features) do:
npm version minor - After changing API (changes that break backward compatibility) do:
npm version major
Commands
- Dependencies installation
npm ci
- 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