Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -1,66 +1,52 @@
|
|
1 |
-
---
|
2 |
-
dataset_info:
|
3 |
-
features:
|
4 |
-
- name: image
|
5 |
-
dtype: image
|
6 |
-
- name: label
|
7 |
-
dtype: string
|
8 |
-
- name: country_code
|
9 |
-
dtype: string
|
10 |
-
splits:
|
11 |
-
- name: train
|
12 |
-
num_examples: 195
|
13 |
-
license: cc0-1.0
|
14 |
-
task_categories:
|
15 |
-
- image-classification
|
16 |
-
tags:
|
17 |
-
- flags
|
18 |
-
- countries
|
19 |
-
- geography
|
20 |
-
language:
|
21 |
-
- en
|
22 |
-
pretty_name: World Country Flags
|
23 |
-
size_categories:
|
24 |
-
- n<1K
|
25 |
-
---
|
26 |
-
|
27 |
-
# World Country Flags Dataset
|
28 |
-
|
29 |
-
This dataset contains flag images from sovereign states with their country names as labels.
|
30 |
-
|
31 |
-
## Dataset Description
|
32 |
-
|
33 |
-
A comprehensive collection of flag images for all sovereign nations, organized for machine learning tasks.
|
34 |
-
|
35 |
-
### Dataset Summary
|
36 |
-
|
37 |
-
- **Total Images**: 195 country flags
|
38 |
-
- **Format**: PNG (640x427 pixels)
|
39 |
-
- **Task**: Image classification
|
40 |
-
- **Language**: English country names
|
41 |
-
|
42 |
-
## Dataset Structure
|
43 |
-
|
44 |
-
Each example contains:
|
45 |
-
- `image`: The flag image in PNG format
|
46 |
-
- `label`: The country name in English
|
47 |
-
- `country_code`: ISO 3166-1 alpha-2 country code
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
# Load the dataset
|
55 |
-
dataset = load_dataset("your-username/country-flags-dataset")
|
56 |
-
|
57 |
-
# Access the first example
|
58 |
-
example = dataset['train'][0]
|
59 |
-
print(f"Country: {example['label']}")
|
60 |
-
print(f"Country Code: {example['country_code']}")
|
61 |
-
# Display the flag image: example['image']
|
62 |
-
```
|
63 |
-
|
64 |
-
## Licensing Information
|
65 |
-
|
66 |
-
This dataset is released under CC0 1.0 Universal (CC0 1.0) Public Domain Dedication.
|
|
|
1 |
+
---
|
2 |
+
dataset_info:
|
3 |
+
features:
|
4 |
+
- name: image
|
5 |
+
dtype: image
|
6 |
+
- name: label
|
7 |
+
dtype: string
|
8 |
+
- name: country_code
|
9 |
+
dtype: string
|
10 |
+
splits:
|
11 |
+
- name: train
|
12 |
+
num_examples: 195
|
13 |
+
license: cc0-1.0
|
14 |
+
task_categories:
|
15 |
+
- image-classification
|
16 |
+
tags:
|
17 |
+
- flags
|
18 |
+
- countries
|
19 |
+
- geography
|
20 |
+
language:
|
21 |
+
- en
|
22 |
+
pretty_name: World Country Flags
|
23 |
+
size_categories:
|
24 |
+
- n<1K
|
25 |
+
---
|
26 |
+
|
27 |
+
# World Country Flags Dataset
|
28 |
+
|
29 |
+
This dataset contains flag images from sovereign states with their country names as labels.
|
30 |
+
|
31 |
+
## Dataset Description
|
32 |
+
|
33 |
+
A comprehensive collection of flag images for all sovereign nations, organized for machine learning tasks.
|
34 |
+
|
35 |
+
### Dataset Summary
|
36 |
+
|
37 |
+
- **Total Images**: 195 country flags
|
38 |
+
- **Format**: PNG (640x427 pixels)
|
39 |
+
- **Task**: Image classification
|
40 |
+
- **Language**: English country names
|
41 |
+
|
42 |
+
## Dataset Structure
|
43 |
+
|
44 |
+
Each example contains:
|
45 |
+
- `image`: The flag image in PNG format
|
46 |
+
- `label`: The country name in English
|
47 |
+
- `country_code`: ISO 3166-1 alpha-2 country code
|
48 |
+
|
49 |
+
|
50 |
+
## Licensing Information
|
51 |
+
|
52 |
+
This dataset is released under CC0 1.0 Universal (CC0 1.0) Public Domain Dedication.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|