Add application file
Browse files
app.py
CHANGED
@@ -21,9 +21,9 @@ def process_image(image):
|
|
21 |
res = model(img)
|
22 |
return postprocess(res, charset, 'alignment')[0][0]
|
23 |
|
24 |
-
title = "
|
25 |
-
description = "
|
26 |
-
article = "<p style='text-align: center'><a href='https://arxiv.org/pdf/2103.06495.pdf'>Read Like Humans: Autonomous, Bidirectional and Iterative Language Modeling for Scene Text Recognition</a> | <a href='https://github.com/FangShancheng/ABINet'>Github Repo</a></p>"
|
27 |
|
28 |
iface = gr.Interface(fn=process_image,
|
29 |
inputs=gr.inputs.Image(type="pil"),
|
|
|
21 |
res = model(img)
|
22 |
return postprocess(res, charset, 'alignment')[0][0]
|
23 |
|
24 |
+
title = "张博强毕设中期展示(文本检测部分)"
|
25 |
+
#description = "张博强毕设中期展示(文本检测)"
|
26 |
+
#article = "<p style='text-align: center'><a href='https://arxiv.org/pdf/2103.06495.pdf'>Read Like Humans: Autonomous, Bidirectional and Iterative Language Modeling for Scene Text Recognition</a> | <a href='https://github.com/FangShancheng/ABINet'>Github Repo</a></p>"
|
27 |
|
28 |
iface = gr.Interface(fn=process_image,
|
29 |
inputs=gr.inputs.Image(type="pil"),
|