Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,44 +1,112 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-sa-4.0
|
| 3 |
-
configs:
|
| 4 |
-
- config_name: default
|
| 5 |
-
data_files:
|
| 6 |
-
- split: train
|
| 7 |
-
path: data/train-*
|
| 8 |
-
- split: test
|
| 9 |
-
path: data/test-*
|
| 10 |
-
dataset_info:
|
| 11 |
-
features:
|
| 12 |
-
- name: image
|
| 13 |
-
dtype: image
|
| 14 |
-
- name: label
|
| 15 |
-
dtype:
|
| 16 |
-
class_label:
|
| 17 |
-
names:
|
| 18 |
-
'0': calgary
|
| 19 |
-
'1': charlottetown
|
| 20 |
-
'2': edmonton
|
| 21 |
-
'3': halifax
|
| 22 |
-
'4': hamilton
|
| 23 |
-
'5': kitchener-waterloo
|
| 24 |
-
'6': montreal
|
| 25 |
-
'7': ottawa-gatineau
|
| 26 |
-
'8': quebec_city
|
| 27 |
-
'9': saskatoon
|
| 28 |
-
'10': st_johns
|
| 29 |
-
'11': toronto
|
| 30 |
-
'12': vancouver
|
| 31 |
-
'13': victoria
|
| 32 |
-
'14': winnipeg
|
| 33 |
-
- name: city
|
| 34 |
-
dtype: string
|
| 35 |
-
splits:
|
| 36 |
-
- name: train
|
| 37 |
-
num_bytes: 13205290442
|
| 38 |
-
num_examples: 135000
|
| 39 |
-
- name: test
|
| 40 |
-
num_bytes: 1451524680
|
| 41 |
-
num_examples: 15000
|
| 42 |
-
download_size: 14481675797
|
| 43 |
-
dataset_size: 14656815122
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-sa-4.0
|
| 3 |
+
configs:
|
| 4 |
+
- config_name: default
|
| 5 |
+
data_files:
|
| 6 |
+
- split: train
|
| 7 |
+
path: data/train-*
|
| 8 |
+
- split: test
|
| 9 |
+
path: data/test-*
|
| 10 |
+
dataset_info:
|
| 11 |
+
features:
|
| 12 |
+
- name: image
|
| 13 |
+
dtype: image
|
| 14 |
+
- name: label
|
| 15 |
+
dtype:
|
| 16 |
+
class_label:
|
| 17 |
+
names:
|
| 18 |
+
'0': calgary
|
| 19 |
+
'1': charlottetown
|
| 20 |
+
'2': edmonton
|
| 21 |
+
'3': halifax
|
| 22 |
+
'4': hamilton
|
| 23 |
+
'5': kitchener-waterloo
|
| 24 |
+
'6': montreal
|
| 25 |
+
'7': ottawa-gatineau
|
| 26 |
+
'8': quebec_city
|
| 27 |
+
'9': saskatoon
|
| 28 |
+
'10': st_johns
|
| 29 |
+
'11': toronto
|
| 30 |
+
'12': vancouver
|
| 31 |
+
'13': victoria
|
| 32 |
+
'14': winnipeg
|
| 33 |
+
- name: city
|
| 34 |
+
dtype: string
|
| 35 |
+
splits:
|
| 36 |
+
- name: train
|
| 37 |
+
num_bytes: 13205290442
|
| 38 |
+
num_examples: 135000
|
| 39 |
+
- name: test
|
| 40 |
+
num_bytes: 1451524680
|
| 41 |
+
num_examples: 15000
|
| 42 |
+
download_size: 14481675797
|
| 43 |
+
dataset_size: 14656815122
|
| 44 |
+
language:
|
| 45 |
+
- en
|
| 46 |
+
tags:
|
| 47 |
+
- geography
|
| 48 |
+
- canada
|
| 49 |
+
- cities
|
| 50 |
+
pretty_name: Canadian Streetview Cities
|
| 51 |
+
size_categories:
|
| 52 |
+
- 100K<n<1M
|
| 53 |
+
task_categories:
|
| 54 |
+
- image-classification
|
| 55 |
+
---
|
| 56 |
+
|
| 57 |
+
# Canadian Street View Cities Dataset
|
| 58 |
+
|
| 59 |
+
## Overview
|
| 60 |
+
A street-view image dataset created to train and evaluate models for **city-level image classification** across major Canadian cities. Each entry includes an image and its corresponding city label.
|
| 61 |
+
|
| 62 |
+
## Purpose
|
| 63 |
+
The dataset is intended for building models that recognize the Canadian city in which a street-view scene was captured.
|
| 64 |
+
|
| 65 |
+
## Data Source
|
| 66 |
+
All images were collected from **Mapillary**, using geographic bounding boxes for each target city.
|
| 67 |
+
Collection was performed individually, collecting 10 000 images for each city.
|
| 68 |
+
|
| 69 |
+
## Dataset Structure
|
| 70 |
+
- **Train split:** 135,000 images
|
| 71 |
+
- **Test split:** 15,000 images
|
| 72 |
+
- Data is stored in **Parquet** files
|
| 73 |
+
- Includes **15 Canadian cities**, represented in the `label` and `city` fields
|
| 74 |
+
|
| 75 |
+
## Features
|
| 76 |
+
- **image** — street-view image
|
| 77 |
+
- **label** — integer class ID (0–14)
|
| 78 |
+
- **city** — text name of the city
|
| 79 |
+
|
| 80 |
+
## Preprocessing
|
| 81 |
+
No preprocessing was applied. Images are provided exactly as downloaded from Mapillary.
|
| 82 |
+
|
| 83 |
+
## Known Limitations
|
| 84 |
+
- Some cities, especially **Saskatoon** and **Halifax**, contain dashcam-style captures including visible dashboards.
|
| 85 |
+
These can influence model behavior if not processed correctly or accounted for.
|
| 86 |
+
|
| 87 |
+
## Example Usage
|
| 88 |
+
```python
|
| 89 |
+
from datasets import load_dataset
|
| 90 |
+
|
| 91 |
+
dataset = load_dataset("canada-guesser/Canadian-streetview-cities", streaming=False)
|
| 92 |
+
train_ds = dataset["train"]
|
| 93 |
+
test_ds = dataset["test"]
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
## Authors
|
| 97 |
+
|
| 98 |
+
[Stephen](https://huggingface.co/SABR22)
|
| 99 |
+
|
| 100 |
+
[Danial](https://huggingface.co/daniemc22)
|
| 101 |
+
|
| 102 |
+
[Sharav](https://huggingface.co/sharavbali)
|
| 103 |
+
|
| 104 |
+
## Project Implementation
|
| 105 |
+
See our main project page at [Canada Guesser](https://huggingface.co/canada-guesser) for implementation details.
|
| 106 |
+
|
| 107 |
+
|
| 108 |
+
## Citation
|
| 109 |
+
|
| 110 |
+
If you use this dataset or models, please cite:
|
| 111 |
+
|
| 112 |
+
1. Stephen Rebel, Danial McIntyre, Sharav Bali. *Canadian Street View Classifier*. Hugging Face, 2025.
|