PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

[2022/10/24 19:41:47] ppocr ERROR: lang latin is not support, we only support dict_keys(['en', 'ch']) for layout models

Open JonhSilver opened this issue 2 years ago • 5 comments

Why you declaring PPStructure support for 80+ languages?

[2022/10/24 19:41:47] ppocr ERROR: lang latin is not support, we only support dict_keys(['en', 'ch']) for layout models

JonhSilver avatar Oct 24 '22 16:10 JonhSilver

They should declare not-fully supported.

OCR only models might support more languages. But my Latin OCR result gives En letters.

paddleocr --lang latin --image_dir C:\Users\a_user\Pictures\OIP-C.jpeg

image

OIP-C

paddleocr --lang sdfsdfse --image_dir C:\Users\a_user\Pictures\OIP-C.jpeg

AssertionError: param lang must in dict_keys(['ch', 'en', 'korean', 'japan', 'chinese_cht', 'ta', 'te', 'ka', 'latin', 'arabic', 'cyrillic', 'devanagari']), but got sdfsdfse

OpenOneV avatar Oct 25 '22 01:10 OpenOneV

@OpenOneV paddleocr Latin language is wrong, as it used if i want Lithuanian and also return only latinian characters, if i change latin_dic tu lithuanian symbols it stop works at all

PPStructure is only accept en and ch

JonhSilver avatar Oct 25 '22 07:10 JonhSilver

@JonhSilver https://github.com/PaddlePaddle/PaddleOCR/issues/4415 Is this page helpful?

Assume you have some translator plugin on your browser.

OpenOneV avatar Oct 25 '22 08:10 OpenOneV

@JonhSilver #4415 Is this page helpful?

Assume you have some translator plugin on your browser.

ofcource no, also i dont know chinian language

JonhSilver avatar Oct 25 '22 17:10 JonhSilver

This is translated page img of #4415.

I really suggest you using browser like Edge/Chrome for built-in webpage translation, if you wish to proceed into this project. This PaddleOCR project is primarily maintained by Chinese programmers. Many important issues are written in Chinese. So with such a translator, you can go deeper. Meanwhile, a trans-language search engine is in great need for "international projects" primarily maintained by non-English speaking programmers.

网页捕获_26-10-2022_17340_github com

OpenOneV avatar Oct 26 '22 09:10 OpenOneV