Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
640
640
image_file
stringlengths
12
12
image_size
listlengths
2
2
lines
listlengths
25
627
P1020171.png
[ 640, 480 ]
[ [ [ 495.42498779296875, 418.625 ], [ 291.4749755859375, 479.5749816894531 ] ], [ [ 335.4750061035156, 286.42498779296875 ], [ 62.60000228881836, 265.3999938964844 ] ], [ [ 323.7250061035156, 174.5749969482422 ...
P1020177.png
[ 640, 480 ]
[ [ [ 327.7749938964844, 57.375 ], [ 11.725000381469727, 155.52499389648438 ] ], [ [ 425.3500061035156, 136.4499969482422 ], [ 328.7749938964844, 57.47500228881836 ] ], [ [ 360.4750061035156, 94.7249984741211 ]...
P1020816.png
[ 640, 480 ]
[ [ [ 165, 82.5 ], [ 390, 150 ] ], [ [ 160, 90 ], [ 390, 153.75 ] ], [ [ 160, 142.5 ], [ 410, 187.5 ] ], [ [ 160, 157.5 ], [ 410, 191.25 ] ], ...
P1020817.png
[ 640, 480 ]
[ [ [ 315, 86.25 ], [ 410, 135 ] ], [ [ 315, 131.25 ], [ 405, 165 ] ], [ [ 225, 326.25 ], [ 315, 303.75 ] ], [ [ 120, 138.75 ], [ 275, 165 ] ], ...
P1020819.png
[ 640, 480 ]
[ [ [ 525, 326.25 ], [ 545, 307.5 ] ], [ [ 525, 273.75 ], [ 550, 281.25 ] ], [ [ 525, 258.75 ], [ 550, 270 ] ], [ [ 525, 210 ], [ 545, 240 ] ], ...
P1020822.png
[ 640, 480 ]
[ [ [ 566.425048828125, 135.625 ], [ 497.5, 145.60000610351562 ] ], [ [ 577.4750366210938, 146.72500610351562 ], [ 566.625, 135.52499389648438 ] ], [ [ 569.0750122070312, 159.625 ], [ 526.125, 1...
P1020824.png
[ 640, 480 ]
[ [ [ 70, 112.5 ], [ 230, 131.25 ] ], [ [ 300, 341.25 ], [ 325, 337.5 ] ], [ [ 300, 348.75 ], [ 325, 345 ] ], [ [ 325, 202.5 ], [ 375, 202.5 ] ]...
P1020825.png
[ 640, 480 ]
[ [ [ 0, 82.5 ], [ 390, 127.5 ] ], [ [ 520, 318.75 ], [ 635, 307.5 ] ], [ [ 0, 180 ], [ 170, 183.75 ] ], [ [ 0, 255 ], [ 135, 255 ] ], [ [...
P1020826.png
[ 640, 480 ]
[ [ [ 6.650000095367432, 187.39999389648438 ], [ 182.625, 191.625 ] ], [ [ 6.600000381469727, 227.4499969482422 ], [ 182.54998779296875, 228.4499969482422 ] ], [ [ 6.575000286102295, 256.7250061035156 ], [ ...
P1020828.png
[ 640, 480 ]
[ [ [ 639.99951171875, 171.47499084472656 ], [ 252.54998779296875, 186.65000915527344 ] ], [ [ 618.5250244140625, 227.52499389648438 ], [ 251.52499389648438, 229.52499389648438 ] ], [ [ 252.54998779296875, 186.6500...
P1020829.png
[ 640, 480 ]
[ [ [ 619.5999755859375, 141.45001220703125 ], [ 613.5499877929688, 374.5 ] ], [ [ 613.7000122070312, 139.5500030517578 ], [ 607.625, 376.4750061035156 ] ], [ [ 558.7749633789062, 0.675000011920929 ], [ ...
P1020830.png
[ 640, 480 ]
[ [ [ 639.99951171875, 41.5 ], [ 262.7249755859375, 162.77499389648438 ] ], [ [ 639.99951171875, 90.6500015258789 ], [ 189.52499389648438, 203.77499389648438 ] ], [ [ 639.99951171875, 195.72499084472656 ], ...
P1020831.png
[ 640, 480 ]
[ [ [ 10, 382.5 ], [ 250, 326.25 ] ], [ [ 5, 420 ], [ 250, 345 ] ], [ [ 20, 363.75 ], [ 250, 315 ] ], [ [ 145, 165 ], [ 255, 187.5 ] ], [ ...
P1020833.png
[ 640, 480 ]
[ [ [ 327.4750061035156, 178.72500610351562 ], [ 121.375, 103.57500457763672 ] ], [ [ 428.5749816894531, 90.7750015258789 ], [ 422.5249938964844, 437.375 ] ], [ [ 426.6999816894531, 438.4000244140625 ], [ ...
P1020838.png
[ 640, 480 ]
[ [ [ 639.375, 343.625 ], [ 362.42498779296875, 418.57501220703125 ] ], [ [ 639.9750366210938, 393.5749816894531 ], [ 445.92498779296875, 461.7749938964844 ] ], [ [ 429.2250061035156, 462.4750061035156 ], [...
P1020839.png
[ 640, 480 ]
[ [ [ 20, 180 ], [ 405, 221.25 ] ], [ [ 30, 37.5 ], [ 490, 202.5 ] ], [ [ 420, 0 ], [ 575, 202.5 ] ], [ [ 355, 3.75 ], [ 565, 202.5 ] ], [ ...
P1020841.png
[ 640, 480 ]
[ [ [ 325.625, 351.875 ], [ 394.7750244140625, 379.4750061035156 ] ], [ [ 266.25, 329.1000061035156 ], [ 226.4250030517578, 312.8249816894531 ] ], [ [ 189.32501220703125, 297.32501220703125 ], [ 164.6...
P1020845.png
[ 640, 480 ]
[ [ [ 449.17498779296875, 323.42498779296875 ], [ 0.7249999642372131, 406.7749938964844 ] ], [ [ 226.5749969482422, 108.7249984741211 ], [ 49.724998474121094, 42.57500076293945 ] ], [ [ 49.67500305175781, 42.875 ...
P1020847.png
[ 640, 480 ]
[ [ [ 630, 307.5 ], [ 215, 476.25 ] ], [ [ 390, 217.5 ], [ 570, 255 ] ], [ [ 390, 153.75 ], [ 585, 232.5 ] ], [ [ 385, 33.75 ], [ 585, 187.5 ] ]...
P1020848.png
[ 640, 480 ]
[ [ [ 420, 22.5 ], [ 635, 232.5 ] ], [ [ 230, 37.5 ], [ 270, 63.75 ] ], [ [ 175, 60 ], [ 155, 48.75 ] ], [ [ 425, 285 ], [ 600, 333.75 ] ], [ ...
P1020854.png
[ 640, 480 ]
[ [ [ 276.3500061035156, 479.6000061035156 ], [ 19.274999618530273, 355.07501220703125 ] ], [ [ 315.375, 479.5749816894531 ], [ 34.70000076293945, 353.54998779296875 ] ], [ [ 639.99951171875, 472.6750183105469 ...
P1020856.png
[ 640, 480 ]
[ [ [ 365.625, 111.57500457763672 ], [ 363.6999816894531, 375.3999938964844 ] ], [ [ 425.2749938964844, 303.625 ], [ 364.75, 303.54998779296875 ] ], [ [ 94.70000457763672, 376.29998779296875 ], [ 101....
P1020860.png
[ 640, 480 ]
[ [ [ 125.55000305175781, 31.549999237060547 ], [ 124.55000305175781, 431.5 ] ], [ [ 618, 22.149999618530273 ], [ 618.5250244140625, 87.375 ] ], [ [ 617.0750122070312, 25.475000381469727 ], [ 364.9249...
P1020861.png
[ 640, 480 ]
[ [ [ 149.625, 42.375 ], [ 84.5999984741211, 142.5500030517578 ] ], [ [ 487.625, 96.7750015258789 ], [ 150.52499389648438, 42.625 ] ], [ [ 388.625, 41.57500076293945 ], [ 388.54998779296875, 77....
P1020867.png
[ 640, 480 ]
[ [ [ 635, 363.75 ], [ 595, 360 ] ], [ [ 635, 435 ], [ 280, 401.25 ] ], [ [ 560, 468.75 ], [ 205, 423.75 ] ], [ [ 195, 150 ], [ 165, 153.75 ] ],...
P1020871.png
[ 640, 480 ]
[ [ [ 636.5750122070312, 479.7750244140625 ], [ 558.5250244140625, 283.5249938964844 ] ], [ [ 571.375, 477.375 ], [ 537.375, 289.7250061035156 ] ], [ [ 514.375, 479.9996337890625 ], [ 516.525024414062...
P1020872.png
[ 640, 480 ]
[ [ [ 609.375, 58.474998474121094 ], [ 574.625, 61.67499923706055 ] ], [ [ 618.574951171875, 63.57499694824219 ], [ 610.4749755859375, 57.625 ] ], [ [ 609.4249877929688, 78.42500305175781 ], [ 575.700...
P1020887.png
[ 640, 480 ]
[ [ [ 24.649999618530273, 195.35000610351562 ], [ 86.5250015258789, 447.5249938964844 ] ], [ [ 106.5250015258789, 444.625 ], [ 32.525001525878906, 190.72500610351562 ] ], [ [ 209.57501220703125, 445.2250061035156 ...
P1020912.png
[ 640, 480 ]
[ [ [ 260.5249938964844, 152.57501220703125 ], [ 539.2750244140625, 479.625 ] ], [ [ 586.5250244140625, 88.57500457763672 ], [ 459.4749755859375, 86.375 ] ], [ [ 450.625, 24.475000381469727 ], [ 449.4...
P1020928.png
[ 640, 480 ]
[ [ [ 483.5749816894531, 479.375 ], [ 258.375, 336.5249938964844 ] ], [ [ 251.82501220703125, 336.57501220703125 ], [ 172.625, 354.5249938964844 ] ], [ [ 172.4250030517578, 355.2749938964844 ], [ 203....
P1030001.png
[ 640, 480 ]
[ [ [ 338, 129.85000610351562 ], [ 337.92498779296875, 174.1750030517578 ] ], [ [ 358.2749938964844, 136.375 ], [ 358.0749816894531, 179.375 ] ], [ [ 338.0250244140625, 129.0749969482422 ], [ 357.5249...
P1030004.png
[ 640, 480 ]
[ [ [ 292.2750244140625, 151.375 ], [ 292.2750244140625, 107.5250015258789 ] ], [ [ 262.07501220703125, 160.125 ], [ 262.375, 120.52499389648438 ] ], [ [ 245.625, 124.42500305175781 ], [ 245.925003051...
End of preview. Expand in Data Studio

YorkUrban Dataset

This is the YorkUrban dataset hosted on Hugging Face Hub.

Summary

YorkUrban dataset with image annotations including line segments. The dataset is stored as jsonl files (test/metadata.jsonl) and images.

Number of samples:

  • Train: 0
  • Test: 102

Download

  • Download with huggingface-hub
python3 -m pip install huggingface-hub
huggingface-cli download --repo-type dataset lh9171338/Wireframe --local-dir ./
  • Download with Git
git lfs install
git clone https://huggingface.co/datasets/lh9171338/Wireframe

Usage

  • Load the dataset from Hugging Face Hub
from datasets import load_dataset

ds = load_dataset("lh9171338/YorkUrban")
# or load from `refs/convert/parquet` for acceleration
# from datasets import load_dataset, Features, Image, Sequence, Value
# features = Features({
#     "image": Image(),
#     "image_file": Value("string"),
#     "image_size": Sequence(Value("int32")),
#     "lines": Sequence(Sequence(Sequence(Value("float32")))),
# })
# ds = load_dataset("lh9171338/YorkUrban", features=features, revision="refs/convert/parquet")
print(ds)
# DatasetDict({
#     test: Dataset({
#         features: ['image', 'image_file', 'image_size', 'lines'],
#         num_rows: 102
#     })
# })
print(ds["test"][0].keys())
# dict_keys(['image', 'image_file', 'image_size', 'lines'])
  • Load the dataset from local
from datasets import load_dataset

ds = load_dataset("imagefolder", data_dir=".")
print(ds)
# DatasetDict({
#     test: Dataset({
#         features: ['image', 'image_file', 'image_size', 'lines'],
#         num_rows: 102
#     })
# })
print(ds["test"][0].keys())
# dict_keys(['image', 'image_file', 'image_size', 'lines'])
  • Load the dataset with jsonl files
import jsonlines

with jsonlines.open("test/metadata.jsonl") as reader:
    infos = list(reader)
print(infos[0].keys())
# dict_keys(['file_name', 'image_file', 'image_size', 'lines'])

Viewer

Open in Space

Downloads last month
22

Models trained or fine-tuned on lh9171338/YorkUrban

Collection including lh9171338/YorkUrban