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

Fix filename for label in CamVid format #6600

Merged
merged 4 commits into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Accidentally using prebuilt FFmpeg bundled in PyAV instead of the custom
build.
- Fix filename for label in CamVid format (<https://github.com/opencv/cvat/pull/6600>)

### Security

Expand Down
14 changes: 12 additions & 2 deletions site/content/en/docs/manual/advanced/formats/format-camvid.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Downloaded file: a zip archive of the following structure:

```bash
taskname.zip/
├── labelmap.txt # optional, required for non-CamVid labels
├── label_colors.txt # optional, required for non-CamVid labels
├── <any_subset_name>/
| ├── image1.png
| └── image2.png
Expand All @@ -22,13 +22,23 @@ taskname.zip/
| └── image2.png
└── <any_subset_name>.txt

# labelmap.txt
# label_colors.txt (with color value type)
# if you want to manually set the color for labels, configure label_colors.txt as follows:
# color (RGB) label
0 0 0 Void
64 128 64 Animal
192 0 128 Archway
0 128 192 Bicyclist
0 128 64 Bridge

# label_colors.txt (without color value type)
zhiltsov-max marked this conversation as resolved.
Show resolved Hide resolved
# if you do not manually set the color for labels, it will be set automatically:
# label
Void
Animal
Archway
Bicyclist
Bridge
```

Mask is a `png` image with 1 or 3 channels where each pixel
Expand Down
Loading