deep9539 commited on
Commit
c852283
·
verified ·
1 Parent(s): c54cd7c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +34 -11
README.md CHANGED
@@ -1,16 +1,39 @@
1
  ---
2
- license: cc-by-4.0
3
- task_categories:
4
- - visual-question-answering
5
- - image-to-text
6
  tags:
7
- - optical-character-recognition
8
- - visual-question-answering
9
- - robustness
10
  - watermark
11
- - numerical
12
- - multimodal
13
- pretty_name: FADE
14
  size_categories:
15
  - 1K<n<10K
16
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ language:
4
+ - en
 
5
  tags:
 
 
 
6
  - watermark
7
+ - ocr
8
+ - image-processing
 
9
  size_categories:
10
  - 1K<n<10K
11
+ ---
12
+
13
+ # FADE Watermark OCR Dataset
14
+
15
+ ## Overview
16
+ This dataset contains watermarked images, their corresponding masks, the alpha values used for watermarking, and the actual text embedded (as a 9-digit number). It is designed to train and evaluate OCR models in the presence of watermarks.
17
+
18
+ ## Dataset Structure
19
+ The dataset is stored in Parquet format, sharded by the `alpha` value. Because Parquet preserves the schema, Hugging Face automatically detects the columns and data types.
20
+
21
+ ### Data Fields
22
+
23
+ | Column Name | Data Type | Description |
24
+ | :--- | :--- | :--- |
25
+ | `Image with watermark` | `binary` | The raw binary bytes of the watermarked image (JPEG). When loaded with Hugging Face `datasets`, this can be cast to a PIL Image. |
26
+ | `Masked image` | `binary` | The raw binary bytes of the corresponding mask image. |
27
+ | `alpha value` | `float` | The blending factor used to apply the watermark (e.g., 0.05, 0.1, 0.5, 1.0). |
28
+ | `Actual answer` | `string` | The ground truth 9-digit watermark text embedded in the image. |
29
+
30
+ ## Usage
31
+ ```python
32
+ from datasets import load_dataset
33
+
34
+ # Load the dataset
35
+ dataset = load_dataset("deep9539/FADE-watermark-ocr")
36
+
37
+ # View the structure
38
+ print(dataset)
39
+ ```