Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
---
|
|
|
2 |
task_categories:
|
3 |
- image-classification
|
4 |
dataset_info:
|
@@ -36,4 +37,92 @@ configs:
|
|
36 |
path: data/validation-*
|
37 |
- split: test
|
38 |
path: data/test-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
license: mit
|
3 |
task_categories:
|
4 |
- image-classification
|
5 |
dataset_info:
|
|
|
37 |
path: data/validation-*
|
38 |
- split: test
|
39 |
path: data/test-*
|
40 |
+
tags:
|
41 |
+
- computer-vision
|
42 |
+
- image-classification
|
43 |
+
- synthetic-data
|
44 |
+
pretty_name: Geometric Shapes Dataset
|
45 |
+
size_categories:
|
46 |
+
- 1K<n<10K
|
47 |
---
|
48 |
+
|
49 |
+
# Dataset Card for Geometric Shapes Dataset
|
50 |
+
|
51 |
+
## Dataset Description
|
52 |
+
|
53 |
+
- **Repository:** https://huggingface.co/datasets/0-ma/geometric-shapes
|
54 |
+
|
55 |
+
### Dataset Summary
|
56 |
+
|
57 |
+
The Geometric Shapes Dataset is a synthetic dataset containing images of various geometric shapes with superimposed random text. Each image features a polygon (or just text) on a randomly colored background, with a short string of random characters partially obscuring the shape. This dataset is designed for tasks such as shape classification, image recognition, and robustness testing of computer vision models.
|
58 |
+
|
59 |
+
### Supported Tasks and Leaderboards
|
60 |
+
|
61 |
+
- **Image Classification**: The primary task for this dataset is multi-class image classification, where the goal is to identify the type of shape (or lack thereof) in each image.
|
62 |
+
|
63 |
+
|
64 |
+
### Data Instances
|
65 |
+
|
66 |
+
Each instance in the dataset consists of:
|
67 |
+
- An image (50x50 pixels, RGB)
|
68 |
+
- A label indicating the type of shape
|
69 |
+
|
70 |
+
### Data Fields
|
71 |
+
|
72 |
+
- `image`: A 50x50 pixel RGB image in numpy array format.
|
73 |
+
- `label`: A string indicating the shape type. The labels correspond to the following shapes:
|
74 |
+
- "1": No shape, only random text on a colored background
|
75 |
+
- "2": Circle-like shape (polygon with 100 sides)
|
76 |
+
- "3": Triangle
|
77 |
+
- "4": Square
|
78 |
+
- "5": Pentagon
|
79 |
+
|
80 |
+
Each image contains:
|
81 |
+
1. A randomly colored background
|
82 |
+
2. The specified geometric shape (except for label "1") filled with a different random color
|
83 |
+
3. A short string (4 characters) of random alphanumeric text overlaid on top, partially obscuring the shape
|
84 |
+
|
85 |
+
Note: The "Circle" (label "2") is approximated by a 100-sided polygon, which appears circular at the given resolution.
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
### Data Splits
|
90 |
+
|
91 |
+
The dataset is split into train (70%), validation (10%), and test (20%) sets.
|
92 |
+
|
93 |
+
## Dataset Creation
|
94 |
+
|
95 |
+
### Curation Rationale
|
96 |
+
|
97 |
+
This dataset was created to provide a simple, controlled environment for testing image classification models, particularly in scenarios where the primary subject (the geometric shape) is partially obscured by text.
|
98 |
+
|
99 |
+
### Source Data
|
100 |
+
|
101 |
+
#### Initial Data Collection and Normalization
|
102 |
+
|
103 |
+
The data is synthetically generated using a custom Python script. No external data sources were used.
|
104 |
+
|
105 |
+
|
106 |
+
### Annotations
|
107 |
+
|
108 |
+
#### Annotation process
|
109 |
+
|
110 |
+
The annotations (labels) are generated automatically during the image creation process.
|
111 |
+
|
112 |
+
|
113 |
+
### Personal and Sensitive Information
|
114 |
+
|
115 |
+
This dataset does not contain any personal or sensitive information.
|
116 |
+
|
117 |
+
|
118 |
+
### Other Known Limitations
|
119 |
+
|
120 |
+
- The dataset is limited to a small set of predefined shapes.
|
121 |
+
- The image resolution is fixed at 50x50 pixels.
|
122 |
+
- The text overlay is always present, which may not reflect all real-world scenarios.
|
123 |
+
|
124 |
+
|
125 |
+
### Licensing Information
|
126 |
+
|
127 |
+
This dataset is released under the MIT License.
|
128 |
+
|