Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,7 +89,22 @@ with gr.Blocks(theme=gr.themes.Monochrome(), title="Multicentury HTR Demo") as d
|
|
| 89 |
|
| 90 |
Input image can be uploaded using the *Input image* window in the *Text content* tab, and the predicted text content will appear to the window
|
| 91 |
on the right side of the image. Results of text region and text line detection can be viewed in the *Text regions* and *Text lines* tabs.
|
| 92 |
-
Best results are obtained when using high quality scans of documents with a regular layout.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
|
| 94 |
with gr.Tab("Text content"):
|
| 95 |
with gr.Row():
|
|
|
|
| 89 |
|
| 90 |
Input image can be uploaded using the *Input image* window in the *Text content* tab, and the predicted text content will appear to the window
|
| 91 |
on the right side of the image. Results of text region and text line detection can be viewed in the *Text regions* and *Text lines* tabs.
|
| 92 |
+
Best results are obtained when using high quality scans of documents with a regular layout.
|
| 93 |
+
|
| 94 |
+
Please note that this is a demo. 24/7 functionality is not quaranteed.
|
| 95 |
+
|
| 96 |
+
# Monen vuosisadan käsialantunnistus malli
|
| 97 |
+
|
| 98 |
+
Käsialantunnistus putkessa on kolme mallia: Tekstialueen tunnistus, tekstirivien tunnistus ja tekstintunnistus. Mallit on koulutettu pääosin
|
| 99 |
+
käsinkirjoitetulla Kansallisarkiston aineistolla, joka ajoittuu 1600-luvulta 1900-luvulle.
|
| 100 |
+
|
| 101 |
+
Tunnistettavan kuvan voi ladata *Input image* nimiseen laatikkoon *Text content* välilehdellä. Prosessointi käynnistetään *Process image*
|
| 102 |
+
painikkeesta ja kuva on prosessoitu tunnistettu teksti ilmaantuu oikeaan laatikkoon nimeltä *Predicted text content*. Tekstialueen ja
|
| 103 |
+
tekstirivien tunnistuksia voi tarkastella *Text regions* ja *Text lines* välilehdiltä. Parhaimman lopputuloksen saa hyvälaatuisilla kuvilla,
|
| 104 |
+
joissa on normaalin kirjan mukainen taitto.
|
| 105 |
+
|
| 106 |
+
Huom! Tämä on demo sovellus. Ympärivuorokautista toimivuutta ei luvata.
|
| 107 |
+
""")
|
| 108 |
|
| 109 |
with gr.Tab("Text content"):
|
| 110 |
with gr.Row():
|