News for hackers. Stuff that matters.
Re:PaddleOCR: Lightweight, 80 Langauge OCR by aliabd on Thursday September 09, 2021 @04:38PM (#28474378)
Thanks for sharing! For context this is a demo of PaddleOCR V2 [0] which was released yesterday. You can find their original repo here [1]. We built this demo using Gradio [2] and deployed it on HuggingFace's Spaces [3].

[0]: https://arxiv.org/abs/2109.03144 [1]: https://github.com/PaddlePaddle/PaddleOCR [2]: https://gradio.app/ [3]: https://huggingface.co/spaces

Re:PaddleOCR: Lightweight, 80 Langauge OCR by hdjjhhvvhga on Friday September 10, 2021 @04:39AM (#28479100)
I went over to Gradio. They have a demo on their front page. I choose "Q&A with Paragraph" since "understanding" the text is a pet peeve of mine.

I entered a simple text "John kissed Mary in 2010. Two years later Adam was born." and a question "When was Adam born?" The answer was. . . "Two years."

This is one of the reasons I hate the current AI hype. People would do much better being honest and realistic about our progress in the field - it's enormous, but not near what the marketing teams claim it to be.

Re:PaddleOCR: Lightweight, 80 Langauge OCR by julien_c on Friday September 10, 2021 @08:08AM (#28480376)
FWIW this is extractive question answering so the output of the model can only be a span of the input paragraph.

SQuAD is the prototypical example of a dataset for this task, see https://rajpurkar.github.io/SQuAD-explorer/

Re:PaddleOCR: Lightweight, 80 Langauge OCR by hdjjhhvvhga on Friday September 10, 2021 @09:55AM (#28481604)
The problem is it fails even simplest tests (Q: "Adam was not born in 2012. When was Adam born?" A: "2012"; "Mary says Adam was born in 2012. John says Adam was born in 2013. And in fact the latter date is correct." A: "2012").
Re:PaddleOCR: Lightweight, 80 Langauge OCR by hdjjhhvvhga on Friday September 10, 2021 @04:42AM (#28479122)
Simple tasks like digit recognition work much better, but still...:

https://i.imgur.com/q39gxip.png