33 Commits (908e0569d80cdebce7d0bf70230c6d34e3d3d85d)

Author SHA1 Message Date
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
Dmitry Kalinin 4746574ff1 merge fix 6 years ago
Dmitry Kalinin 5c009f5d88 Merge branch 'develop' into dk/cvat-ui-tags 6 years ago
Dmitry Kalinin 3199fbbdf9 Added tag support in new UI (without canvas drawing) 6 years ago
Boris Sekachev 78dad73de9
React UI: Added shortcuts (#1230) 6 years ago
Dmitry Kalinin f468c4035f Setup tag forward to the state 6 years ago
Dmitry Kalinin 401d66dcd7
React UI: Filters history (#1225)
* Added filters history

* Fixed unclosed dropdown

* Added saving filters to localStrorage
6 years ago
Boris Sekachev 6a59e7cff8
React UI: batch of fixes (#1227)
* Fix: keyframes navigation

* Fix: handled removing of the latest keyframe

* Fix: activating a shape when another shape is being changed

* Fix: up points in the side bar on points click

* Fix: editable shape isn't transformed when change zoom

* Updated message
6 years ago
Dmitry Kalinin adb66b57ba
React UI: Improved rotation feature (#1206)
Co-authored-by: Boris Sekachev <40690378+bsekachev@users.noreply.github.com>
6 years ago
Boris Sekachev c2d58e5b7d
Added license headers (#1208)
* Added licenser

* Added license headers for cvat-canvas and cvat-ui
6 years ago
Dmitry Kalinin 5645cdf7c1
React-UI: settings (#1164)
* Image filters: brightness, contrast, saturation
* Auto saving
* Frame auto fit
* Player speed
* Leave confirmation for unsaved changes
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 7e8fc2366a
React UI: Undo/redo (#1135) 6 years ago
Jijoong Kim d9fe71260b
Add extreme clicking method in cvat-canvas and cvat-ui (#1127)
* Add extreme clicking method in cvat-canvas and cvat-ui

* Fix bugs and issues, update readme

* Fix error after rebasing develop
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 0277547dc3 React UI: Player in annotation view & settings page (#1018)
* Active player controls
* Setup packages
* Playing
* Fold/unfold sidebar, minor issues
* Improved cvat-canvas integration
* Resolved some issues
* Added cvat-canvas to Dockerfile.ui
* Fit canvas method
* Added annotation reducer
* Added annotation actions
* Added containers
* Added components
* cvat-canvas removed from dockerignore
* Added settings page
* Minor improvements
* Container for canvas wrapper
* Configurable grid
* Rotation
* fitCanvas added to readme
* Aligned table
6 years ago