Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.2 #100

Merged
merged 37 commits into from
Sep 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
a50b4cc
Moved development on public github.
Aug 30, 2018
96f3802
Move function from closure to class method
Sep 4, 2018
d83f77f
Merge pull request #42 from opencv/segm_publ_branch
bsekachev Sep 5, 2018
2dd8680
Bug has been fixed: Failed to execute 'inverse' on 'SVGMatrix': The m…
Sep 7, 2018
4c3046c
Merge pull request #45 from opencv/inverse_svg_matrix_bug
azhavoro Sep 7, 2018
a6db3a4
Performance of frame changing has been increased due to UI containers…
Sep 7, 2018
89cb5eb
Merge pull request #46 from opencv/change_frame_optimization_1.5-2x
bsekachev Sep 10, 2018
5a369a9
Bug has been fixed: Defiant doesn't support dash (-) in xpath nodes (…
bsekachev Sep 12, 2018
72e5bf6
Bug has been fixed: filename extension in annotation file differ by s…
bsekachev Sep 12, 2018
6e64bb3
Data validation on client and server (#51)
bsekachev Sep 12, 2018
7c3f20a
Migration files have been added (#59)
bsekachev Sep 17, 2018
d1b20d6
Polygon edit method (#57)
bsekachev Sep 18, 2018
05e6e33
Big int migration file has been rewritten with Django syntax (#60)
bsekachev Sep 18, 2018
badddeb
Some memory leaks have been fixed (#61)
bsekachev Sep 19, 2018
eac18ff
Release 0.2.0 (#64)
bsekachev Sep 19, 2018
c6fe28e
Player navigation has been fixed if window was scrolled (#66)
bsekachev Sep 19, 2018
2696240
#35 CVAT - AWS-Deployment guide (#47)
Sep 20, 2018
366ad6a
Contribution guidelines (#69)
nmanovic Sep 20, 2018
59f9722
Updated documentation for v0.2.0 (#63)
nmanovic Sep 20, 2018
f5d7316
Cuda installation has been fixed (#71)
bsekachev Sep 20, 2018
2d0079f
CVAT links to specific frame or object/objects (#73)
bsekachev Sep 20, 2018
df15090
Port fixes from release-0.2
Sep 20, 2018
64962ab
Add gitter badge into README. (#75)
nmanovic Sep 21, 2018
93eaaf7
Ability to change an opacity for selected shapes (#77)
bsekachev Sep 21, 2018
48c292d
Update README (#79)
nmanovic Sep 21, 2018
e600c32
Update README (#79) (#80)
nmanovic Sep 21, 2018
f58b7e6
Improve documentation for overlap parameter. (#82)
nmanovic Sep 21, 2018
027fe42
Improve description how to specify labels with attributes. (#81)
nmanovic Sep 21, 2018
1512c38
Release 0.2 (#83)
nmanovic Sep 21, 2018
c5f63de
Add CHANGELOG.md (#85)
nmanovic Sep 25, 2018
5372220
Port changes from release-0.2 branch (#87)
nmanovic Sep 25, 2018
48b08eb
Describe XML format v1.1 (#88)
nmanovic Sep 25, 2018
0338afb
Describe XML format v1.1 (#88) (#91)
nmanovic Sep 25, 2018
fdf63cf
Replace Unrelease on 0.2.0 version inside CHANGELOG (#92)
nmanovic Sep 25, 2018
5ac0959
Merge branch 'develop' into release-0.2
nmanovic Sep 25, 2018
ca77043
Revert "Merge branch 'develop' into release-0.2"
nmanovic Sep 25, 2018
f15348c
Release 0.2 fix (#97)
bsekachev Sep 28, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
* text=auto whitespace=trailing-space,space-before-tab,-indent-with-non-tab,tab-in-indent,tabwidth=4

.git* text export-ignore

*.txt text
*.htm text
*.html text
*.js text
*.py text
*.css text
*.md text
*.yml text
Dockerfile text
LICENSE text
*.conf text
*.mimetypes text
*.sh text eol=lf

*.avi binary
*.bmp binary
*.exr binary
*.ico binary
*.jpeg binary
*.jpg binary
*.png binary
*.gif binary
*.ttf binary
*.pdf binary

81 changes: 81 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.0] - 2018-09-28
### Added
- New annotation shapes: polygons, polylines, points
- Undo/redo feature
- Grid to estimate size of objects
- Context menu for shapes
- A converter to PASCAL VOC format
- A converter to MS COCO format
- A converter to mask format
- License header for most of all files
- .gitattribute to avoid problems with bash scripts inside a container
- CHANGELOG.md itself
- Drawing size of a bounding box during resize
- Color by instance, group, label
- Group objects
- Object propagation on next frames
- Full screen view

### Changed
- Documentation, screencasts, the primary screenshot
- Content-type for save_job request is application/json

### Fixed
- Player navigation if the browser's window is scrolled
- Filter doesn't support dash (-)
- Several memory leaks
- Inconsistent extensions between filenames in an annotation file and real filenames

## [0.1.2] - 2018-08-07
### Added
- 7z archive support when creating a task
- .vscode/launch.json file for developing with VS code

### Fixed
- #14: docker-compose down command as written in the readme does not remove volumes
- #15: all checkboxes in temporary attributes are checked when reopening job after saving the job
- #18: extend CONTRIBUTING.md
- #19: using the same attribute for label twice -> stuck

### Changed
- More strict verification for labels with attributes

## [0.1.1] - 2018-07-6
### Added
- Links on a screenshot, documentation, screencasts into README.md
- CONTRIBUTORS.md

### Fixed
- GitHub documentation

## 0.1.0 - 2018-06-29
### Added
- Initial version

## Template
```
## [Unreleased]
### Added
-

### Changed
-

### Deprecated
-

### Removed
-

### Fixed
-

### Security
-
```
49 changes: 0 additions & 49 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,52 +2,3 @@

When contributing to this repository, please first discuss the change you wish to make via issue,
email, or any other method with the owners of this repository before making a change.

## Development environment

Next steps should work on clear Ubuntu 18.04.

- Install necessary dependencies:

```sh
$ sudo apt-get install -y curl redis-server python3-dev python3-pip python3-venv libldap2-dev libsasl2-dev
```

- Install [Visual Studio Code](https://code.visualstudio.com/docs/setup/linux#_debian-and-ubuntu-based-distributions) for development

- Install CVAT on your local host:

```sh
$ git clone https://github.com/opencv/cvat
$ cd cvat && mkdir logs keys
$ python3 -m venv .env
$ . .env/bin/activate
$ pip install -U pip wheel
$ pip install -r cvat/requirements/development.txt
$ python manage.py migrate
$ python manage.py collectstatic
```

- Create a super user for CVAT:

```sh
$ python manage.py createsuperuser
Username (leave blank to use 'django'): ***
Email address: ***
Password: ***
Password (again): ***
```

- Run Visual Studio Code from the virtual environment

```
$ code .
```

- Inside Visual Studio Code install [Debugger for Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome) and [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python) extensions

- Reload Visual Studio Code

- Select `CVAT Debugging` configuration and start debugging (F5)

You have done! Now it is possible to insert breakpoints and debug server and client of the tool.
11 changes: 8 additions & 3 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,21 @@
* Primary developer
* Author and maintainer

- **[Andrey Zhavoronkov]()**
- **[Andrey Zhavoronkov](https://github.com/azhavoro)**

* Developer
* Author and maintainer

# Contributors

- **[Victor Salimonov](https://github.com/VikTorSalimonov)**

* Documentation, screencasts

- **[Dmitry Sidnev](https://github.com/DmitriySidnev)**

* [convert_to_coco.py](utils/coco) - an utility for converting annotation from CVAT to COCO data annotation format

- **[Sebastián Yonekura](https://github.com/syonekura)**
* [convert_to_voc.py](cvat/utils/convert_to_voc.py) - an utility for
converting CVAT XML to PASCAL VOC data annotation format.

* [convert_to_voc.py](utils/voc) - an utility for converting CVAT XML to PASCAL VOC data annotation format.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ COPY supervisord.conf mod_wsgi.conf wait-for-it.sh manage.py ${HOME}/
RUN pip3 install --no-cache-dir -r /tmp/requirements/${DJANGO_CONFIGURATION}.txt
COPY cvat/ ${HOME}/cvat
COPY tests ${HOME}/tests
RUN patch -p1 < ${HOME}/cvat/apps/engine/static/engine/js/3rdparty.patch
RUN chown -R ${USER}:${USER} .

# RUN all commands below as 'django' user
Expand Down
40 changes: 20 additions & 20 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
MIT License

Copyright (c) 2018 annotation

Copyright (C) 2018 Intel Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom
the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
OR OTHER DEALINGS IN THE SOFTWARE.

SPDX-License-Identifier: MIT
35 changes: 30 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

CVAT is completely re-designed and re-implemented version of [Video Annotation Tool from Irvine, California](http://carlvondrick.com/vatic/) tool. It is free, online, interactive video and image annotation tool for computer vision. It is being used by our team to annotate million of objects with different properties. Many UI and UX decisions are based on feedbacks from professional data annotation team.

![CVAT screenshot](cvat/apps/documentation/static/documentation/images/gif003.gif)
![CVAT screenshot](cvat/apps/documentation/static/documentation/images/cvat.jpg)

## Documentation

Expand All @@ -11,9 +11,10 @@ CVAT is completely re-designed and re-implemented version of [Video Annotation T

## Screencasts

- [Annotation mode](https://www.youtube.com/watch?v=uSqaQENdyJE)
- [Interpolation mode](https://www.youtube.com/watch?v=sc5X5hvxNfA)
- [Attribute mode](https://www.youtube.com/watch?v=5yXaG0V7X0Q)
- [Annotation mode](https://youtu.be/6h7HxGL6Ct4)
- [Interpolation mode](https://youtu.be/U3MYDhESHo4)
- [Attribute mode](https://youtu.be/UPNfWl8Egd8)
- [Segmentation mode](https://youtu.be/6IJ0QN7PBKo)

## LICENSE

Expand Down Expand Up @@ -82,7 +83,8 @@ Type your login/password for the superuser [on the login page](http://localhost:

### Stop all containers

The command below will stop and remove containers and networks created by `up`. See documentation for [docker-compose down](https://docs.docker.com/compose/reference/down/) for more details.
The command below will stop and remove containers, networks, volumes, and images
created by `up`.

```bash
docker-compose down
Expand Down Expand Up @@ -116,3 +118,26 @@ cvat:
environment:
DJANGO_LOG_SERVER_URL: https://annotation.example.com:5000
```

### Share path

You can use a share storage for data uploading during you are creating a task. To do that you can mount it to CVAT docker container. Example of docker-compose.override.yml for this purpose:

```yml
version: "2.3"

services:
cvat:
environment:
CVAT_SHARE_URL: "Mounted from /mnt/share host directory"
volumes:
cvat_share:/home/django/share:ro

volumes:
cvat_share:
driver_opts:
type: none
device: /mnt/share
o: bind
```
You can change the share device path to your actual share. For user convenience we have defined the enviroment variable $CVAT_SHARE_URL. This variable contains a text (url for example) which will be being shown in the client-share browser.
5 changes: 5 additions & 0 deletions cvat/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

# Copyright (C) 2018 Intel Corporation
#
# SPDX-License-Identifier: MIT

6 changes: 6 additions & 0 deletions cvat/apps/authentication/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@

# Copyright (C) 2018 Intel Corporation
#
# SPDX-License-Identifier: MIT

default_app_config = 'cvat.apps.authentication.apps.AuthenticationConfig'

6 changes: 6 additions & 0 deletions cvat/apps/authentication/admin.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@

# Copyright (C) 2018 Intel Corporation
#
# SPDX-License-Identifier: MIT

from django.contrib import admin

# Register your models here.

5 changes: 5 additions & 0 deletions cvat/apps/authentication/apps.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

# Copyright (C) 2018 Intel Corporation
#
# SPDX-License-Identifier: MIT

from django.apps import AppConfig
from django.db.models.signals import post_migrate, post_save
from .settings.authentication import DJANGO_AUTH_TYPE
Expand Down
5 changes: 5 additions & 0 deletions cvat/apps/authentication/decorators.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

# Copyright (C) 2018 Intel Corporation
#
# SPDX-License-Identifier: MIT

from django.contrib.auth import REDIRECT_FIELD_NAME
from django.shortcuts import resolve_url, reverse
from django.http import JsonResponse
Expand Down
5 changes: 5 additions & 0 deletions cvat/apps/authentication/forms.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

# Copyright (C) 2018 Intel Corporation
#
# SPDX-License-Identifier: MIT

from django.contrib.auth.forms import (
UsernameField,
AuthenticationForm,
Expand Down
5 changes: 5 additions & 0 deletions cvat/apps/authentication/migrations/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

# Copyright (C) 2018 Intel Corporation
#
# SPDX-License-Identifier: MIT

6 changes: 6 additions & 0 deletions cvat/apps/authentication/models.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@

# Copyright (C) 2018 Intel Corporation
#
# SPDX-License-Identifier: MIT

from django.db import models

# Create your models here.

5 changes: 5 additions & 0 deletions cvat/apps/authentication/settings/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

# Copyright (C) 2018 Intel Corporation
#
# SPDX-License-Identifier: MIT

5 changes: 5 additions & 0 deletions cvat/apps/authentication/settings/auth_ldap.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

# Copyright (C) 2018 Intel Corporation
#
# SPDX-License-Identifier: MIT

from django.conf import settings
import ldap
from django_auth_ldap.config import LDAPSearch, NestedActiveDirectoryGroupType
Expand Down
6 changes: 6 additions & 0 deletions cvat/apps/authentication/settings/auth_simple.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@

# Copyright (C) 2018 Intel Corporation
#
# SPDX-License-Identifier: MIT

# Specify groups that new users will have
AUTH_SIMPLE_DEFAULT_GROUPS = []

Loading