harpreetsahota commited on
Commit
a4a3f92
·
verified ·
1 Parent(s): 2e9cd44

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +99 -109
README.md CHANGED
@@ -46,7 +46,7 @@ dataset_summary: '
46
 
47
  # Note: other available arguments include ''max_samples'', etc
48
 
49
- dataset = load_from_hub("harpreetsahota/Kolektor_Surface_Defect")
50
 
51
 
52
  # Launch the App
@@ -60,10 +60,13 @@ dataset_summary: '
60
 
61
  # Dataset Card for kolektorsdd
62
 
63
- <!-- Provide a quick summary of the dataset. -->
64
-
65
-
66
 
 
 
 
 
67
 
68
 
69
  This is a [FiftyOne](https://github.com/voxel51/fiftyone) dataset with 399 samples.
@@ -84,141 +87,128 @@ from fiftyone.utils.huggingface import load_from_hub
84
 
85
  # Load the dataset
86
  # Note: other available arguments include 'max_samples', etc
87
- dataset = load_from_hub("harpreetsahota/Kolektor_Surface_Defect")
88
 
89
  # Launch the App
90
  session = fo.launch_app(dataset)
91
  ```
92
 
93
 
94
- ## Dataset Details
95
-
96
- ### Dataset Description
97
-
98
- <!-- Provide a longer summary of what this dataset is. -->
99
-
100
-
101
-
102
- - **Curated by:** [More Information Needed]
103
- - **Funded by [optional]:** [More Information Needed]
104
- - **Shared by [optional]:** [More Information Needed]
105
- - **Language(s) (NLP):** en
106
- - **License:** [More Information Needed]
107
-
108
- ### Dataset Sources [optional]
109
-
110
- <!-- Provide the basic links for the dataset. -->
111
-
112
- - **Repository:** [More Information Needed]
113
- - **Paper [optional]:** [More Information Needed]
114
- - **Demo [optional]:** [More Information Needed]
115
-
116
- ## Uses
117
-
118
- <!-- Address questions around how the dataset is intended to be used. -->
119
-
120
- ### Direct Use
121
-
122
- <!-- This section describes suitable use cases for the dataset. -->
123
-
124
- [More Information Needed]
125
-
126
- ### Out-of-Scope Use
127
-
128
- <!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
129
-
130
- [More Information Needed]
131
-
132
- ## Dataset Structure
133
-
134
- <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
135
-
136
- [More Information Needed]
137
-
138
- ## Dataset Creation
139
-
140
- ### Curation Rationale
141
 
142
- <!-- Motivation for the creation of this dataset. -->
143
-
144
- [More Information Needed]
145
-
146
- ### Source Data
147
-
148
- <!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
149
-
150
- #### Data Collection and Processing
151
-
152
- <!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
153
-
154
- [More Information Needed]
155
-
156
- #### Who are the source data producers?
157
 
158
- <!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
 
 
 
 
 
159
 
160
- [More Information Needed]
161
 
162
- ### Annotations [optional]
 
 
163
 
164
- <!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
 
 
 
 
 
 
 
 
 
165
 
166
- #### Annotation process
 
167
 
168
- <!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
 
169
 
170
- [More Information Needed]
171
 
172
- #### Who are the annotators?
 
 
 
 
 
 
 
 
 
 
173
 
174
- <!-- This section describes the people or systems who created the annotations. -->
 
175
 
176
- [More Information Needed]
 
177
 
178
- #### Personal and Sensitive Information
179
 
180
- <!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
 
 
181
 
182
- [More Information Needed]
183
 
184
- ## Bias, Risks, and Limitations
185
 
186
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
187
 
188
- [More Information Needed]
 
 
 
 
 
189
 
190
- ### Recommendations
191
 
192
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
 
 
 
 
 
193
 
194
- Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
 
 
195
 
196
- ## Citation [optional]
197
 
198
- <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
199
 
200
- **BibTeX:**
201
 
202
- [More Information Needed]
 
 
 
 
 
 
 
203
 
204
  **APA:**
205
 
206
- [More Information Needed]
207
-
208
- ## Glossary [optional]
209
-
210
- <!-- If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
211
-
212
- [More Information Needed]
213
-
214
- ## More Information [optional]
215
-
216
- [More Information Needed]
217
-
218
- ## Dataset Card Authors [optional]
219
-
220
- [More Information Needed]
221
-
222
- ## Dataset Card Contact
223
-
224
- [More Information Needed]
 
46
 
47
  # Note: other available arguments include ''max_samples'', etc
48
 
49
+ dataset = load_from_hub("Voxel51/Kolektor_Surface_Defect")
50
 
51
 
52
  # Launch the App
 
60
 
61
  # Dataset Card for kolektorsdd
62
 
63
+ KolektorSDD (Kolektor Surface-Defect Dataset) is a grayscale industrial surface-inspection
64
+ dataset of electrical commutators.
 
65
 
66
+ This FiftyOne dataset uses the **box-annotation release** intended for the ICPR 2021 and
67
+ COMIND 2021 papers ([download](https://go.vicos.si/kolektorsddboxes)): one sample per
68
+ surface image, with defect regions annotated as axis-aligned bounding boxes stored as filled
69
+ rectangles in the label masks.
70
 
71
 
72
  This is a [FiftyOne](https://github.com/voxel51/fiftyone) dataset with 399 samples.
 
87
 
88
  # Load the dataset
89
  # Note: other available arguments include 'max_samples', etc
90
+ dataset = load_from_hub("Voxel51/Kolektor_Surface_Defect")
91
 
92
  # Launch the App
93
  session = fo.launch_app(dataset)
94
  ```
95
 
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
 
98
+ ## Dataset Details
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
 
100
+ - **Curated by:** Domen Tabernik, Samo Šela, Jure Skvarč, Danijel Skočaj (University of Ljubljana / ViCoS Lab); images provided and annotated by Kolektor Group d.o.o.
101
+ - **Paper (dataset):** [Segmentation-Based Deep-Learning Approach for Surface-Defect Detection](https://doi.org/10.1007/s10845-019-01476-x)
102
+ - **Box annotations used in:** [End-to-end training of a two-stage neural network for defect detection](https://arxiv.org/abs/2007.07676) (ICPR 2020) and [Mixed supervision for surface-defect detection](http://prints.vicos.si/publications/385) (Computers in Industry, 2021)
103
+ - **Project page:** https://www.vicos.si/resources/kolektorsdd/
104
+ - **Download (this release):** https://go.vicos.si/kolektorsddboxes
105
+ - **License:** [CC BY-NC-SA 4.0](http://creativecommons.org/licenses/by-nc-sa/4.0/) (non-commercial; contact [Danijel Skočaj](https://www.vicos.si/people/danijel_skocaj/) for commercial use)
106
 
107
+ ### What the data contains
108
 
109
+ Images were captured in a controlled industrial environment. Each sample is one
110
+ non-overlapping view of a commutator surface. Defects are microscopic fractures or
111
+ cracks in the plastic embedding.
112
 
113
+ | Property | Value |
114
+ |---|---|
115
+ | Total images | 399 |
116
+ | Physical items (boards) | 50 (`kos01`–`kos50`) |
117
+ | Surfaces per item | 8 (`Part0`–`Part7`) |
118
+ | Defective images | 52 |
119
+ | Non-defective images | 347 |
120
+ | Image type | Grayscale JPG |
121
+ | Original size | 500 px wide × 1240–1270 px tall |
122
+ | Recommended eval size | 512 × 1408 px (per dataset authors) |
123
 
124
+ Defect visibility: for 48 items the defect appears in exactly one image; for 2 items
125
+ it appears in two images.
126
 
127
+ A separate **fine pixel-annotation release** exists for the JIM2019 paper
128
+ ([download](https://go.vicos.si/kolektorsdd)). That version is not what this card describes.
129
 
130
+ ### Raw download layout
131
 
132
+ ```
133
+ kolektorsdd/
134
+ kos01/
135
+ Part0.jpg
136
+ Part0_label.bmp
137
+ Part1.jpg
138
+ Part1_label.bmp
139
+ ...
140
+ kos02/
141
+ ...
142
+ ```
143
 
144
+ - `Part*.jpg` surface image
145
+ - `Part*_label.bmp` — defect annotation mask (non-zero = defect region)
146
 
147
+ In this box-annotation release, each defective mask is a **filled axis-aligned bounding box**
148
+ around the defect, not a precise pixel-wise segmentation of the crack shape.
149
 
150
+ ### Train/test splits
151
 
152
+ The authors evaluate with **3-fold cross-validation**, keeping all 8 images of the
153
+ same physical item in the same fold. Official split files:
154
+ [KolektorSDD-training-splits.zip](https://data.vicos.si/datasets/KSDD/KolektorSDD-training-splits.zip).
155
 
156
+ This FiftyOne dataset does **not** assign fold/split labels. Add them externally if needed.
157
 
158
+ ---
159
 
160
+ ## FiftyOne Dataset Structure
161
 
162
+ | Property | Value |
163
+ |---|---|
164
+ | Hub dataset | `harpreetsahota/Kolektor_Surface_Defect` |
165
+ | Local dataset name | `kolektorsdd` |
166
+ | Media type | `image` |
167
+ | Samples | 399 |
168
 
169
+ ### Sample fields
170
 
171
+ | Field | Type | Description |
172
+ |---|---|---|
173
+ | `filepath` | `StringField` | Path to source `Part*.jpg` |
174
+ | `board_id` | `StringField` | Board directory name, e.g. `"kos01"` |
175
+ | `has_defect` | `BooleanField` | `True` if the mask contains any foreground pixel |
176
+ | `ground_truth` | `EmbeddedDocumentField(Segmentation)` | Binarized mask (`0` = background, `1` = defect) |
177
 
178
+ The local parser (`parse_to_fo.py`) reads each BMP label and stores a `{0, 1}` mask on
179
+ the sample. For defective images in this release, the foreground region is a filled
180
+ bounding box rather than a tight defect outline.
181
 
182
+ ---
183
 
184
+ ## Citation
185
+
186
+ **BibTeX (dataset):**
187
+
188
+ ```bibtex
189
+ @article{Tabernik2019JIM,
190
+ author = {Tabernik, Domen and {\v{S}}ela, Samo and Skvar{\v{c}}, Jure and Sko{\v{c}}aj, Danijel},
191
+ journal = {Journal of Intelligent Manufacturing},
192
+ title = {{Segmentation-Based Deep-Learning Approach for Surface-Defect Detection}},
193
+ year = {2019},
194
+ month = {May},
195
+ day = {15},
196
+ issn = {1572-8145},
197
+ doi = {10.1007/s10845-019-01476-x}
198
+ }
199
+ ```
200
 
201
+ **BibTeX (box annotations / mixed supervision):**
202
 
203
+ ```bibtex
204
+ @article{Bozic2021COMIND,
205
+ author = {Bo{\v{z}}i{\v{c}}, Jakob and Tabernik, Domen and Sko{\v{c}}aj, Danijel},
206
+ journal = {Computers in Industry},
207
+ title = {{Mixed supervision for surface-defect detection: from weakly to fully supervised learning}},
208
+ year = {2021}
209
+ }
210
+ ```
211
 
212
  **APA:**
213
 
214
+ Tabernik, D., Šela, S., Skvarč, J., & Skočaj, D. (2019). Segmentation-Based Deep-Learning Approach for Surface-Defect Detection. *Journal of Intelligent Manufacturing*. https://doi.org/10.1007/s10845-019-01476-x