Datasets:

Modalities:
Image
Formats:
arrow
Languages:
English
Tags:
legal
Libraries:
Datasets
License:
Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
image
imagewidth (px)
25
876
label
dict
{ "digit": [ 6, 9 ], "bbox": [ { "left": 41, "top": 4, "width": 20, "height": 45 }, { "left": 59, "top": 6, "width": 22, "height": 45 } ] }
{ "digit": [ 3, 0 ], "bbox": [ { "left": 35, "top": 4, "width": 12, "height": 31 }, { "left": 51, "top": 6, "width": 12, "height": 31 } ] }
{ "digit": [ 3, 8 ], "bbox": [ { "left": 22, "top": 5, "width": 10, "height": 22 }, { "left": 32, "top": 3, "width": 10, "height": 22 } ] }
{ "digit": [ 4, 9, 7 ], "bbox": [ { "left": 83, "top": 32, "width": 23, "height": 41 }, { "left": 104, "top": 25, "width": 20, "height": 41 }, { "left": 116, "top": 15, "width": 30, "height": 41 } ] }
{ "digit": [ 1 ], "bbox": [ { "left": 86, "top": 34, "width": 13, "height": 40 } ] }
{ "digit": [ 1, 8, 1, 9 ], "bbox": [ { "left": 59, "top": 18, "width": 15, "height": 44 }, { "left": 71, "top": 18, "width": 22, "height": 44 }, { "left": 90, "top": 18, "width": 20, "height": 44 }, ...
{ "digit": [ 4 ], "bbox": [ { "left": 26, "top": 1, "width": 18, "height": 28 } ] }
{ "digit": [ 1, 9 ], "bbox": [ { "left": 16, "top": 4, "width": 6, "height": 16 }, { "left": 28, "top": 3, "width": 6, "height": 16 } ] }
{ "digit": [ 5 ], "bbox": [ { "left": 69, "top": 9, "width": 45, "height": 73 } ] }
{ "digit": [ 5, 0, 9 ], "bbox": [ { "left": 17, "top": 2, "width": 8, "height": 19 }, { "left": 25, "top": 2, "width": 10, "height": 19 }, { "left": 36, "top": 2, "width": 8, "height": 19 } ] }
{ "digit": [ 1, 4, 9 ], "bbox": [ { "left": 32, "top": 2, "width": 11, "height": 35 }, { "left": 44, "top": 4, "width": 15, "height": 35 }, { "left": 62, "top": 3, "width": 14, "height": 35 } ] }
{ "digit": [ 3, 7 ], "bbox": [ { "left": 47, "top": 12, "width": 39, "height": 46 }, { "left": 90, "top": 9, "width": 45, "height": 46 } ] }
{ "digit": [ 8, 0, 5 ], "bbox": [ { "left": 35, "top": 11, "width": 8, "height": 16 }, { "left": 43, "top": 12, "width": 7, "height": 16 }, { "left": 48, "top": 12, "width": 7, "height": 16 } ] }
{ "digit": [ 9, 9 ], "bbox": [ { "left": 50, "top": 16, "width": 18, "height": 31 }, { "left": 66, "top": 14, "width": 18, "height": 31 } ] }
{ "digit": [ 3, 3, 2 ], "bbox": [ { "left": 22, "top": 5, "width": 10, "height": 20 }, { "left": 30, "top": 4, "width": 8, "height": 20 }, { "left": 38, "top": 4, "width": 8, "height": 20 } ] }
{ "digit": [ 5, 2 ], "bbox": [ { "left": 48, "top": 15, "width": 18, "height": 29 }, { "left": 68, "top": 14, "width": 16, "height": 29 } ] }
{ "digit": [ 9, 9 ], "bbox": [ { "left": 18, "top": 5, "width": 8, "height": 15 }, { "left": 26, "top": 3, "width": 8, "height": 15 } ] }
{ "digit": [ 4, 6 ], "bbox": [ { "left": 49, "top": 20, "width": 19, "height": 40 }, { "left": 68, "top": 15, "width": 19, "height": 40 } ] }
{ "digit": [ 2, 9, 9 ], "bbox": [ { "left": 96, "top": 20, "width": 33, "height": 50 }, { "left": 131, "top": 16, "width": 26, "height": 50 }, { "left": 161, "top": 13, "width": 37, "height": 50 } ] }
{ "digit": [ 2, 3 ], "bbox": [ { "left": 23, "top": 3, "width": 10, "height": 20 }, { "left": 35, "top": 2, "width": 11, "height": 20 } ] }
{ "digit": [ 9, 2 ], "bbox": [ { "left": 36, "top": 7, "width": 19, "height": 37 }, { "left": 54, "top": 7, "width": 21, "height": 37 } ] }
{ "digit": [ 1 ], "bbox": [ { "left": 49, "top": 7, "width": 23, "height": 54 } ] }
{ "digit": [ 2, 1 ], "bbox": [ { "left": 22, "top": 5, "width": 8, "height": 18 }, { "left": 30, "top": 5, "width": 6, "height": 18 } ] }
{ "digit": [ 3, 1, 2 ], "bbox": [ { "left": 32, "top": 6, "width": 13, "height": 32 }, { "left": 46, "top": 7, "width": 7, "height": 32 }, { "left": 54, "top": 5, "width": 11, "height": 32 } ] }
{ "digit": [ 2, 3, 4 ], "bbox": [ { "left": 58, "top": 1, "width": 66, "height": 88 }, { "left": 123, "top": 4, "width": 50, "height": 88 }, { "left": 171, "top": 4, "width": 49, "height": 88 } ] }
{ "digit": [ 2, 9, 0 ], "bbox": [ { "left": 26, "top": 7, "width": 13, "height": 21 }, { "left": 39, "top": 4, "width": 14, "height": 21 }, { "left": 52, "top": 4, "width": 16, "height": 21 } ] }
{ "digit": [ 8, 5 ], "bbox": [ { "left": 20, "top": 3, "width": 8, "height": 15 }, { "left": 29, "top": 5, "width": 11, "height": 15 } ] }
{ "digit": [ 4, 3 ], "bbox": [ { "left": 68, "top": 4, "width": 30, "height": 75 }, { "left": 100, "top": 8, "width": 33, "height": 75 } ] }
{ "digit": [ 6 ], "bbox": [ { "left": 24, "top": 3, "width": 11, "height": 19 } ] }
{ "digit": [ 2, 2, 8 ], "bbox": [ { "left": 55, "top": 9, "width": 34, "height": 56 }, { "left": 90, "top": 12, "width": 31, "height": 56 }, { "left": 121, "top": 14, "width": 31, "height": 56 } ] }
{ "digit": [ 4, 2 ], "bbox": [ { "left": 28, "top": 4, "width": 14, "height": 30 }, { "left": 43, "top": 4, "width": 14, "height": 30 } ] }
{ "digit": [ 9, 2 ], "bbox": [ { "left": 33, "top": 6, "width": 11, "height": 30 }, { "left": 44, "top": 6, "width": 10, "height": 30 } ] }
{ "digit": [ 5, 1 ], "bbox": [ { "left": 63, "top": 15, "width": 23, "height": 35 }, { "left": 87, "top": 17, "width": 18, "height": 35 } ] }
{ "digit": [ 7 ], "bbox": [ { "left": 25, "top": 5, "width": 7, "height": 16 } ] }
{ "digit": [ 8, 8 ], "bbox": [ { "left": 25, "top": 5, "width": 9, "height": 18 }, { "left": 33, "top": 6, "width": 10, "height": 18 } ] }
{ "digit": [ 9, 8 ], "bbox": [ { "left": 68, "top": 14, "width": 11, "height": 39 }, { "left": 80, "top": 11, "width": 12, "height": 39 } ] }
{ "digit": [ 2, 4, 1, 8 ], "bbox": [ { "left": 10, "top": 1, "width": 8, "height": 12 }, { "left": 19, "top": 1, "width": 7, "height": 12 }, { "left": 27, "top": 2, "width": 5, "height": 12 }, { ...
{ "digit": [ 5, 1 ], "bbox": [ { "left": 40, "top": 11, "width": 16, "height": 26 }, { "left": 57, "top": 12, "width": 12, "height": 26 } ] }
{ "digit": [ 1, 9, 0 ], "bbox": [ { "left": 18, "top": 2, "width": 5, "height": 12 }, { "left": 22, "top": 3, "width": 7, "height": 12 }, { "left": 30, "top": 3, "width": 6, "height": 12 } ] }
{ "digit": [ 2, 8 ], "bbox": [ { "left": 24, "top": 7, "width": 9, "height": 24 }, { "left": 33, "top": 6, "width": 11, "height": 24 } ] }
{ "digit": [ 2, 1 ], "bbox": [ { "left": 73, "top": 23, "width": 30, "height": 54 }, { "left": 99, "top": 24, "width": 21, "height": 54 } ] }
{ "digit": [ 4, 9 ], "bbox": [ { "left": 58, "top": 43, "width": 43, "height": 73 }, { "left": 106, "top": 46, "width": 39, "height": 73 } ] }
{ "digit": [ 8, 7 ], "bbox": [ { "left": 44, "top": 13, "width": 18, "height": 36 }, { "left": 62, "top": 8, "width": 16, "height": 36 } ] }
{ "digit": [ 1, 0, 7 ], "bbox": [ { "left": 59, "top": 34, "width": 19, "height": 44 }, { "left": 75, "top": 28, "width": 27, "height": 44 }, { "left": 99, "top": 15, "width": 24, "height": 44 } ] }
{ "digit": [ 1, 2, 1 ], "bbox": [ { "left": 70, "top": 17, "width": 10, "height": 44 }, { "left": 76, "top": 16, "width": 19, "height": 44 }, { "left": 90, "top": 20, "width": 14, "height": 44 } ] }
{ "digit": [ 3, 0 ], "bbox": [ { "left": 24, "top": 7, "width": 7, "height": 17 }, { "left": 28, "top": 6, "width": 8, "height": 17 } ] }
{ "digit": [ 4, 7 ], "bbox": [ { "left": 32, "top": 7, "width": 15, "height": 28 }, { "left": 45, "top": 4, "width": 16, "height": 28 } ] }
{ "digit": [ 1, 9, 9 ], "bbox": [ { "left": 48, "top": 10, "width": 12, "height": 45 }, { "left": 62, "top": 11, "width": 18, "height": 45 }, { "left": 80, "top": 15, "width": 18, "height": 45 } ] }
{ "digit": [ 3, 9 ], "bbox": [ { "left": 75, "top": 11, "width": 34, "height": 69 }, { "left": 110, "top": 16, "width": 52, "height": 69 } ] }
{ "digit": [ 3 ], "bbox": [ { "left": 48, "top": 9, "width": 21, "height": 36 } ] }
{ "digit": [ 4, 6 ], "bbox": [ { "left": 75, "top": 3, "width": 45, "height": 96 }, { "left": 127, "top": 1, "width": 48, "height": 96 } ] }
{ "digit": [ 1, 2 ], "bbox": [ { "left": 21, "top": 2, "width": 11, "height": 25 }, { "left": 33, "top": 2, "width": 14, "height": 25 } ] }
{ "digit": [ 2, 5 ], "bbox": [ { "left": 45, "top": 17, "width": 9, "height": 25 }, { "left": 52, "top": 11, "width": 12, "height": 25 } ] }
{ "digit": [ 5, 0 ], "bbox": [ { "left": 52, "top": 10, "width": 18, "height": 48 }, { "left": 72, "top": 9, "width": 22, "height": 48 } ] }
{ "digit": [ 2, 6 ], "bbox": [ { "left": 48, "top": 21, "width": 27, "height": 56 }, { "left": 76, "top": 1, "width": 32, "height": 56 } ] }
{ "digit": [ 1, 3 ], "bbox": [ { "left": 52, "top": 18, "width": 12, "height": 29 }, { "left": 63, "top": 19, "width": 14, "height": 29 } ] }
{ "digit": [ 9, 2 ], "bbox": [ { "left": 82, "top": 27, "width": 18, "height": 37 }, { "left": 99, "top": 29, "width": 20, "height": 37 } ] }
{ "digit": [ 8 ], "bbox": [ { "left": 87, "top": 9, "width": 32, "height": 54 } ] }
{ "digit": [ 4, 8 ], "bbox": [ { "left": 27, "top": 5, "width": 14, "height": 26 }, { "left": 42, "top": 4, "width": 15, "height": 26 } ] }
{ "digit": [ 9 ], "bbox": [ { "left": 64, "top": 7, "width": 27, "height": 45 } ] }
{ "digit": [ 1, 1, 4 ], "bbox": [ { "left": 28, "top": 8, "width": 3, "height": 17 }, { "left": 31, "top": 7, "width": 4, "height": 17 }, { "left": 36, "top": 8, "width": 5, "height": 17 } ] }
{ "digit": [ 7, 8 ], "bbox": [ { "left": 25, "top": 2, "width": 17, "height": 35 }, { "left": 43, "top": 3, "width": 15, "height": 35 } ] }
{ "digit": [ 1, 5 ], "bbox": [ { "left": 40, "top": 9, "width": 8, "height": 37 }, { "left": 52, "top": 5, "width": 20, "height": 37 } ] }
{ "digit": [ 1, 3, 9 ], "bbox": [ { "left": 45, "top": 28, "width": 12, "height": 24 }, { "left": 53, "top": 27, "width": 14, "height": 24 }, { "left": 64, "top": 24, "width": 14, "height": 24 } ] }
{ "digit": [ 9, 7 ], "bbox": [ { "left": 2, "top": 13, "width": 17, "height": 46 }, { "left": 19, "top": 11, "width": 21, "height": 46 } ] }
{ "digit": [ 4, 1 ], "bbox": [ { "left": 43, "top": 4, "width": 15, "height": 36 }, { "left": 57, "top": 5, "width": 13, "height": 36 } ] }
{ "digit": [ 1, 1 ], "bbox": [ { "left": 131, "top": 23, "width": 56, "height": 120 }, { "left": 184, "top": 20, "width": 45, "height": 120 } ] }
{ "digit": [ 3, 9, 0 ], "bbox": [ { "left": 49, "top": 12, "width": 20, "height": 42 }, { "left": 64, "top": 11, "width": 17, "height": 42 }, { "left": 77, "top": 13, "width": 17, "height": 42 } ] }
{ "digit": [ 9, 6 ], "bbox": [ { "left": 103, "top": 30, "width": 53, "height": 72 }, { "left": 162, "top": 31, "width": 58, "height": 72 } ] }
{ "digit": [ 1, 4, 0 ], "bbox": [ { "left": 30, "top": 35, "width": 13, "height": 20 }, { "left": 39, "top": 22, "width": 16, "height": 20 }, { "left": 48, "top": 9, "width": 16, "height": 20 } ] }
{ "digit": [ 3, 8, 2 ], "bbox": [ { "left": 60, "top": 10, "width": 27, "height": 58 }, { "left": 81, "top": 14, "width": 23, "height": 58 }, { "left": 96, "top": 17, "width": 31, "height": 58 } ] }
{ "digit": [ 7, 2 ], "bbox": [ { "left": 30, "top": 1, "width": 18, "height": 35 }, { "left": 51, "top": 1, "width": 26, "height": 35 } ] }
{ "digit": [ 3, 2 ], "bbox": [ { "left": 16, "top": 1, "width": 7, "height": 18 }, { "left": 24, "top": 1, "width": 6, "height": 18 } ] }
{ "digit": [ 7, 9 ], "bbox": [ { "left": 15, "top": 1, "width": 9, "height": 18 }, { "left": 22, "top": 1, "width": 9, "height": 18 } ] }
{ "digit": [ 1, 4, 2 ], "bbox": [ { "left": 115, "top": 35, "width": 12, "height": 42 }, { "left": 127, "top": 35, "width": 19, "height": 42 }, { "left": 147, "top": 37, "width": 22, "height": 42 } ] }
{ "digit": [ 5, 5 ], "bbox": [ { "left": 21, "top": 3, "width": 13, "height": 22 }, { "left": 33, "top": 2, "width": 14, "height": 22 } ] }
{ "digit": [ 3, 0 ], "bbox": [ { "left": 19, "top": 4, "width": 5, "height": 15 }, { "left": 25, "top": 5, "width": 5, "height": 15 } ] }
{ "digit": [ 4, 2 ], "bbox": [ { "left": 22, "top": 4, "width": 19, "height": 24 }, { "left": 37, "top": 4, "width": 15, "height": 24 } ] }
{ "digit": [ 3, 1, 8 ], "bbox": [ { "left": 38, "top": 8, "width": 17, "height": 39 }, { "left": 55, "top": 9, "width": 6, "height": 39 }, { "left": 63, "top": 9, "width": 12, "height": 39 } ] }
{ "digit": [ 2, 3 ], "bbox": [ { "left": 40, "top": 4, "width": 15, "height": 42 }, { "left": 55, "top": 7, "width": 13, "height": 42 } ] }
{ "digit": [ 6, 8 ], "bbox": [ { "left": 48, "top": 13, "width": 27, "height": 44 }, { "left": 74, "top": 11, "width": 27, "height": 44 } ] }
{ "digit": [ 7, 9 ], "bbox": [ { "left": 48, "top": 15, "width": 15, "height": 26 }, { "left": 64, "top": 16, "width": 15, "height": 26 } ] }
{ "digit": [ 6, 0, 9 ], "bbox": [ { "left": 38, "top": 22, "width": 20, "height": 33 }, { "left": 55, "top": 13, "width": 13, "height": 33 }, { "left": 67, "top": 7, "width": 18, "height": 33 } ] }
{ "digit": [ 7, 8, 8 ], "bbox": [ { "left": 43, "top": 10, "width": 16, "height": 27 }, { "left": 54, "top": 10, "width": 12, "height": 27 }, { "left": 63, "top": 11, "width": 16, "height": 27 } ] }
{ "digit": [ 2, 8, 3 ], "bbox": [ { "left": 55, "top": 16, "width": 14, "height": 28 }, { "left": 69, "top": 17, "width": 13, "height": 28 }, { "left": 81, "top": 17, "width": 14, "height": 28 } ] }
{ "digit": [ 9, 5 ], "bbox": [ { "left": 28, "top": 4, "width": 11, "height": 28 }, { "left": 43, "top": 4, "width": 14, "height": 28 } ] }
{ "digit": [ 3, 6, 5 ], "bbox": [ { "left": 31, "top": 3, "width": 13, "height": 32 }, { "left": 42, "top": 6, "width": 13, "height": 32 }, { "left": 50, "top": 7, "width": 15, "height": 32 } ] }
{ "digit": [ 2, 8 ], "bbox": [ { "left": 19, "top": 4, "width": 8, "height": 20 }, { "left": 27, "top": 3, "width": 8, "height": 20 } ] }
{ "digit": [ 2, 4 ], "bbox": [ { "left": 15, "top": 1, "width": 6, "height": 17 }, { "left": 21, "top": 1, "width": 7, "height": 17 } ] }
{ "digit": [ 1 ], "bbox": [ { "left": 37, "top": 10, "width": 30, "height": 30 } ] }
{ "digit": [ 1, 2 ], "bbox": [ { "left": 61, "top": 10, "width": 22, "height": 58 }, { "left": 84, "top": 12, "width": 34, "height": 58 } ] }
{ "digit": [ 6, 5 ], "bbox": [ { "left": 58, "top": 15, "width": 17, "height": 38 }, { "left": 74, "top": 13, "width": 17, "height": 38 } ] }
{ "digit": [ 1, 8, 7, 0 ], "bbox": [ { "left": 19, "top": 4, "width": 8, "height": 18 }, { "left": 29, "top": 3, "width": 10, "height": 18 }, { "left": 43, "top": 2, "width": 8, "height": 18 }, { ...
{ "digit": [ 6, 5, 1 ], "bbox": [ { "left": 97, "top": 14, "width": 16, "height": 37 }, { "left": 113, "top": 13, "width": 11, "height": 37 }, { "left": 127, "top": 16, "width": 12, "height": 37 } ] }
{ "digit": [ 2, 9, 0 ], "bbox": [ { "left": 59, "top": 14, "width": 28, "height": 40 }, { "left": 80, "top": 11, "width": 26, "height": 40 }, { "left": 106, "top": 13, "width": 23, "height": 40 } ] }
{ "digit": [ 1, 5 ], "bbox": [ { "left": 59, "top": 12, "width": 22, "height": 47 }, { "left": 81, "top": 14, "width": 25, "height": 47 } ] }
{ "digit": [ 9, 8 ], "bbox": [ { "left": 49, "top": 7, "width": 20, "height": 32 }, { "left": 68, "top": 12, "width": 18, "height": 32 } ] }
{ "digit": [ 7, 1 ], "bbox": [ { "left": 39, "top": 5, "width": 31, "height": 48 }, { "left": 69, "top": 8, "width": 31, "height": 48 } ] }
{ "digit": [ 2, 9 ], "bbox": [ { "left": 14, "top": 3, "width": 6, "height": 13 }, { "left": 19, "top": 2, "width": 6, "height": 13 } ] }
{ "digit": [ 3, 7 ], "bbox": [ { "left": 19, "top": 2, "width": 10, "height": 22 }, { "left": 29, "top": 1, "width": 12, "height": 22 } ] }
End of preview. Expand in Data Studio

Dataset card for SVHN

The Street View House Numbers (SVHN) dataset is a real-world image dataset developed and designed for machine learning and object recognition algorithms, and is characterized by low data preprocessing and formatting requirements. Similar to MNIST, SVHN contains images of small cropped numbers, but in terms of labeled data, SVHN is an order of magnitude larger than MNIST, comprising over 600,000 digital images. Unlike MNIST, SVHN deals with a much more challenging and unsolved real-world problem - recognizing numbers and strings of numbers in natural scene images. The dataset is derived from house numbers captured in Google Street View images.

Usage

By API

from datasets import load_dataset

ds = load_dataset(
    "Genius-Society/svhn",
    name="default",
    split="train",
    cache_dir="./__pycache__",
)
for i in ds:
    print(i)

Not By API

import os
import zipfile
import requests

def download_file(url, save_path):
    response = requests.get(url, stream=True)
    with open(save_path, 'wb') as file:
        for chunk in response.iter_content(chunk_size=1024):
            if chunk:
                file.write(chunk)

def unzip(zip_file_path, extract_to):
    with zipfile.ZipFile(zip_file_path, 'r') as zip_ref:
        for member in zip_ref.infolist():
            zip_ref.extract(member, extract_to)

if not os.path.exists('./data.zip'):
    download_file(
        'https://www.modelscope.cn/datasets/Genius-Society/svhn/resolve/master/data/svhn.zip',
        'data.zip'
    )

if not os.path.exists('./data'):
    unzip('data.zip', './')

Maintenance

GIT_LFS_SKIP_SMUDGE=1 git clone git@hf.co:datasets/Genius-Society/svhn
cd svhn

Mirror

https://www.modelscope.cn/datasets/Genius-Society/svhn

Thanks

Downloads last month
214

Collection including Genius-Society/svhn