update logo
Browse files
app.py
CHANGED
|
@@ -64,26 +64,31 @@ def main():
|
|
| 64 |
|
| 65 |
args = parse_arguments()
|
| 66 |
|
| 67 |
-
description = "
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
# TODO: Add a description for the Number of DIE iterations parameter!
|
| 89 |
|
|
|
|
| 64 |
|
| 65 |
args = parse_arguments()
|
| 66 |
|
| 67 |
+
description = """
|
| 68 |
+
Welcome to the Document Image Enhancement (DIE) model demo on Hugging Face!\n\n
|
| 69 |
+
|
| 70 |
+
This interactive application showcases a specialized AI model developed by
|
| 71 |
+
the [Artificial Intelligence group](https://ai.renyi.hu) at the [Alfréd Rényi Institute of Mathematics](https://renyi.hu).\n\n
|
| 72 |
+
|
| 73 |
+
Our DIE model is designed to enhance and restore archival and aged document images
|
| 74 |
+
by removing various types of degradation, thereby making historical documents more legible
|
| 75 |
+
and suitable for Optical Character Recognition (OCR) processing.\n\n
|
| 76 |
+
|
| 77 |
+
The model effectively tackles 20-30 types of domain-specific noise found in historical records,
|
| 78 |
+
such as scribbles, bleed-through text, faded or worn text, blurriness, textured noise,
|
| 79 |
+
and unwanted background elements.
|
| 80 |
+
By applying deep learning techniques, specifically a U-Net-based architecture,
|
| 81 |
+
the model accurately cleans and clarifies text while preserving original details.
|
| 82 |
+
This improved clarity dramatically boosts OCR accuracy, making it an ideal
|
| 83 |
+
pre-processing tool in digitization workflows.\n\n
|
| 84 |
+
|
| 85 |
+
If you’re interested in learning more about the model’s capabilities or potential applications,
|
| 86 |
+
please contact us at: gabar92@renyi.hu.\n
|
| 87 |
+
|
| 88 |
+
<img src='https://huggingface.co/spaces/renyi-ai/die_demo/blob/main/logo/qr-code.png' width=200px>\n\n
|
| 89 |
+
<img src="https://huggingface.co/spaces/course-demos/Rick_and_Morty_QA/resolve/main/rick.png" width=200px>
|
| 90 |
+
<img src="https://huggingface.co/spaces/renyi-ai/die_demo/blob/main/logo/qr-code.png" width=200px>
|
| 91 |
+
"""
|
| 92 |
|
| 93 |
# TODO: Add a description for the Number of DIE iterations parameter!
|
| 94 |
|