Datasets:
image imagewidth (px) 1.22k 1.22k | objects dict | segmentation listlengths 35 477 |
|---|---|---|
{
"bbox": [
[
145,
549,
1078,
474
],
[
972,
0,
251,
757
],
[
0,
551,
234,
468
],
[
818,
272,
242,
440
],
[
760,
0,
297,
500
],
[
189,
484,
... | [
{
"label": "cobblestone",
"category": 12,
"points": [
[
145,
1023
],
[
1223,
1023
],
[
1223,
843
],
[
1193,
828
],
[
1192,
826
],
[
1166,
824
... | |
{"bbox":[[0.0,0.0,1215.0,458.0],[0.0,490.0,679.0,533.0],[337.0,520.0,761.0,503.0],[0.0,99.0,1175.0,4(...TRUNCATED) | [{"label":"sky","category":19,"points":[[0.0,402.0],[4.0,398.0],[6.0,399.0],[12.0,395.0],[22.0,392.0(...TRUNCATED) | |
{"bbox":[[209.0,503.0,1014.0,520.0],[0.0,0.0,621.0,488.0],[0.0,394.0,618.0,629.0],[1044.0,27.0,179.0(...TRUNCATED) | [{"label":"asphalt","category":0,"points":[[209.0,1023.0],[1223.0,1023.0],[1223.0,941.0],[1196.0,920(...TRUNCATED) | |
{"bbox":[[0.0,0.0,1223.0,900.0],[0.0,532.0,1223.0,491.0],[556.0,348.0,232.0,199.0],[201.0,0.0,330.0,(...TRUNCATED) | [{"label":"brick","category":13,"points":[[0.0,0.0],[0.0,900.0],[15.0,892.0],[16.0,890.0],[24.0,887.(...TRUNCATED) | |
{"bbox":[[64.0,514.0,1159.0,509.0],[0.0,99.0,512.0,649.0],[527.0,0.0,396.0,424.0],[0.0,19.0,578.0,95(...TRUNCATED) | [{"label":"asphalt","category":0,"points":[[1223.0,714.0],[1218.0,713.0],[1213.0,708.0],[1207.0,706.(...TRUNCATED) | |
{"bbox":[[0.0,0.0,1223.0,604.0],[0.0,540.0,1223.0,462.0],[0.0,650.0,1223.0,373.0],[363.0,0.0,860.0,2(...TRUNCATED) | [{"label":"concrete","category":1,"points":[[0.0,0.0],[0.0,2.0],[5.0,3.0],[7.0,6.0],[9.0,36.0],[8.0,(...TRUNCATED) | |
{"bbox":[[683.0,0.0,540.0,646.0],[0.0,471.0,670.0,552.0],[0.0,0.0,483.0,486.0],[423.0,552.0,722.0,47(...TRUNCATED) | [{"label":"leaf","category":16,"points":[[1051.0,0.0],[1052.0,2.0],[1050.0,5.0],[1038.0,7.0],[1033.0(...TRUNCATED) | |
{"bbox":[[301.0,494.0,922.0,529.0],[0.0,443.0,620.0,580.0],[0.0,0.0,623.0,488.0],[656.0,0.0,528.0,29(...TRUNCATED) | [{"label":"asphalt","category":0,"points":[[301.0,1023.0],[1223.0,1023.0],[1223.0,725.0],[1216.0,723(...TRUNCATED) | |
{"bbox":[[313.0,515.0,910.0,508.0],[549.0,0.0,674.0,612.0],[310.0,0.0,622.0,436.0],[0.0,0.0,482.0,55(...TRUNCATED) | [{"label":"asphalt","category":0,"points":[[314.0,832.0],[313.0,854.0],[331.0,853.0],[337.0,850.0],[(...TRUNCATED) | |
{"bbox":[[0.0,506.0,1223.0,517.0],[0.0,0.0,872.0,316.0],[0.0,232.0,1032.0,376.0],[705.0,0.0,518.0,56(...TRUNCATED) | [{"label":"cobblestone","category":12,"points":[[1223.0,683.0],[1179.0,669.0],[1178.0,667.0],[1169.0(...TRUNCATED) |
View on Pictograph · Pictograph Research · MIT License
About
MCubeS is a computer-vision dataset from MCubeS (Multimodal Material Segmentation), hosted on Pictograph. The most common detected objects are sidewalk, road, crosswalk, building, factory, bicycle. On Pictograph you can browse every annotated image, import it into your own workspace in one click, export it in a dozen formats, or train a model on it directly.
At a glance
| Metric | Value |
|---|---|
| Images | 500 |
| Annotations | 99,352 |
| Classes | 20 |
| Annotation types | polygon |
| Splits | train, validation, test |
Quick start
Load it in one line with the datasets library, then read each record's boxes and class names:
from datasets import load_dataset
from PIL import ImageDraw
ds = load_dataset("pictograph/mcubes", split="train")
example = ds[0]
image = example["image"] # a PIL image
objects = example["objects"] # {bbox, categories, category_names}
# draw every bounding box with its class name
draw = ImageDraw.Draw(image)
for (x, y, w, h), name in zip(objects["bbox"], objects["category_names"]):
draw.rectangle([x, y, x + w, y + h], outline="red", width=3)
draw.text((x, y - 12), name, fill="red")
# polygon masks live under example["segmentation"]:
# [{"label": name, "category": idx, "points": [[x, y], ...]}, ...]
image.show()
Prefer a full annotation editor, one-click import, multi-format export, and one-click training? Open this dataset on Pictograph.
Dataset structure
This dataset uses the Hugging Face imagefolder layout: each split directory holds the images plus a metadata.jsonl that links every image to its annotations by file_name.
| Field | Description |
|---|---|
file_name |
Path to the image within the split directory. |
objects.bbox |
Bounding boxes as [x, y, width, height] (pixels). |
objects.categories |
Integer class index per box (matches the class list below). |
objects.category_names |
Human class name per box. |
segmentation |
List of {label, category, points}; points is a polygon ring [[x, y], ...]. |
Data instance
One record (bounding boxes are [x, y, width, height] in pixels; the class index maps into the class list below):
{
"image": <PIL.Image (RGB)>,
"objects": {
"bbox": [[172.0, 192.0, 249.4, 152.7]],
"categories": [0],
"category_names": ["asphalt"]
},
"segmentation": [
{"label": "asphalt", "category": 0, "points": [[176.9, 207.2], [259.0, 274.1], ...]}
]
}
Classes
Class index matches objects.categories in metadata.jsonl.
| # | Class | Annotations |
|---|---|---|
| 0 | asphalt | 2,503 |
| 1 | concrete | 16,773 |
| 2 | metal | 11,243 |
| 3 | road marking | 1,706 |
| 4 | fabric leather | 900 |
| 5 | glass | 15,251 |
| 6 | plaster | 1,507 |
| 7 | plastic | 2,517 |
| 8 | rubber | 4,545 |
| 9 | sand | 1,404 |
| 10 | gravel | 252 |
| 11 | ceramic | 2,116 |
| 12 | cobblestone | 525 |
| 13 | brick | 5,124 |
| 14 | grass | 2,855 |
| 15 | wood | 5,590 |
| 16 | leaf | 9,834 |
| 17 | water | 336 |
| 18 | human body | 518 |
| 19 | sky | 13,853 |
License
Released under MIT License.
Source and attribution
The images and annotations come from MCubeS (Multimodal Material Segmentation), created by Kyoto University (Liang et al., CVPR 2022) and released under MIT License. We are grateful to the original authors. If you use this data, please cite the original source above.
Citation
@InProceedings{Liang_2022_CVPR,
author = {Liang, Yupeng and Wakaki, Ryosuke and Nobuhara, Shohei and Nishino, Ko},
title = {Multimodal Material Segmentation},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2022},
pages = {19800-19808}
}
Published from Pictograph - annotate, train, and deploy from one API.
- Downloads last month
- 62
