diff --git a/site/content/en/docs/manual/advanced/cli.md b/site/content/en/docs/manual/advanced/cli.md index 61c9508a..50e29e67 100644 --- a/site/content/en/docs/manual/advanced/cli.md +++ b/site/content/en/docs/manual/advanced/cli.md @@ -175,13 +175,13 @@ by using the [label constructor](/docs/manual/basics/creating_an_annotation_task ### Dump annotation -- Dump annotation task with id 103, in the format `CVAT for images 1.1` and save to the file "output.xml": +- Dump annotation task with id 103, in the format `CVAT for images 1.1` and save to the file "output.zip": ```bash - cli.py dump --format "CVAT for images 1.1" 103 output.xml + cli.py dump --format "CVAT for images 1.1" 103 output.zip ``` -- Dump annotation task with id 104, in the format `COCO 1.0` and save to the file "output.tar": +- Dump annotation task with id 104, in the format `COCO 1.0` and save to the file "output.zip": ```bash - cli.py dump --format "COCO 1.0" 104 output.tar + cli.py dump --format "COCO 1.0" 104 output.zip ``` ### Upload annotation @@ -193,9 +193,9 @@ by using the [label constructor](/docs/manual/basics/creating_an_annotation_task ### Export task -- Export task with id 136 to file "task_136.tar": +- Export task with id 136 to file "task_136.zip": ```bash - cli.py export 136 task_136.tar + cli.py export 136 task_136.zip ``` ### Import diff --git a/site/content/en/docs/manual/advanced/xml_format.md b/site/content/en/docs/manual/advanced/xml_format.md index d5d8b53e..d2bfa83b 100644 --- a/site/content/en/docs/manual/advanced/xml_format.md +++ b/site/content/en/docs/manual/advanced/xml_format.md @@ -81,7 +81,7 @@ On each image it is possible to have many different objects. Each object can hav If an annotation task is created with `z_order` flag then each object will have `z_order` attribute which is used to draw objects properly when they are intersected (if `z_order` is bigger the object is closer to camera). In previous versions of the format only `box` shape was available. -In later releases `polygon`, `polyline`, and `points` were added. Please see below for more details: +In later releases `polygon`, `polyline`, `points` and `tags` were added. Please see below for more details: ```xml @@ -113,6 +113,10 @@ In later releases `polygon`, `polyline`, and `points` were added. Please see bel String: the attribute value ... + + String: the attribute value + ... + ... ... @@ -184,6 +188,8 @@ Example: + + ``` @@ -200,7 +206,7 @@ cloned for each location (a known redundancy). ... - + String: the attribute value ... @@ -284,223 +290,3 @@ Example: ``` - -## Version 1 - -There are two different formats for images and video tasks at the moment. -Both formats has a common part which is described below: - -```xml - - - 1.0 - - - Number: id of the task - String: some task name - Number: count of frames/images in the task - String: interpolation or annotation - Number: number of overlapped frames between segments - String: URL on an page which describe the task - String: date when the task was created - String: date when the task was updated - - - - - - Number: id of the segment - Number: first frame - Number: last frame - String: URL (e.g. http://cvat.example.com/?id=213) - - - - String: the author of the task - String: email of the author - - - String: date when the annotation was dumped - - ... - -``` - -### Annotation - -Below you can find description of the data format for images tasks. - -On each image it is possible to have many different objects. Each object can have multiple attributes. - -```xml - - - ... - - - String: the attribute value - ... - - ... - - ... - -``` - -Example: - -```xml - - - 1.0 - - - 1063 - My annotation task - 75 - annotation - 0 - - 2018-06-06 11:57:54.807162+03:00 - 2018-06-06 12:42:29.375251+03:00 - - - - - - 3086 - 0 - 74 - http://cvat.examle.com:8080/?id=3086 - - - - admin - - - - 2018-06-06 15:47:04.386866+03:00 - - - - false - a - - - - - true - a - - - - - false - b - - - - - false - c - - - -``` - -### Interpolation - -Below you can find description of the data format for video tasks. -The annotation contains tracks. Each track corresponds to an object which can be presented on multiple frames. -The same object cannot be presented on the same frame in multiple locations. -Each location of the object can have multiple attributes even if an attribute is immutable for the object -it will be cloned for each location (a known redundancy). - -```xml - - - ... - - - String: the attribute value - ... - - ... - - ... - -``` - -Example: - -```xml - - - 1.0 - - - 1062 - My interpolation task - 30084 - interpolation - 20 - - 2018-05-31 14:13:36.483219+03:00 - 2018-06-06 13:56:32.113705+03:00 - - - - - - 3085 - 0 - 30083 - http://cvat.example.com:8080/?id=3085 - - - - admin - - - - 2018-06-06 15:52:11.138470+03:00 - - - - 1 - - - 1 - - - 1 - - - - - 3 - - - 3 - - - 3 - - - -```