Skip to content

Commit

Permalink
Add CamVid to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
yasakova-anastasia committed Dec 11, 2020
1 parent 23cf45f commit 7be7523
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions cvat/apps/dataset_manager/formats/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- [YOLO](#yolo)
- [TF detection API](#tfrecord)
- [ImageNet](#imagenet)
- [CamVid](#camvid)

## How to add a new annotation format support<a id="how-to-add"></a>

Expand Down Expand Up @@ -835,3 +836,41 @@ taskname.zip/
Uploaded file: a zip archive of the structure above

- supported annotations: Labels

### [CamVid](http://mi.eng.cam.ac.uk/research/projects/VideoRec/CamVid/)<a id="camvid" />

#### CamVid Dumper

Downloaded file: a zip archive of the following structure:

```bash
taskname.zip/
├── labelmap.txt # optional, required for non-CamVid labels
└── <any_subset_name>/
├── image1.png
└── image2.png
└── <any_subset_name>annot/
├── image1.png
└── image2.png
└── <any_subset_name>.txt
# labelmap.txt
# color (RGB) label
0 0 0 Void
64 128 64 Animal
192 0 128 Archway
0 128 192 Bicyclist
0 128 64 Bridge
```

Mask is a `png` image with 1 or 3 channels where each pixel
has own color which corresponds to a label.
`(0, 0, 0)` is used for background by default.

- supported annotations: Rectangles, Polygons

#### CamVid Loader

Uploaded file: a zip archive of the structure above

- supported annotations: Polygons

0 comments on commit 7be7523

Please sign in to comment.