Srinivas T B
commited on
Commit
•
d1d2a97
1
Parent(s):
84bf747
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def process_image(image):
|
|
26 |
return generated_text
|
27 |
|
28 |
title = "Interactive demo: TrOCR"
|
29 |
-
description = "
|
30 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2109.10282'>TrOCR: Transformer-based Optical Character Recognition with Pre-trained Models</a> | <a href='https://github.com/microsoft/unilm/tree/master/trocr'>Github Repo</a></p>"
|
31 |
examples =[["image_0.png"], ["image_1.png"], ["image_2.png"]]
|
32 |
|
|
|
26 |
return generated_text
|
27 |
|
28 |
title = "Interactive demo: TrOCR"
|
29 |
+
description = "Srini is the best leo's are the best people in the world :) technically speaking ah this is a demo for Microsoft's TrOCR, an encoder-decoder model consisting of an image Transformer encoder and a text Transformer decoder for state-of-the-art optical character recognition (OCR) on single-text line images. This particular model is fine-tuned on IAM, a dataset of annotated handwritten images. To use it, simply upload a (single-text line) image or use one of the example images below and click 'submit'. Results will show up in a few seconds."
|
30 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2109.10282'>TrOCR: Transformer-based Optical Character Recognition with Pre-trained Models</a> | <a href='https://github.com/microsoft/unilm/tree/master/trocr'>Github Repo</a></p>"
|
31 |
examples =[["image_0.png"], ["image_1.png"], ["image_2.png"]]
|
32 |
|