32 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 6a152d6a19
Fixed window offset (#123)
* Fixed window offset

* Fixed stylelint issue
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 f719648bb0
Added cypress tests for the feature: 'continue frame n' (#4340)
* Added cypress tests for the feature: 'continue frame n'

* Update tests/cypress/integration/actions_tasks/continue_frame_n.js

* Update tests/cypress/integration/actions_tasks/continue_frame_n.js
4 years ago
Boris Sekachev 696e51fe2e
Coninue from frame N, advanced user selector on jobs page (#4297)
* Coninue from frame N, advanced user selector on jobs page

* Updated version & changelog

* Fixed styles
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
Dmitry Kruchinin e484aa7587
Migrate to node 16, npm 7. (#3773)
* Migrate to node 16 and nmp 7.

* Step 2

* Moving eslint to one package.json

* Fix package for 3D

* Update package files

* Fix package.json. Update package-lock.json. Update DockeFile.ui

* Change "node-sass" to "sass" due to snyk issues

* Automatically update your stylesheets due to DEPRECATION WARNING from sass

* Moving all dev dependencies to root package.json

* Remove unnecessary dependence from cvat-core-package.json

* Update of the year in copyrights

* Update CHANGELOG.md

* Define workspaces

* Update npm command to root package.json

* Update npm commands and corresponding files

* Update npm command.

* Fix Dockerfile.ui

* Fix error loading rule '@typescript-eslint/dot-notation'

* Fix eslint check issue

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
4 years ago
Kirill Lakhov 1da3c96b5a
Intelligent scissors disabling feature (#3510)
* disabling feature

* excess points bugfix

* ctrl interaction

* ui bugfix

* trackers block mode removal

* Ctrl press fix

* approximation disabled only for block mode

* architectural improvements

* code refactoring

* renamed switchBlockMode

* added comments

* callback signature change

* polygon finish fix

* fixed bugs

* removed unnecessary if

* final recalculation threshold disable

* delete points bugfix

* update changelog

* update package versions
5 years ago
Boris Sekachev 330b8a832f
Semi-automatic tools enhancements (Stage 0) (#3417)
* Improved removable points, added a button to finish current object
* Code refactoring for ai tools and opencv
* Fixed style for workspace selector
* IOG UX fix
* Updated version & changelog
* Added 'min_neg_points' parameter to serverless interactors
* Return 'min_neg_points' from the server
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
Dmitry Kruchinin 4f7b1f91ff
Cypress. Fix some tests. Rework margin. (#3001)
* cvat-player-buttons margin: 0 4px

* Rework test to set autosave interval

* Update copyright

* Remove workaround.
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
Boris Sekachev fb17dca505
Migration to mousetrap, redesigned visualization settings (#2872)
* Initial version of shortcut fixes using mousetrap

* Redesigned visualization settings

* Updated cypress tests

* Minor fix in AAM

* Aborted extra changes

* 1.1.0

* Updated version & changelog

* Aborted extra changes

* Fixed headers

* Using keycodes in cypress

* Fixed a couple of commands
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
Dmitry Kalinin ff85fe0006
Fixed styles for filters select (#2614)
* Fixed styles for filters select

* Added CHANGELOG

* Aborted style changes

* Aborted style changes

* Aborted version

* Fixed couple of bugs

* Updated version

Co-authored-by: Boris Sekachev <boris.sekachev@yandex.ru>
5 years ago
Boris Sekachev 6883ee3155 Minor fixes 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
Boris Sekachev a5b2229039
Added ability to search for an empty frame (#2221)
* Fixed some eslint issues in cvat-core

* Added ability to search empty frames

* Updated version

* Updated changelog

* Fixed issue with track

* Fixed eslint issues
5 years ago
Dmitry Kalinin fefcb51331
Stylelint SCSS linter (#1766)
* Added stylelint fixed stylelint issues

* Added CHANGELOG.md
6 years ago
Boris Sekachev a300684876
Interpolation of polyshapes in CVAT (#1571)
* cvat-core interpolation

* Unlocked polyshapes

* Updated versions

* Second implementation

* Splitted line

* Inverse, set start point, fixed editing a bit, point menu refactoring

* Removed extra code, fixed bug: Cannot open shape context menu when point context menu is opened

* Do not close shape context menu on change shap[e

* Improved editing

* Updated mouseevents to edit/delete, added ability to redraw (shift + N)

* Ignore tags when redraw

* Ingoring tags on canvas, added method isAbleToChangeFrame, hide shapes during redraw, do not allow changing frame during redraw

* Canceled advanced editing for polygons

* A couple of fixes in interpolation, editing, reducing number of points

* Moved change orientation functionality

* Fixed interpolation algorithm

* Zero division issue

* Zero division issue

* Segment minimization

* Server implementation

* Keyframe set to False

* Simplified code, fixed server side code

* Updated changelog.md

* Added pdf describing interpolation

* Resolved some issues

* Updated UI version

* Updated canvas version

* Fixed host
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
Dmitry Kalinin 3c128b2a73 fixed PR 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
Boris Sekachev c2d58e5b7d
Added license headers (#1208)
* Added licenser

* Added license headers for cvat-canvas and cvat-ui
6 years ago
Boris Sekachev 9850094773
React UI: ZOrder implementation (#1176)
* Drawn z-order switcher

* Z layer was added to state

* Added ZLayer API method cvat-canvas

* Added sorting by Z

* Displaying points in top

* Removed old code

* Improved sort function

* Drawn a couple of icons

* Send to foreground / send to background

* Updated unit tests

* Added unit tests for filter parser

* Removed extra code

* Updated README.md
6 years ago
Boris Sekachev 228b813160
React UI: Objects filtering & search (#1155)
* Initial filter function

* Updated method for filtering

* Updated documentation

* Added annotations filter file

* Updated some comments

* Added filter to UI

* Implemented search alorithm

* Removed extra code

* Fixed typos

* Added frame URL

* Object URL

* Removed extra encoding/decoding
6 years ago
Boris Sekachev 939de868a9
React UI: Added annotation menus, added shape context menu, added some confirmations before dangerous actions (#1123)
* Annotation menu, modified tasks menu

* Removed extra styles

* Context menu using side panel

* Mousewheel on draw

* Added more cursor icons

* Do not check .svg & .scss by eslint
6 years ago
Boris Sekachev 42614c28a1
React UI: Annotation view enhancements (#1106)
* Keyframes navigation

* Synchronized objects on canvas and in side panel

* Fixed minor bug with collapse

* Fixed css property 'pointer-events'

* Drawn appearance block

* Removed extra force reflow

* Finished appearance block, fixed couple bugs

* Improved save() in cvat-core, changed approach to highlight shapes

* Fixed exception in edit function, fixed filling for polylines and points, fixed wrong image navigation, remove and copy

* Added lock

* Some fixes with points

* Minor appearance fixes

* Fixed insert for points

* Fixed unit tests

* Fixed control

* Fixed list size

* Added propagate

* Minor fix with attr saving

* Some div changed to buttons

* Locked some buttons for unimplemented functionalities

* Statistics modal, changing a job status

* Minor fix with shapes counting

* Couple of fixes to improve visibility

* Added fullscreen

* SVG Canvas -> HTML Canvas frame (#1113)

* SVG Frame -> HTML Canvas frame
6 years ago
Boris Sekachev 285df9d408 React UI: Sidebar with objects and optimizations for annotation view (#1089)
* Basic layout for objects panel

* Objects header

* A little name refactoring

* Side panel base layout

* Firefox specific exceptions

* Some minor fixes

* React & canvas optimizations

* Icons refactoring

* Little style refactoring

* Some style fixes

* Improved side panel with objects

* Actual attribute values

* Actual icons

* Hidden > visible

* hidden -> __internal

* Fixed hidden in ui

* Fixed some issues in canvas

* Fixed list height

* Color picker for labels

* A bit fixed design

* Actual header icons

* Changing attributes and switchable buttons

* Removed react memo (will reoptimize better)

* Sorting methods, removed cache from cvat-core (a lot of bugs related with it)

* Label switchers

* Fixed bug with update timestamp for shapes

* Annotation state refactoring

* Removed old resetCache calls

* Optimized top & left panels. Number of renders significantly decreased

* Optimized some extra renders

* Accelerated performance

* Fixed two minor issues

* Canvas improvements

* Minor fixes

* Removed extra code
6 years ago
Boris Sekachev 2cc2e32ff1 React UI: Player updates (#1058)
* Move, zoom integration
* Moving, zooming, additional canvas handler
* Activating & changing for objects
* Improved colors
* Saving annotations on the server
* Fixed size
* Refactoring
* Added couple of notifications
* Basic shape drawing
* Cancel previous drawing
* Refactoring
* Minor draw improvings
* Merge, group, split
* Improved colors
6 years ago
Boris Sekachev f57586a03c UI Enhancements (#985)
* Single import of basic styles
* A little bit redesigned header
* Specified min resolution 1280x768
* Getting a job instance
* Improved handling when task doesn't exist
6 years ago
Boris Sekachev 4de8be7b69 Styles refactoring (#977) 6 years ago