Skip to content
Discussion options

You must be logged in to vote

Yes, in real-world scenarios, multiple languages are often mixed together. PP-OCRv5 integrates multiple languages into a single model for recognition and currently supports Simplified Chinese, Traditional Chinese, English, and Japanese. More languages will be added for training in the future. Regarding the use of the lang parameter in PP-OCRv5, specifying lang="japan" will default to using the PP-OCRv5 server. If you wish to use the Japanese model from PP-OCRv3, you also need to specify ocr_version="PP-OCRv3", as detailed below:

from paddleocr import PaddleOCR
ocr = PaddleOCR(ocr_version="PP-OCRv3", lang="japan",device="cpu")
tmp = "./general_ocr_002.png"
result = ocr.predict(input=tmp)
for 

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@brt1s
Comment options

@liuhongen1234567
Comment options

@brt1s
Comment options

Answer selected by brt1s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants