all AI news
One line of code recognizes 80 languages (optical character recognition)
Aug. 17, 2022, 1:38 p.m. | /u/NaviGaming
Computer Vision www.reddit.com
pip install paddlepaddle paddleocr
paddleocr --image_dir img_12.jpg --lang en --use_gpu false
change `--lang en` according to the language-abbreviation list below:
https://preview.redd.it/f1snv1ar2ai91.png?width=1596&format=png&auto=webp&s=09cf9e01ab67ec3e610714729360ab71412cc2ef
https://preview.redd.it/i6nh98ps2ai91.png?width=3072&format=png&auto=webp&s=fbcfc3a869c517ec715ee44918b6241f87f7a84a
https://preview.redd.it/1zmq0yjt2ai91.png?width=2866&format=png&auto=webp&s=6365514f3f1c464826d1abe7016ea52ff5efda1f
|Language|Abbreviation|Language|Abbreviation|
|:-|:-|:-|:-|
|Chinese & English|ch|Arabic|ar|
|English|en|Hindi|hi|
|French|fr|Uyghur|ug|
|German|german|Persian|fa|
|Japan|japan|Urdu|ur|
|Korean|korean|Serbian(latin)|rs\_latin|
|Chinese Traditional|chinese\_cht|Occitan|oc|
|Italian|it|Marathi|mr|
|Spanish|es|Nepali|ne|
|Portuguese|pt|Serbian(cyrillic)|rs\_cyrillic|
|Russia|ru|Bulgarian|bg|
|Ukranian|uk|Estonian|et|
|Belarusian|be|Irish|ga|
|Telugu|te|Croatian|hr|
|Saudi Arabia|sa|Hungarian|hu|
full language list: [https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.5/doc/doc\_en/multi\_languages\_en.md#5-support-languages-and-abbreviations](https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.5/doc/doc_en/multi_languages_en.md#5-support-languages-and-abbreviations)
code: [https://github.com/PaddlePaddle/PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR)
character recognition code computervision line optical character recognition
More from www.reddit.com / Computer Vision
Help with instance detection project, classical CV
1 day, 8 hours ago |
www.reddit.com
Best CV researchers
1 day, 21 hours ago |
www.reddit.com
Dealing with coordinate reference systems
2 days, 10 hours ago |
www.reddit.com
Jobs in AI, ML, Big Data
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Lead GNSS Data Scientist
@ Lurra Systems | Melbourne
Senior Machine Learning Engineer (MLOps)
@ Promaton | Remote, Europe
Software Engineer, Data Tools - Full Stack
@ DoorDash | Pune, India
Senior Data Analyst
@ Artsy | New York City