nobodyPerfecZ commited on
Commit
efaf6b4
·
1 Parent(s): 58ea3af

- Updated README.md
- Added LICENSE
- Added metadata json file

Files changed (3) hide show
  1. LICENSE +21 -0
  2. README.md +90 -57
  3. dataset_metadata.json +34 -0
LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2024 D. Jabs
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
README.md CHANGED
@@ -1,57 +1,90 @@
1
- ---
2
- annotations_creators: []
3
- language:
4
- - en
5
- language_creators:
6
- - found
7
- - other
8
- license:
9
- - mit
10
- multilinguality:
11
- - monolingual
12
- pretty_name: ReCAPTCHAv2 Dataset
13
- size_categories:
14
- - 10K<n<100K
15
- source_datasets:
16
- - original
17
- tags:
18
- - computer vision
19
- - cv
20
- - image classification
21
- - multilabel classification
22
- - recaptcha
23
- - recaptchav2
24
- task_categories:
25
- - image-to-image
26
- - image-classification
27
- - feature-extraction
28
- task_ids:
29
- - multi-label-image-classification
30
- configs:
31
- - config_name: default
32
- data_files:
33
- - split: train
34
- path: data/train-*
35
- - split: validation
36
- path: data/validation-*
37
- - split: test
38
- path: data/test-*
39
- dataset_info:
40
- features:
41
- - name: image
42
- dtype: image
43
- - name: labels
44
- sequence: int64
45
- splits:
46
- - name: train
47
- num_bytes: 495225950.91620237
48
- num_examples: 23654
49
- - name: validation
50
- num_bytes: 62177227.82789881
51
- num_examples: 2957
52
- - name: test
53
- num_bytes: 61696919.36089881
54
- num_examples: 2957
55
- download_size: 620170685
56
- dataset_size: 619100098.105
57
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ReCAPTCHAv2 Dataset
2
+
3
+ ReCAPTCHAv2 Dataset is a dataset consisting of images derived from Google's reCAPTCHA v2 system, which is widely used for online human verification.
4
+ It contains thousands of reCAPTCHA images, each paired with corresponding labels indicating the presence of specific objects or features (e.g., bicycle, bus, car).
5
+ This dataset is intended for educational and research purposes and is particularly suited for tasks such as feature extraction and multi-label image classification.
6
+ It contributes to the domain of computer vision by offering real-world, noisy image data representative of visual recognition challenges encountered in reCAPTCHA systems.
7
+
8
+ ## Dataset Structure
9
+
10
+ - Number of images: 29.568
11
+ - Size of each image: 100x100px
12
+ - Labels: bicycle, bus, car, crosswalk, hydrant
13
+
14
+ ## Data Distribution
15
+
16
+ ```
17
+ | Category | Column Idx | #Images |
18
+ | ----------| ---------- | ------- |
19
+ | bicycle | 0 | 4.994 |
20
+ | bus | 1 | 5.025 |
21
+ | car | 2 | 5.198 |
22
+ | crosswalk | 3 | 4.280 |
23
+ | hydrant | 4 | 5.071 |
24
+ ```
25
+
26
+ ## Data Instances
27
+
28
+ Each data instance in the dataset is composed of an image and its associated label vector.
29
+ The image is represented as a PIL image object, typically in RGB mode and of uniform size (100x100px).
30
+ The label is a binary vector indicating the presence (1) or absence (0) of the classes bicycle, bus, car crosswalk and hydrant.
31
+
32
+ In the following example, the image is associated with a single active label indicating the presence of a hydrant:
33
+
34
+ ```
35
+ {
36
+ 'image': <PIL.PngImagePlugin.PngImageFile image mode=RGB size=100x100>,
37
+ 'labels': [0, 0, 0, 0, 1]
38
+ }
39
+ ```
40
+
41
+ ## Data Splits
42
+
43
+ Since most images have a single active label, we use class-stratified train-test split based on the primary class of each image.
44
+ This approach ensures that the class distribution remains consistent across the training, validation and test datasets.
45
+
46
+ The final dataset splits are as follows:
47
+
48
+ | Dataset | Length |
49
+ | ---------- | ------ |
50
+ | Train | 23.637 |
51
+ | Validation | 2.957 |
52
+ | Test | 2.957 |
53
+
54
+ ## Social Impact of Dataset
55
+
56
+ The ReCAPTCHAv2 Dataset offers valuable opportunities for advancing research in computer vision, particularly in tasks related to object detection, multi-label classification, and adversarial robustness.
57
+ providing real-world, noisy, and visually diverse examples, it can help researchers develop models that are better equipped to handle real-life complexity, contributing to more accurate and resilient AI systems.
58
+ These improvements may enhance accessibility tools, improve safety in autonomous systems, and support the development of AI that can better understand and navigate human environments.
59
+
60
+ However, the dataset also presents several social risks and ethical concerns:
61
+
62
+ - **Security and Misuse**: As the dataset is based on CAPTCHA challenges, there is potential for misuse in developing systems designed to bypass human verification mechanisms. While the dataset is provided strictly for educational and research purposes, safeguards must be considered to prevent abuse.
63
+
64
+ ## Discussion of Biases
65
+
66
+ As the ReCAPTCHAv2 Dataset is derived from Google's reCAPTCHAv2 system, several inherent biases may be reflected in the data:
67
+
68
+ - **Geographic Bias**: The images may be biased towward urban environments commonly found in North America and Europe, potentially underrepresenting non-Western regions.
69
+ - **Object Representation Bias**: Certain object classes (e.g., cars, traffic lights, buses) may be overrepresented, while others may appear less frequently or not at all. This can affect the generalizability of models trained on the dataset.
70
+ - **Cultural Context Bias**: The design of reCAPTCHA tasks may implicitly assume familiarity with specific traffic symbols, infrastructure, or object appearances that vary globally.
71
+ - **Visual Quality and Noise Bias**: To increase task difficulty, Google's system often introduces visual noise, distortions, or transformations (e.g. blurring, compression artifcats, color space shifts). These manipulations are preserved in the dataset and can impact both human and model performance.
72
+
73
+ ## Contributing
74
+
75
+ We welcome any contribution to this dataset.
76
+ If you have additional images to add or find any errors, please open an issue or submit a pull request.
77
+
78
+ ## Dataset Curators
79
+
80
+ The ReCAPTCHAv2 Dataset was collected by web scraping from the [Google's reCAPTCHAv2 demo page](https://www.google.com/recaptcha/api2/demo).
81
+ The dataset was manually labeled to support multilabel image classification tasks.
82
+
83
+ > ⚠️ **Disclaimer**: This dataset was created for educational and research purposes only. It is not affiliated with or endorsed by Google or the reCAPTCHA team.
84
+
85
+ ## License
86
+
87
+ This repository is released under the [MIT License](LICENSE).
88
+
89
+ Please note that while this project is distributed under an open-source license, the reCAPTCHA images themselves are owned by Google.
90
+ Fair Use from Google allows to use this dataset for nonprofit, educational, research and analysis purposes.
dataset_metadata.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "annotations_creators": [],
3
+ "language": [
4
+ "en"
5
+ ],
6
+ "language_creators": [
7
+ "found",
8
+ "other"
9
+ ],
10
+ "license": [
11
+ "mit"
12
+ ],
13
+ "multilinguality": [
14
+ "monolingual"
15
+ ],
16
+ "pretty_name": "ReCAPTCHAv2 Dataset",
17
+ "size_categories": [
18
+ "10K<n<100K"
19
+ ],
20
+ "source_datasets": [
21
+ "original"
22
+ ],
23
+ "tags": [
24
+ "computer vision",
25
+ "image classification",
26
+ "recaptchav2"
27
+ ],
28
+ "task_categories": [
29
+ "image-classification"
30
+ ],
31
+ "task_ids": [
32
+ "multi-label-image-classification"
33
+ ]
34
+ }