69 Commits (fb0b8675e1811301edd7f1222b4a4e3c0f21d3cd)

Author SHA1 Message Date
Boris Sekachev fb0b8675e1
Grid view and multiple context images supported (#5542)
### Motivation and context
<img width="1918" alt="image"
src="https://user-images.githubusercontent.com/40690378/210207552-7a7dcb0b-4f0c-4cb6-a030-9522ff68a710.png">
<img width="1920" alt="image"
src="https://user-images.githubusercontent.com/40690378/210207577-d05503e8-71d5-4e5c-aecd-03e5a762d7b1.png">
3 years ago
Boris Sekachev 460df331e4
Implemented propagate backward (#5355)
<!-- Raised an issue to propose your change
(https://github.com/cvat-ai/cvat/issues).
It helps to avoid duplication of efforts from multiple independent
contributors.
Discuss your ideas with maintainers to be sure that changes will be
approved and merged.
Read the
[CONTRIBUTION](https://github.com/cvat-ai/cvat/blob/develop/CONTRIBUTING.md)
guide. -->

<!-- Provide a general summary of your changes in the Title above -->

### Motivation and context
Resolved #2998

<img width="428" alt="image"
src="https://user-images.githubusercontent.com/40690378/203806586-1367477b-cfff-46f1-947b-d0292cd6f02e.png">


### How has this been tested?
<!-- Please describe in detail how you tested your changes.
Include details of your testing environment, and the tests you ran to
see how your change affects other areas of the code, etc. -->

### Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply.
If an item isn't applicable by a reason then ~~explicitly
strikethrough~~ the whole
line. If you don't do that github will show an incorrect process for the
pull request.
If you're unsure about any of these, don't hesitate to ask. We're here
to help! -->
- [x] I submit my changes into the `develop` branch
- [x] I have added a description of my changes into
[CHANGELOG](https://github.com/cvat-ai/cvat/blob/develop/CHANGELOG.md)
file
- [ ] I have updated the [documentation](
https://github.com/cvat-ai/cvat/blob/develop/README.md#documentation)
accordingly
- [x] I have added tests to cover my changes
- [x] I have linked related issues ([read github docs](

https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
- [x] I have increased versions of npm packages if it is necessary
([cvat-canvas](https://github.com/cvat-ai/cvat/tree/develop/cvat-canvas#versioning),

[cvat-core](https://github.com/cvat-ai/cvat/tree/develop/cvat-core#versioning),
[cvat-data](https://github.com/cvat-ai/cvat/tree/develop/cvat-data#versioning)
and
[cvat-ui](https://github.com/cvat-ai/cvat/tree/develop/cvat-ui#versioning))

### License

- [x] I submit _my code changes_ under the same [MIT License](
https://github.com/cvat-ai/cvat/blob/develop/LICENSE) that covers the
project.
  Feel free to contact the maintainers if that's a concern.
3 years ago
Boris Sekachev 7265553654
Supported type for all labels (#5273)
* Supported type for all labels

* Multiple fixes in UI for new type scheme

* Fixed on 3d annotation view

* Fixed tests

* Updated version && changelog

* Fixed test

* Added type

* Fixed typos

* Fixed minor comments
3 years ago
Boris Sekachev f62aa276cd
Added paint brush tools (#4543) 3 years ago
Boris Sekachev dfcc69c4ef
Minor improvements of z order feature (#5145)
* Do not switch z layer when changing objects

* Added z order sorting

* Added z indication

* Updated version & changelog
3 years ago
Maria Khrustaleva 9f89787f95
Source & target storage support (#4842) 3 years ago
Boris Sekachev 7e20b279af
Added support of skeletons (#1) 4 years ago
Kirill Lakhov c0c469f824
Tags on frame (#75) 4 years ago
Boris Sekachev f960da9117
Added ability to delete frames (#10)
Co-authored-by: Dmitry Kalinin <dmitry.kalinin@intel.com>
Co-authored-by: Nikita Manovich <nikita.manovich@gmail.com>
Co-authored-by: Boris Sekachev <b.sekachev@yandex.ru>
4 years ago
Boris Sekachev b85a4ad77c
Added support of ellipses (#4062) 4 years ago
Nikita Manovich 4708b5ecf8
IAM: Open Policy Agent integration (#3788)
Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
4 years ago
Boris Sekachev 7bab58e1a6
Added rotated bounding boxes (#3832)
Co-authored-by: Maxim Zhiltsov <maxim.zhiltsov@intel.com>
4 years ago
Kirill Lakhov 14262fa951
Interaction handler keyboard handlers fix (#3881)
* initinal implementaion

* additional action, README and version changes

* update changelog

* remove excess reducer

* comment fixes

* changelog update

* canvas3d destroy call upd
4 years ago
gudipudiramanakumar 78158cbcf5
Added the feature to Remove annotation objects in a specified range of frames (#3617)
* 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
Boris Sekachev dbdcd4fd86
Added SiamMask CUDA implementation (tracking), reworked tracking approach (#3571) 4 years ago
Boris Sekachev 620ad16b6f
Removed unused code (#3704) 4 years ago
Boris Sekachev 0dbe0a579f
Fixed: Context image disappears after undo/redo (#3416)
* Fixed found issue

* Updated version & changelog
5 years ago
Boris Sekachev 719fcf30bc
Fixed issue when save filtered object in AAM (#3401)
* Fixed issue when save filtered object in AAM

* Updated version & changelog
5 years ago
Boris Sekachev 5bb26ce669
Some JS code was simplified by using css, a reported issue was fixed in this way (#3289)
* Some JS code was simplified by using css

* Updated version & changelog

* Fixed shortcut
5 years ago
manasars f74a496733
CVAT 3D Milestone-5 (#3079)
3D bounding box manipulation: side view, top view, front view surrounding the object.
Allow user to place 3D bounding boxes & tag labels on specific area using point cloud.

Co-authored-by: cdp <cdp123>
Co-authored-by: Jayraj <jayrajsolanki96@gmail.com>
5 years ago
Boris Sekachev 6f52ef30e4
Support of context images for 2D tasks (#3122) 5 years ago
Boris Sekachev b0b36312e7
Some client code refactoring (#3077)
* Some refactoring, fixed unnesasary rerenderss

* Refactored filter

* Refactored filter

* Removed extra call of queryString() method
5 years ago
Boris Sekachev 7524202492
Added hotkeys to change labels (#3070)
* temp commit

* Added ability to change default label and object label by using Ctrl+{number}

* Removed extra changes

* Minor refactoring

* Added ability to change assigned keys

* Redesigned popover

* Added changelog record & updated version

* Added memoization

* Some minor changes

* Applied comments

Co-authored-by: Dmitry Kalinin <dmitry.kalinin@intel.com>
5 years ago
Dmitry Agapov d2a1d12fba
Integration with an internal training server (#2785)
Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
5 years ago
Vitaliy Nishukov 11d818dac2
Annotations filters new UI (#2871)
* Filters new UI implemented

* Build fix

* ESLint unmached pattern error fix

* ESLint unmached pattern error fix in cvat-ui

* ESLint unmached pattern error fix in github action workflow

* Old test exclude from jest scope

* Build fix

* Build fix 1

* Build fix 2

* Tests failure fix

* Review comments fix 1 and lock-hide test fix

* lock-hide test fix

* packages fix for cor & ui

* Review comments fix

* Top bar right group layout justify fix

* Annotation page header responsive fix

* Filters modal layout fix

* Build fix. E2E case 13 workaround

* Linters fix

* Recently used empty rows fix

* Comparable fields config fix

* Build linters fix

* Minor fixes

* Fixed broken navigation

* Fixed createObjectURL

* Removed extra import

* Fixed issues with attributes

* Extra line were removed

* Fixed typos

* All renamed clientID -> objectID

* Fixed small issues

* Code refactoring

* Fixed dot-contained names

* Reordered import

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
5 years ago
Dmitry Kalinin 16bc9fb3d0
Label deleting (#2881)
* Added label deleting

* Added label deletion for server mock cvat-core tests

* vscode settings adjustments

* Added server tests

* Removed unused import

* Added CHANGELOG and increased npm version

* Added ingoring npm scripts for non-project directories

* Added dummy no labels wrapper

* Added handling no labels jobs

* Fixed PR comments

* Added generic usage to the hook

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
5 years ago
Nikita Manovich 97cb892844
IOG serverless function + some fixes (#2578)
* Initial version of Inside Outside Guidance serverless function
* Support neg_points in interactors
* Improved deployment process of serverless functions
* Improve installation.md for serverless functions.
* Update CHANGELOG, use NUCLIO_DASHBOARD_DEFAULT_FUNCTION_MOUNT_MODE as
recommended by nuclio developers.
* Disable warning from markdown linter about max line length for a table.
* Fix IOG function with conda environment
* Fix tensorflow matterport/mask_rcnn

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
5 years ago
manasars 5c67846c20
CVAT-3D Milestone2 (#2645)
* CVAT-3D Updated the Mime Types with Bin Support, added dependency of open3D

* CVAT-3D Added additional column as Dimension for engine_task table and created a relatedfiles table for PCD to Image mapping.

* Added Support for 3D file Upload in BIN and PCD.

* Added Dimension attribute defaulting to 2D for importer and exporter.

* Added props passing for dimension attribute, filtering of import, Migration Scripts and Dimension attribute for MpegChunk Writers

* Modified code as per review comments

* Updated Unit test cases for 3D task creation

* Refactored Dimension Enum in UI and backend code

* Resolving conflicts

* Updated Unit Test Case

* Refactored TaskDimension to DimensionType, Simplified usage of Dimension accross classes

* Removing manually created test files

* Removing old pcd mime-type mapping

* Added test files generated by synthetic data using open3d

* Merged with develop branch latest changes

* Added libraries required for open3d

* Added files

* Added synthethic pcd,bin and img test files

* Modified test file name

* Trigger travis ci

* Modified test case to ignore 3D preview images

* Trigger notification

* Deleting DS Store files

* Modified test cases as per review comments

* Checking pre-commit hook

* Fixed Lint issues - precommit hook verification

* Added changes for CVAT-3D Milestone2 changes - Frame Navigation, photo context hide and show

* Modified changes

* Added canvas3D for 3D Perspective

* Added missing files

* Added code to get image context for 3D view

* Codacy check for stylesheet

* Modified frame navigantion for 3D View

* Modified style for context-image

* Trigger notification

* Added Support for 3D file Upload in BIN and PCD.

* Added props passing for dimension attribute, filtering of import, Migration Scripts and Dimension attribute for MpegChunk Writers

* Modified code as per review comments

* Refactored Dimension Enum in UI and backend code

* Merged with develop branch latest changes

* Added files

* Added changes for CVAT-3D Milestone2 changes - Frame Navigation, photo context hide and show

* Modified changes

* Added canvas3D for 3D Perspective

* Added missing files

* Added code to get image context for 3D view

* Codacy check for stylesheet

* Modified frame navigantion for 3D View

* Modified style for context-image

* Changed cvat-data lint issues

* Modified to use opencv as per review comments

* Removed unwanted imports

* Fixed css and added usage of hooks

* Merged Develop branch code

* Removed unused data structures

* Removed unused data structures

* Refactored unused data structures

* Added three js dependency in cvat ui package-lock.json

* Merged develop branch code and refactored code

* Fixed snyk issue

* Modified Camera Icon in photo-context

* Update icons.tsx

* Remove unused svg file

* Modified changelog file

Co-authored-by: cdp <cdp123>
5 years ago
Boris Sekachev e0fc323a4d
Intelligent scissors with OpenCV javascript (#2689)
* Some UI implementations

* Added opencv wrapper

* Updated Opencv wrapper

* Moved initialization stub

* Added threshold

* Setup interaction with canvas

* Fixed couple of issues

* Added threshold, changing size via ctrl

* tmp

* Aborted host change

* Fixed threshold

* Aborted host

* Some fixes

* Using ready label selector

* Raw implementation

* Added additional arguments

* Fixed some minor issues

* Removed unused file

* Fixed tool reset

* Added short instructions to update opencv.js

* Fixed corner case

* Added error handler, opencv version, updated cvat_proxy & mod_wsgi

* OpenCV returned back

* Using dinamic function instead of script

* Updated changelog & version
5 years ago
Boris Sekachev 1766eeec32 Fixed some not critical issues 5 years ago
Boris Sekachev fcc15ced82 Merged develop 5 years ago
Boris Sekachev d6ac8cc5be
[Dependent] Simple Review Pipeline (Client) (#2357)
* tmp

* Removed migration

* Rebased

* Added signals & rating

* Updated API views

* Added reviewer serializer

* Added permissions

* Fixed some code issues

* Fixed swagger docs

* Some fixes

* Updated api method to create review

* Added some API tests & some fixes

* Added some tests

* Removed extra code

* cvat-core, basic review view

* Removed extra components

* Fixed context menu

* Added api method to canvas, removed extra files

* Implemented roi selection

* Added method to display rois on canvas

* Updated README.md

* Create issue dialog, some fixes

* Setup chat dialog windows

* Code refactoring

* Some fixes

* Small enhancement

* Fixed core tests, removed extra code

* A couple of fixes on canvas

* Canvas issues highlighting

* Small UX fix

* Fixed width of chat

* Code refactoring

* Added dialogs & review summary

* Fixed tests

* Fixed bug during rendering

* Applied changes from client part

* Fixed bugs in tests

* Added docs & setup plugins in cvat-core

* Aborted cypress changes

* Fixed comments

* Removed extra change

* Renamed fields

* Updated versions, fixed some comments

* Merged develop

* Merged develop

* Removed extra changes

* Removed extra changes

* Fixed tests

* Fixed scale & animation

* Using hull instead of the whole set of points

* Fixed minor issue

* Added additional logic to improve UX

* Updated task instance after review submitting

* Removed extra dependenci from package lock

* Fixed REST API test

* Removed /comments/<id> [PUT]

* /issue/comments/create [POST] -> /comments [POST]

* /job/<id>/reviews/create [POST] -> /reviews [POST]

* [PATCH] /issue/<id>/resolve(reopen) -> [PATCH] /issue/id

* Minor fix

* Updated till the latest REST APi

* Fixed test

* Reviewed review summary

* Review summary client-side

* Removed unused import

* Checking permissions client side

* Checking job permissions

* UP issue dialog onmouseout

* Added shadow & pressenter event

* Added ref initial value

* Using the same box shadow in the whole project

* Removed extra files in the patch

* Removed extra files in the patch

* Updated versions

* Updated changelog

* Fixed merge issue

* Set updated flag on changing a reviewer

* Fixed submit review modal

* Two minor issue fixed

* Searching issues & additional sidebar tab

* Show text for locked objects

* Fixed permissions for reviewers

* Fixed typos

* Fixed review request/submit actions, added action to finish a job

* Star rating instead

* Fixed migration

* Removed animation, updated blur/highlight behaviour, updated hiddel labels position

* Hide/show issues button, adjusted header

* Context menu & buttons

* Removed ability to select an object in region selector

* Do not show issues in AAM & tag annotation

* Fixed jest tests

* Fixed: cannot read property label of undefined

* Getting hull before creating the issue

* Added ability to leave quick comment one of latest

Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
5 years ago
Maya 0835f26e25 Added handling of the case when a shared files are no longer available 5 years ago
Vitaliy Nishukov 7512fd6883
Reformatted (#2349) 5 years ago
Boris Sekachev 4e219299e1
UI Tracking with serverless functions (#2136)
* tmp

* Refactored

* Refactoring & added button to context menu

* Updated changelog, updated versions

* Improved styles

* Removed outdated code

* Updated icon
6 years ago
Dmitry Kalinin 0e37d70b1a
CVAT UI: batch of fixes (#2084)
* fixed object item border color

* Fixed default collapsed prop in object item

* Added color picker for shape outline

* Added CHANGELOG, increased npm version

* Fixed object details collapsing

* Fixed default collapsed
6 years ago
Boris Sekachev 908e0569d8
Improved interface of interactors on UI (#2054) 6 years ago
Dmitry Kalinin bee4c3799f
Label color (#2014)
* added color to django app and cvat-core

* temp

* temp

* Added label color to mask dump

* Fixed UI for label color picker

* npm packages and CHANGELOG

* fixed models and migrations

* Fixed default background color and using normalization

* Added setting label color with hash

* fixed error

* Added close icon to color picker

* Fixed CHANGELOG

* requested changes

* fixed menu visibility

* Fixed label hashing and algorithm

* Added wheel package to CI

* Fixed dockerfile

* moved wheel package from dockerfile to requirements

* fixed requirements

* Fixed requirements

Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
6 years ago
Boris Sekachev c6c9e7db96
React UI: Added client versioning (#1448)
* Adjusted antd import

* Wrapped core and canvas

* Added versioning

* Updated changelog, adjusted installation guide a bit
6 years ago
Boris Sekachev 5e21b4acce
Batch of fixes (#1403)
* Fixed bug when job cannot be opened

* Fixed bug when deactivated shape is still highlighted

* Fixed Error: 'AttributeError: 'tuple' object has no attribute 'read'

* Fixed: wrong semi-automatic segmentation near edges of an image

* Updated changelog

Co-authored-by: Nikita Manovich <40690625+nmanovic@users.noreply.github.com>
6 years ago
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
Boris Sekachev 5e2f2ecf31 Fixed create object URL after first save, fixed URL itself 6 years ago
Dmitry Kalinin 57e8083943
Merge pull request #1292 from opencv/dk/point-deletion
React UI: Point deletion context menu
6 years ago
Boris Sekachev 796044782f
React UI: Better exception handling (#1297) 6 years ago
Dmitry Kalinin 845be3b486 Added point deletion context menu 6 years ago
Dmitry Kalinin b0dbbb3faa Merge branch 'develop' into dk/point-deletion 6 years ago
Boris Sekachev 1bb582f7f0
React UI: Attribute annotation mode (#1255)
* Done main work

* Fixed mount/unmount for canvas wrapper

* Refactoring, added filters

* Added missed file

* Removed unnecessary useEffect

* Removed extra code

* Max 9 attributes, inputNumber -> Input in aam

* Added blur

* Renamed component

* Fixed condition when validate number attribute

* Some minor fixes

* Fixed hotkeys config

* Fixed canvas zoom

* Improved behaviour of number & text

* Fixed attributes switching order

* Fix tags

* Fixed interval
6 years ago
Dmitry Kalinin 4d0c22513a temp 6 years ago
Dmitry Kalinin 5fc65c8e73 PR fixed 6 years ago
Dmitry Kalinin a99dd38fee Fix copying and creating tags 6 years ago