305 Commits (4d0c22513ac2215686a11ec3e262fff3f74b8de8)

Author SHA1 Message Date
vugia truong 458bd23222 Adding dump for VOC instance mask. (#859)
* Add mask instance dumper
* Fix bug
* Merge mask instance into mask
* Merge the change into mask
* Create MaskColorizer
* Add dump method
6 years ago
vugia truong 216416703a Fix label for mask rcnn (#980) 6 years ago
Nikita Manovich 8edfe0dcb4
Swagger documentation (#978)
* Fix swagger problems (exceptions, /api/swagger.json, /api/docs/)
6 years ago
TOsmanov 6584f7fb21 User Guide update (#953) 6 years ago
zhiltsov-max e9f1db00db Add polygon point count checks (#975) 6 years ago
Maya 4587afe09a Added documentation for swagger page (#936) 6 years ago
dependabot[bot] 4c72bc3fda Bump tensorflow from 1.12.3 to 1.15.0 in /cvat/requirements (#968)
* Bump tensorflow from 1.12.3 to 1.15.0 in /cvat/requirements

Bumps [tensorflow](https://github.com/tensorflow/tensorflow) from 1.12.3 to 1.15.0.
- [Release notes](https://github.com/tensorflow/tensorflow/releases)
- [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md)
- [Commits](https://github.com/tensorflow/tensorflow/compare/v1.12.3...v1.15.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Update pip because tensorflow 1.15 cannot not be found.

* Fix a typo (pip -> pip3)

* Replaced pip3 by python3 -m pip.
6 years ago
Maksim Markelov 37c46e3bae Improve UX with creating new shape by shortkey (#941) 6 years ago
zhiltsov-max 0f5cf2064d [Datumaro] Added tf detection api tfrecord import and export (#894)
* Added tf detection api tfrecord import and export
* Added export button in dashboard
* Add tf to requirements
* Extend test
* Add tf dependency
* Require images in tfrecord export
* Add video task case handling
* Maintain image order in CVAT export
* Fix Task image id-path conversions
* Update tfrecord tests
* Extend image utilities
* Update tfrecord format
* Fix image loading bug
* Add some logs
* Add 'copy' option to project import command
* Reduce default cache size
6 years ago
Boris Sekachev fa8fd166b1 Updated contributing 6 years ago
Maksim Markelov f90a22f31b Remove deprecated html attributes (#924) 6 years ago
zhiltsov-max 5458de7464 [Datumaro] Add YOLO converter (#906)
* Add YOLO converter
* Added yolo extractor
* Added YOLO format test
* Add YOLO export in UI
6 years ago
Nikita Manovich c0f1854f79
Restore session id (#905)
* Restore session id when we use token authorization.
6 years ago
Boris Sekachev 72517557d3 Fixed some issues with dump (#904)
* Changed method for downloading annotations

* Initial commit

* Initial commit

* Updated download method for dataset

* fixed eslint error
6 years ago
Andrey Zhavoronkov f3a3f4c90a Az/fix meta requests (#903)
* fixed processing of meta requests
6 years ago
dependabot[bot] fec27ba10c Bump django from 2.2.4 to 2.2.8 in /cvat/requirements (#902)
Bumps [django](https://github.com/django/django) from 2.2.4 to 2.2.8.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.2.4...2.2.8)

Signed-off-by: dependabot[bot] <support@github.com>
6 years ago
Boris Sekachev 171a9202ed React & Antd: Dashboard migration (#892)
* Removed old dashboard
* Getting all users
* Updated changelog
* Reimplemented login decorator
* Implicit host, scheme in docker-compose
* Fixed issue with pagination
* Implicit page size parameter for tasks
* Fixed linkedin icon, added links to tasks in notifications
* Configurable method for check plugin
6 years ago
Maksim Markelov dc7bfa9b12 Fix some spelling (#897) 6 years ago
Andrey Zhavoronkov 0e7845a1e6 set CORS_REPLACE_HTTPS_REFERER option to True (#895) 6 years ago
Nikita Manovich a71d4d4327 Token auth for non-REST API apps (#889)
* Token authorization for non REST API apps (e.g. git, tf annotation, tf segmentation)
6 years ago
Nikita Manovich 454eaf92c2
page_size parameter for all REST API methods (#884)
* Added page_size parameter for all REST API methods which returns list of objects.

Also it is possible to specify page_size=all to return all elements.

* Updated changelog.md
6 years ago
zhiltsov-max 0bab60b7a0 Add cvat cli to datumaro project export (#870) 6 years ago
zhiltsov-max 37589e4d58 Fix redirect (#878) 6 years ago
zhiltsov-max 394de98979 Add a dataset export button for tasks (#834)
* Add dataset export button for tasks in dashboard
* Fix downloading, shrink list of export formats
* Add strict export format check
* Add strict export format check
* Change REST api paths
* Move formats declarations to server,
6 years ago
Boris Sekachev 9f63686baf React & Antd UI: Model manager (#856)
* Supported git to create and sync
* Updated antd
* Updated icons
* Improved header
* Top bar for models & empty models list
* Removed one extra reducer and actions
* Removed one extra reducer and actions
* Crossplatform css
* Models reducers, some models actions, base for model list, imrovements
* Models list, ability to delete models
* Added ability to upload models
* Improved form, reinit models after create
* Removed some importants in css
* Model running dialog window, a lot of fixes
6 years ago
zhiltsov-max 74f720a3d2 Add dataset export facility (#813)
* Add datumaro django application
* Add cvat task datumaro bindings
* Add REST api for task export
* Add scheduler service
* Updated CHANGELOG.md
7 years ago
telenachos 3aa4abf8a7 Adding dump and load support for MOT CSV format. (#830)
* Adding dump and load support for MOT CSV format.
* Updated test cases to use correct track annotations for MOT format.
* Removed behaviour of MOT loader which would duplicate the last track
shape prior to setting outside=True.
7 years ago
zhiltsov-max 112bab173a Add LabelMe format support (#844)
* Add labelme export
* Add LabelMe import
* Add labelme format to readme
* Updated CHANGELOG.md
7 years ago
Boris Sekachev 3b6961f4db React & Antd UI: Create task (#840)
* Separated component user selector
* Change job assignee
* Basic create task window
* Bug fixes and refactoring
* Create task connected with a server
* Loading status for a button
* Reset loading on error response
* UI improvements
* Github/feedback/share window
7 years ago
zhiltsov-max 690ecf9c66 Add support for ip git repo urls (#827)
* Add support for ip v4 git repo urls
* Add tests for git urls
7 years ago
Andrey Zhavoronkov befe5efba0 Fix upload anno for COCO (#788)
* COCO: load bbox as rectangle if segmentation field is empty
* added unit test for coco format (case: object segment field is empty)
7 years ago
dependabot[bot] 7762dc00d2 Bump pillow from 5.1.0 to 6.2.0 in /cvat/requirements (#808)
Bumps [pillow](https://github.com/python-pillow/Pillow) from 5.1.0 to 6.2.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/5.1.0...6.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
7 years ago
Reza Malek d99140a0fb Auto segmentation using Mask_RCNN (#767) 7 years ago
Ben Hoff dfc33b5b37 added in semantic segmentation instructions to README (#804) 7 years ago
Andrey Zhavoronkov 05c52302f6 Annotation formats documentation (#719)
* added handling of truncated and difficult attributes for pascal voc
loader/dumper
added descriptions of supported annotation formats
* added YOLO example
* made match_frame as Annotations method
changed 'image/source_id' field TF feature from int64 to string
(according to TF OD API dataset utlis)
* updated README
improved match_frame function
* added unit tests for dump/load
7 years ago
Ben Hoff 3bc1df8ece Update documentation to point to OpenVino component documentation (#752) 7 years ago
Nikita Manovich f3be6ae500
Integration with Zenodo (#779)
* Updated CHANGELOG with information about Zenodo
* Updated version of the project.
7 years ago
Ben Hoff 2640e6c579 allow security segmentation models to be used in auto annotation (#759) 7 years ago
Boris Sekachev 695fc37924 User interface with react and antd (#755)
* Login page, router
* Registration
* Tasks view
7 years ago
Johannes222 197a36600a Disable fix_segments_intersections for now (#751)
* Disable fix_segments_intersections for now

When the bounding boxes had intersections and were exported with the COCO JSON format they were often cut off. I commented out the line with the function fix_segments_intersections and replaced it with lines of that function. This helped with the bounding boxes and keeps the masks as they are created with CVAT. It is probably inconvenient for the user to get something fixed in the export without an active agreement of the user. Secondly letting a function automatically fix segments could result in a bad fix.

* Use fix_segments_intersections only with z-order

The fix_segments_intersections will only be used when the z-order flag is set. This is useful for bounding boxes or masks which don't need to be fixed. This fix was created according to Andrey Zhavoronkov's (@azhavoro) advice.
7 years ago
Nikita Manovich f5c5624433
Basic user information (#761)
* Fix https://github.com/opencv/cvat/issues/750
* Updated CHANGELOG
* Added more tests for /api/v1/users* REST API.
7 years ago
Nikita Manovich ff1f6cfc5c
Projects (server only, REST API) (#754)
* Initial version of projects
* Added tests for Projects REST API.
* Added information about projects into CHANGELOG
7 years ago
Johannes222 b3d3ad24a9 COCO Annotation IDs should begin with 1 (#748)
Currently the annotation ID begins with 0 which is interpreted by cocoapi as a false detection. The array dtm saves the matches via the ground truth annotation ID. The variable dtm is initialized as an array of zeros. 636becdc73/PythonAPI/pycocotools/cocoeval.py (L269)
636becdc73/PythonAPI/pycocotools/cocoeval.py (L295)
636becdc73/PythonAPI/pycocotools/cocoeval.py (L375)
7 years ago
Nikita Manovich df4589b52e
Fix an issue with permissions (observer can change annotations) (#745)
* Fixed a problem with observer (check_object_permissions method was not called)
* Added a test case to cover issue #712.
7 years ago
Ben Hoff 8e7a75847e remove deprecated method call `from_ir` (#726) 7 years ago
Ben Hoff 91f77139ef added method docs to Auto Annotation inference.py (#725) 7 years ago
Nikita Manovich f537236e11
Fix the problem with duplicated frames in case of "share" (#735)
* Fix the problem with duplicated frames in case of "share".
* Fix a case when the code works incorrectly

/a/b/c
/a/b/c0

Previously only /a/b/c will be in output but should be both.
7 years ago
Nikita Manovich 1ec89b5f6a
Selecting non images leads to 400 error (#734)
* Fix HTTP 400 error if together with vision data the user submit non-vision data (e.g. text files)
* Ignore SVG images because Pillow doesn't work with them.
7 years ago
Boris Sekachev 8253b7155e Don't save shapes with keyframe==False 7 years ago
Nikita Manovich ba2b59c16f
Update README.md 7 years ago
Ben Hoff ec7096295b
Update README.md 7 years ago
Boris Sekachev c05c7aea8b Fixed labels regex for non-latin characters (#708) 7 years ago
Nikita Manovich 38cf6d4a56
Release 0.5 (#705)
* Changed version number (0, 5, 'final', 0).
* Updated changelog file.
* fixed default attribute values for tracked shapes (#703)
7 years ago
Nikita Manovich 8359db3580
cvat-ui in docker (serve using nginx) (#658) 7 years ago
Ben Hoff eaede02824 check if keys directory exists before making secret_key (#700) 7 years ago
Boris Sekachev 8f25bac0e7 Fixed save for case when a job has a shape and a track with the same id (#693)
* cvat-core fixed save for two object with the same id
* Added API test
* Fixed production code
* Dinamic shape types instead of hardcoded
7 years ago
Andrey Zhavoronkov 4fd966dacc dump group_id field for 'CVAT for images' format (#691) 7 years ago
Boris Sekachev 7ea84d1bc7 Fixed: no such table: allauth_socialaccount (#687) 7 years ago
Boris Sekachev da04c0bace Fixed update of a task via REST (#686)
* Fixed update of a task via REST

* Fixed unit tests
7 years ago
Andrey Zhavoronkov 191bf2761c fixed annotation ids, start category id from 1 (#680) 7 years ago
TOsmanov 5b3cf32732 CVAT documentation v5 (#662)
* Updated images & gifs
* Updated User's Guide
7 years ago
Boris Sekachev e15340d625 Different fixes for Release 0.5.0 Part 2 (#670)
* Fixed: Invalid labels parsing (#628)
* Updated changelog
* Improved error messages on a client side
* Updated changelog
* Fixed register
7 years ago
Boris Sekachev 0c33055311 Different fixes for Release 0.5.0 (#667) 7 years ago
Andrey Zhavoronkov fbae6bbdcb added settings for setup timezone (#661)
deleting shapes triggers setting updated date field as other
actions(create & update)
7 years ago
Naval Chand 7e76695465 Auto annotation (#660)
* Added missing import
* Added OPENVINO_TOOLKIT param in docker-compose.yml for auto annotation
7 years ago
Andrey Zhavoronkov fc2b9c94cc Az/fix no dump default attrs (#656)
* fill absent attributes by default values during annotation save
* fill absent attributes by default values during init from db
* fixed tests
* updated changelog, added some coments, minor fixes
7 years ago
Nikita Manovich e7bab87039
Auth for REST API (api/v1/auth/*) (#622)
* Added trivial login/logout/register
* Auth methods for REST API.

- api/v1/auth/login
- api/v1/auth/logout

For basic auth only:
- api/v1/auth/register
- api/v1/auth/password/*

* Add info about auth for REST API into CHANGELOG.md
* Add pylintrc for codacy, updated pylint and its dependecies.
* Add token authorization, renamed cvat.js to cvat-core in all places.
* Implemented register method in cvat-core
* Added first_name and last_name to RegisterSerializer.
7 years ago
Ben Hoff 97ed2aaa28 Separate inference method in order to break django dependency (#650) 7 years ago
Ben Hoff 1334efaaf6 added in ability to visually see auto_annotation command line runner (#647) 7 years ago
Ben Hoff 04a57c164a Correct odd spacing in auto annotation model manager (#648) 7 years ago
Artyom Zankevich b7609cae91 [NEW-UI]: Create and update task (#612)
- Create task
 - Update task
 - Upload annotations
 - Download annotations
7 years ago
Andrey Zhavoronkov 935d380d36 tfrecord format support (#644)
* added tfrecord loader/dumper
* add comment
* remove unused import
* used the latest version of tensorflow(1.12.3) which supports cuda 9.0
updated cudnn library
install tensorflow by default and replace it by tensorflow-gpu in case
of cuda support is enabled
* Updated changelog
7 years ago
Boris Sekachev 6cac464f46 Selectors for annotation formats (#636)
* Selectors for annotation format

* Handle default value

* Dinamic accepts for upload

* Removed extra code
7 years ago
Boris Sekachev 3a6a49625c Updated dump/upload in cvat-core (#635)
* Annotation formats from the server
* Fixed dump
* Added API tests
* Dashboard integration
7 years ago
Andrey Zhavoronkov bf61962195 PNG mask dumper (#633) 7 years ago
Andrey Zhavoronkov c2bf8eda01 Az/coco loader format support (#630)
* added coco dumper
* added license note
* added coco loader
7 years ago
Andrey Zhavoronkov 7467e298fd Az/coco format support (#623)
* added coco dumper

* added license note

* revert changes of launch.json

* fixed codacy issues

* fixed codacy issues
7 years ago
Andrey Zhavoronkov 098827568e Az/hotfix annotation app (#626)
* dump track attributes

* handle attributes correctly for uploaded annotation

* fixed codacy
7 years ago
Andrey Zhavoronkov 1454ec7ecc Az/yolo format support (#619)
* added yolo loader/dumper
* changed format_spec
* updated reamde, changelog
* Used bold font for default dump format
7 years ago
Andrey Zhavoronkov f17847ff33 Az/pascal voc loader (#613) 7 years ago
Andrey Zhavoronkov 5733423b13 Az/multiformat downloader (#551) 7 years ago
Boris Sekachev cad5ac8653 Updated cvat-core (#591)
* Two webpack configuration instead one

* Two webpack configuration instead one

* Setup webpack build

* Removed references window.cvat

* Removed window.cvat

* Stop frame, start frame, frame filter

* Updated save method

* Updated dashboard to create tasks with custom stopFrame/startFramre

* Fixed clientID

* Removed browser environment from nodejs

* Updated webpack.config.js

* Updated filename
7 years ago
Boris Sekachev 423510af00 Added encodeURIComponent for directory name in cvat.server.share() (#585) 7 years ago
Andrey Zhavoronkov 6d7a04086f fixed attribute processing in auto_annotation (#577) 7 years ago
Boris Sekachev d939b9c34a Fixed exception in attribute annotation mode (#571)
* Fixed bug Cannot read property 'current' of undefined at AAMModel.setupAttributeValue

* Updated changelog
7 years ago
Boris Sekachev 8fede3a6e6 CVAT.js API methods were implemented (#572)
* annotations.put()

* Fixed annotations.put()

* Dump & upload

* Two fixes

* Tested upload

* Updated built of cvat.js

* Remote files through cvat.js
7 years ago
Andrey Zhavoronkov a159826bf7 Handle invalid json labelmap file case correctly during create/update DL model stage. (#573)
* handle invalid json labelmap file case correctly on create/update DL model stage
* dummy_label_map -> dummy_labelmap
* renamed load_label_map function
* Update CHANGELOG.md
7 years ago
JADG14 e0b666ea9d Upgrade Numpy to avoid Arbitrary Code Execution. Upgrade Django to avoid MitM (#575) 7 years ago
Ben Hoff 3ae8a72028 added in handeling for openvino 2019 (#545) 7 years ago
Ben Hoff 6e1e063c04 added in command line auto annotation runner (#563) 7 years ago
Nikita Manovich 018cd143c3
Fixed PDF extractor syntax error (#565)
In docker container we use python 3.5 and f'{}' isn't available.
7 years ago
Ben Hoff ccbbf3393f added in pdf extractor (#557) 7 years ago
Andrey Zhavoronkov b48d59b5ec Ability to create custom extractors (#434)
* ability to add custom extractors
* added configurable mimetypes
* added a note to changelog
7 years ago
Ben Hoff 418cdbe146 added in ability for admins to import in code (#523)
Thanks for the contribution 👍 . I'm sure that many users of CVAT will benefit from the enhanced version of "automatic annotation".
7 years ago
Boris Sekachev 5290882259 Fixed authentification for cross origin (#528) 7 years ago
Andrey Zhavoronkov d1a3c12c9a removed six from requirements because CVAT doesn't have direct dependencies on it (#527) 7 years ago
Ben Hoff 41ee68f565 add in macos handeling for `auto_annotation` (#524) 7 years ago
Artyom Zankevich 9eabd1738e Add dashboard component (#521)
Allow CORS from `http://localhost:3000`
7 years ago
Nikita Manovich 23d7c33667
Fix security issues (#519)
CVE-2019-12308 More information

moderate severity
Vulnerable versions: >= 2.1.0, < 2.1.9
Patched version: 2.1.9
An issue was discovered in Django 1.11 before 1.11.21, 2.1 before 2.1.9, and 2.2 before 2.2.2. The clickable Current URL value displayed by the AdminURLFieldWidget displays the provided value without validating it as a safe URL. Thus, an unvalidated value stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link.

WS-2019-0037 More information

moderate severity
Vulnerable versions: < 3.9.1
Patched version: 3.9.1
Django-Rest-Framework, before 3.9.1, has a XSS vulnerability caused by disabled autoescaping in the default DRF Browsable API view templates.
7 years ago
Ben Hoff f20698921e Advanced Auto Annotation Handling for Admins (#514) 7 years ago