Datasets:

Modalities:
Image
Formats:
arrow
Languages:
English
Tags:
legal
Libraries:
Datasets
License:
Dataset Viewer
Auto-converted to Parquet
Search is not available for this dataset
image
imagewidth (px)
25
876
label
sequence
{ "digit": [ 7 ], "left": [ 60 ], "top": [ 11 ], "width": [ 30 ], "height": [ 36 ] }
{ "digit": [ 1, 2 ], "left": [ 49, 64 ], "top": [ 8, 14 ], "width": [ 15, 24 ], "height": [ 46, 46 ] }
{ "digit": [ 3, 1 ], "left": [ 99, 133 ], "top": [ 26, 36 ], "width": [ 35, 35 ], "height": [ 56, 56 ] }
{ "digit": [ 9 ], "left": [ 23 ], "top": [ 2 ], "width": [ 11 ], "height": [ 19 ] }
{ "digit": [ 1 ], "left": [ 20 ], "top": [ 5 ], "width": [ 6 ], "height": [ 12 ] }
{ "digit": [ 1 ], "left": [ 38 ], "top": [ 5 ], "width": [ 12 ], "height": [ 37 ] }
{ "digit": [ 8, 8, 6 ], "left": [ 88, 98, 107 ], "top": [ 23, 23, 22 ], "width": [ 11, 11, 11 ], "height": [ 21, 21, 21 ] }
{ "digit": [ 1, 7 ], "left": [ 58, 80 ], "top": [ 11, 16 ], "width": [ 19, 30 ], "height": [ 60, 60 ] }
{ "digit": [ 4, 1 ], "left": [ 28, 42 ], "top": [ 4, 3 ], "width": [ 15, 10 ], "height": [ 30, 30 ] }
{ "digit": [ 4 ], "left": [ 21 ], "top": [ 1 ], "width": [ 8 ], "height": [ 19 ] }
{ "digit": [ 3, 8, 8 ], "left": [ 68, 93, 106 ], "top": [ 7, 13, 7 ], "width": [ 21, 14, 15 ], "height": [ 48, 48, 48 ] }
{ "digit": [ 1, 8, 7 ], "left": [ 44, 54, 62 ], "top": [ 12, 11, 8 ], "width": [ 7, 9, 13 ], "height": [ 31, 31, 31 ] }
{ "digit": [ 3, 6 ], "left": [ 43, 62 ], "top": [ 8, 2 ], "width": [ 19, 22 ], "height": [ 37, 37 ] }
{ "digit": [ 5, 9 ], "left": [ 25, 34 ], "top": [ 5, 5 ], "width": [ 8, 9 ], "height": [ 16, 16 ] }
{ "digit": [ 9, 10 ], "left": [ 22, 28 ], "top": [ 7, 7 ], "width": [ 6, 9 ], "height": [ 15, 15 ] }
{ "digit": [ 4, 1 ], "left": [ 22, 33 ], "top": [ 3, 3 ], "width": [ 13, 9 ], "height": [ 23, 23 ] }
{ "digit": [ 1, 6, 5 ], "left": [ 35, 48, 63 ], "top": [ 4, 1, 1 ], "width": [ 14, 15, 15 ], "height": [ 50, 50, 50 ] }
{ "digit": [ 2, 10 ], "left": [ 56, 77 ], "top": [ 13, 11 ], "width": [ 27, 38 ], "height": [ 53, 53 ] }
{ "digit": [ 7, 3 ], "left": [ 22, 39 ], "top": [ 3, 2 ], "width": [ 16, 14 ], "height": [ 26, 26 ] }
{ "digit": [ 4, 8 ], "left": [ 48, 60 ], "top": [ 17, 16 ], "width": [ 11, 14 ], "height": [ 33, 33 ] }
{ "digit": [ 1, 4 ], "left": [ 28, 41 ], "top": [ 5, 4 ], "width": [ 6, 8 ], "height": [ 22, 22 ] }
{ "digit": [ 2, 7, 1, 3 ], "left": [ 23, 42, 56, 67 ], "top": [ 2, 2, 2, 3 ], "width": [ 19, 16, 12, 20 ], "height": [ 26, 26, 26, 26 ] }
{ "digit": [ 9, 4 ], "left": [ 9, 17 ], "top": [ 3, 3 ], "width": [ 9, 11 ], "height": [ 21, 21 ] }
{ "digit": [ 1, 10 ], "left": [ 138, 153 ], "top": [ 35, 26 ], "width": [ 13, 12 ], "height": [ 52, 52 ] }
{ "digit": [ 1, 3, 4 ], "left": [ 33, 43, 53 ], "top": [ 4, 6, 8 ], "width": [ 9, 7, 13 ], "height": [ 36, 36, 36 ] }
{ "digit": [ 1, 2, 3 ], "left": [ 36, 46, 66 ], "top": [ 8, 8, 9 ], "width": [ 9, 16, 18 ], "height": [ 29, 29, 29 ] }
{ "digit": [ 1, 1 ], "left": [ 57, 74 ], "top": [ 11, 16 ], "width": [ 17, 20 ], "height": [ 53, 53 ] }
{ "digit": [ 3, 5, 1 ], "left": [ 137, 155, 167 ], "top": [ 53, 57, 58 ], "width": [ 15, 11, 10 ], "height": [ 30, 30, 30 ] }
{ "digit": [ 4 ], "left": [ 40 ], "top": [ 9 ], "width": [ 22 ], "height": [ 32 ] }
{ "digit": [ 7, 3 ], "left": [ 42, 57 ], "top": [ 12, 14 ], "width": [ 17, 18 ], "height": [ 30, 30 ] }
{ "digit": [ 3, 2 ], "left": [ 46, 64 ], "top": [ 16, 15 ], "width": [ 21, 21 ], "height": [ 30, 30 ] }
{ "digit": [ 1, 4 ], "left": [ 25, 29 ], "top": [ 6, 4 ], "width": [ 6, 8 ], "height": [ 20, 20 ] }
{ "digit": [ 5 ], "left": [ 118 ], "top": [ 25 ], "width": [ 99 ], "height": [ 122 ] }
{ "digit": [ 1, 4, 3 ], "left": [ 20, 26, 30 ], "top": [ 1, 1, 1 ], "width": [ 6, 6, 7 ], "height": [ 21, 21, 21 ] }
{ "digit": [ 2, 7 ], "left": [ 36, 55 ], "top": [ 5, 8 ], "width": [ 21, 19 ], "height": [ 36, 36 ] }
{ "digit": [ 8, 1 ], "left": [ 47, 59 ], "top": [ 13, 13 ], "width": [ 16, 13 ], "height": [ 35, 35 ] }
{ "digit": [ 9 ], "left": [ 30 ], "top": [ 5 ], "width": [ 13 ], "height": [ 25 ] }
{ "digit": [ 1, 9, 1 ], "left": [ 40, 58, 79 ], "top": [ 7, 8, 11 ], "width": [ 15, 19, 14 ], "height": [ 38, 38, 38 ] }
{ "digit": [ 7, 10 ], "left": [ 12, 18 ], "top": [ 3, 3 ], "width": [ 5, 6 ], "height": [ 13, 13 ] }
{ "digit": [ 1, 10 ], "left": [ 32, 41 ], "top": [ 7, 4 ], "width": [ 10, 14 ], "height": [ 34, 34 ] }
{ "digit": [ 2 ], "left": [ 30 ], "top": [ 4 ], "width": [ 20 ], "height": [ 31 ] }
{ "digit": [ 1, 1, 1 ], "left": [ 74, 98, 115 ], "top": [ 15, 24, 17 ], "width": [ 25, 16, 18 ], "height": [ 57, 57, 57 ] }
{ "digit": [ 8, 3 ], "left": [ 38, 55 ], "top": [ 7, 5 ], "width": [ 18, 19 ], "height": [ 30, 30 ] }
{ "digit": [ 2, 1 ], "left": [ 72, 92 ], "top": [ 32, 16 ], "width": [ 29, 23 ], "height": [ 49, 49 ] }
{ "digit": [ 1, 8 ], "left": [ 29, 39 ], "top": [ 4, 3 ], "width": [ 8, 14 ], "height": [ 27, 27 ] }
{ "digit": [ 2, 6 ], "left": [ 13, 28 ], "top": [ 1, 1 ], "width": [ 14, 10 ], "height": [ 17, 17 ] }
{ "digit": [ 9 ], "left": [ 61 ], "top": [ 10 ], "width": [ 27 ], "height": [ 50 ] }
{ "digit": [ 1, 6, 5 ], "left": [ 34, 44, 57 ], "top": [ 8, 7, 8 ], "width": [ 15, 16, 17 ], "height": [ 34, 34, 34 ] }
{ "digit": [ 3, 7, 9 ], "left": [ 30, 46, 59 ], "top": [ 4, 1, 1 ], "width": [ 14, 12, 12 ], "height": [ 34, 34, 34 ] }
{ "digit": [ 4, 6 ], "left": [ 55, 94 ], "top": [ 2, 4 ], "width": [ 36, 34 ], "height": [ 70, 70 ] }
{ "digit": [ 2, 4, 8 ], "left": [ 13, 22, 28 ], "top": [ 1, 1, 1 ], "width": [ 8, 6, 7 ], "height": [ 17, 17, 17 ] }
{ "digit": [ 1, 5, 10 ], "left": [ 58, 69, 83 ], "top": [ 21, 17, 15 ], "width": [ 13, 14, 14 ], "height": [ 33, 33, 33 ] }
{ "digit": [ 4, 5 ], "left": [ 28, 42 ], "top": [ 6, 5 ], "width": [ 14, 16 ], "height": [ 29, 29 ] }
{ "digit": [ 4, 5 ], "left": [ 112, 136 ], "top": [ 25, 14 ], "width": [ 25, 22 ], "height": [ 57, 57 ] }
{ "digit": [ 2, 1 ], "left": [ 18, 30 ], "top": [ 4, 3 ], "width": [ 8, 5 ], "height": [ 14, 14 ] }
{ "digit": [ 2, 4, 7 ], "left": [ 17, 28, 40 ], "top": [ 1, 1, 2 ], "width": [ 12, 10, 10 ], "height": [ 19, 19, 19 ] }
{ "digit": [ 2, 1, 5 ], "left": [ 173, 189, 203 ], "top": [ 27, 27, 34 ], "width": [ 16, 16, 23 ], "height": [ 82, 82, 82 ] }
{ "digit": [ 1, 2 ], "left": [ 38, 50 ], "top": [ 14, 16 ], "width": [ 11, 11 ], "height": [ 26, 26 ] }
{ "digit": [ 1, 9 ], "left": [ 20, 23 ], "top": [ 3, 3 ], "width": [ 4, 7 ], "height": [ 17, 17 ] }
{ "digit": [ 7, 8 ], "left": [ 17, 27 ], "top": [ 1, 1 ], "width": [ 10, 10 ], "height": [ 19, 19 ] }
{ "digit": [ 5, 7 ], "left": [ 26, 36 ], "top": [ 6, 8 ], "width": [ 9, 8 ], "height": [ 20, 20 ] }
{ "digit": [ 1, 3, 6 ], "left": [ 43, 55, 68 ], "top": [ 18, 15, 14 ], "width": [ 14, 16, 21 ], "height": [ 28, 28, 28 ] }
{ "digit": [ 3, 5 ], "left": [ 14, 21 ], "top": [ 2, 1 ], "width": [ 8, 7 ], "height": [ 12, 12 ] }
{ "digit": [ 8 ], "left": [ 52 ], "top": [ 11 ], "width": [ 20 ], "height": [ 32 ] }
{ "digit": [ 1, 2 ], "left": [ 55, 65 ], "top": [ 15, 14 ], "width": [ 17, 21 ], "height": [ 39, 39 ] }
{ "digit": [ 1, 3, 10 ], "left": [ 17, 27, 33 ], "top": [ 4, 1, 3 ], "width": [ 9, 7, 16 ], "height": [ 18, 18, 18 ] }
{ "digit": [ 1, 9, 1, 4 ], "left": [ 35, 53, 68, 75 ], "top": [ 10, 5, 8, 9 ], "width": [ 15, 12, 7, 15 ], "height": [ 41, 41, 41, 41 ] }
{ "digit": [ 2, 4 ], "left": [ 23, 40 ], "top": [ 3, 4 ], "width": [ 13, 13 ], "height": [ 23, 23 ] }
{ "digit": [ 1, 4 ], "left": [ 35, 46 ], "top": [ 7, 7 ], "width": [ 14, 14 ], "height": [ 37, 37 ] }
{ "digit": [ 5 ], "left": [ 45 ], "top": [ 9 ], "width": [ 20 ], "height": [ 36 ] }
{ "digit": [ 5, 3 ], "left": [ 34, 50 ], "top": [ 12, 8 ], "width": [ 15, 13 ], "height": [ 29, 29 ] }
{ "digit": [ 1, 10, 8 ], "left": [ 23, 28, 36 ], "top": [ 6, 7, 4 ], "width": [ 4, 9, 8 ], "height": [ 19, 19, 19 ] }
{ "digit": [ 1, 8 ], "left": [ 36, 45 ], "top": [ 13, 11 ], "width": [ 7, 11 ], "height": [ 18, 18 ] }
{ "digit": [ 3 ], "left": [ 71 ], "top": [ 14 ], "width": [ 15 ], "height": [ 28 ] }
{ "digit": [ 8, 8 ], "left": [ 20, 32 ], "top": [ 2, 2 ], "width": [ 10, 9 ], "height": [ 21, 21 ] }
{ "digit": [ 1, 3, 5 ], "left": [ 63, 78, 91 ], "top": [ 18, 16, 16 ], "width": [ 16, 13, 18 ], "height": [ 41, 41, 41 ] }
{ "digit": [ 2, 8 ], "left": [ 26, 44 ], "top": [ 3, 3 ], "width": [ 18, 18 ], "height": [ 28, 28 ] }
{ "digit": [ 3, 6, 10 ], "left": [ 57, 72, 85 ], "top": [ 3, 13, 26 ], "width": [ 16, 15, 19 ], "height": [ 44, 44, 44 ] }
{ "digit": [ 1, 2, 2 ], "left": [ 81, 98, 122 ], "top": [ 45, 27, 18 ], "width": [ 29, 30, 36 ], "height": [ 46, 46, 46 ] }
{ "digit": [ 4, 1 ], "left": [ 30, 49 ], "top": [ 10, 9 ], "width": [ 19, 9 ], "height": [ 25, 25 ] }
{ "digit": [ 6, 1 ], "left": [ 30, 42 ], "top": [ 4, 3 ], "width": [ 16, 11 ], "height": [ 29, 29 ] }
{ "digit": [ 3, 4 ], "left": [ 19, 29 ], "top": [ 5, 5 ], "width": [ 10, 10 ], "height": [ 15, 15 ] }
{ "digit": [ 9, 10 ], "left": [ 28, 40 ], "top": [ 6, 6 ], "width": [ 14, 14 ], "height": [ 21, 21 ] }
{ "digit": [ 1, 2, 1, 2 ], "left": [ 48, 58, 75, 85 ], "top": [ 17, 14, 13, 11 ], "width": [ 10, 16, 9, 16 ], "height": [ 32, 32, 32, 32 ] }
{ "digit": [ 7, 1 ], "left": [ 28, 36 ], "top": [ 6, 7 ], "width": [ 7, 5 ], "height": [ 24, 24 ] }
{ "digit": [ 6 ], "left": [ 27 ], "top": [ 3 ], "width": [ 11 ], "height": [ 23 ] }
{ "digit": [ 2, 1, 10 ], "left": [ 24, 28, 32 ], "top": [ 5, 5, 4 ], "width": [ 5, 5, 7 ], "height": [ 15, 15, 15 ] }
{ "digit": [ 1, 3 ], "left": [ 23, 29 ], "top": [ 5, 3 ], "width": [ 4, 10 ], "height": [ 18, 18 ] }
{ "digit": [ 3, 1 ], "left": [ 26, 42 ], "top": [ 3, 1 ], "width": [ 16, 13 ], "height": [ 32, 32 ] }
{ "digit": [ 9 ], "left": [ 18 ], "top": [ 1 ], "width": [ 8 ], "height": [ 19 ] }
{ "digit": [ 1, 2 ], "left": [ 43, 47 ], "top": [ 10, 9 ], "width": [ 6, 8 ], "height": [ 22, 22 ] }
{ "digit": [ 2, 4 ], "left": [ 23, 33 ], "top": [ 4, 2 ], "width": [ 9, 8 ], "height": [ 19, 19 ] }
{ "digit": [ 2, 1 ], "left": [ 33, 40 ], "top": [ 11, 11 ], "width": [ 11, 9 ], "height": [ 20, 20 ] }
{ "digit": [ 2, 1 ], "left": [ 22, 29 ], "top": [ 5, 3 ], "width": [ 6, 6 ], "height": [ 23, 23 ] }
{ "digit": [ 3, 1, 9 ], "left": [ 126, 160, 184 ], "top": [ 40, 39, 29 ], "width": [ 45, 39, 35 ], "height": [ 74, 74, 74 ] }
{ "digit": [ 2, 1, 7 ], "left": [ 59, 70, 76 ], "top": [ 24, 20, 13 ], "width": [ 15, 9, 17 ], "height": [ 33, 33, 33 ] }
{ "digit": [ 1, 3 ], "left": [ 52, 66 ], "top": [ 15, 11 ], "width": [ 15, 18 ], "height": [ 36, 36 ] }
{ "digit": [ 4, 9 ], "left": [ 52, 59 ], "top": [ 16, 19 ], "width": [ 9, 10 ], "height": [ 23, 23 ] }
{ "digit": [ 8 ], "left": [ 32 ], "top": [ 15 ], "width": [ 16 ], "height": [ 36 ] }
{ "digit": [ 7, 3 ], "left": [ 158, 165 ], "top": [ 56, 56 ], "width": [ 8, 18 ], "height": [ 31, 31 ] }
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")
for item in ds["train"]:
    print(item)

for item in ds["test"]:
    print(item)

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 [email protected]:datasets/Genius-Society/svhn
cd svhn

Mirror

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

References

[1] The Street View House Numbers (SVHN) Dataset
[2] https://github.com/Genius-Society/svhn_recognition

Downloads last month
188

Space using Genius-Society/svhn 1

Collection including Genius-Society/svhn