diff --git a/doc/doc_ch/multi_languages.md b/doc/doc_ch/multi_languages.md index 1bebdb58fa025d5b6891fd1579285b5db956a2d4..43e47dc9b097b738af9f259059431338b5ef416f 100644 --- a/doc/doc_ch/multi_languages.md +++ b/doc/doc_ch/multi_languages.md @@ -118,7 +118,7 @@ paddleocr --image_dir doc/imgs_words_en/word_308.png --det false --lang=en * 检测预测 ``` -paddleocr --image_dir PaddleOCR/doc/imgs/11.jpg --rec false +paddleocr --image_dir doc/imgs/11.jpg --rec false ``` 结果是一个list,每个item只包含文本框 @@ -142,7 +142,7 @@ from paddleocr import PaddleOCR, draw_ocr # 同样也是通过修改 lang 参数切换语种 ocr = PaddleOCR(lang="korean") # 首次执行会自动下载模型文件 -img_path = 'doc/imgs/korean_1.jpg ' +img_path = 'doc/imgs/korean_1.jpg' result = ocr.ocr(img_path) # 可通过参数控制单独执行识别、检测 # result = ocr.ocr(img_path, det=False) 只执行识别 @@ -157,7 +157,7 @@ image = Image.open(img_path).convert('RGB') boxes = [line[0] for line in result] txts = [line[1][0] for line in result] scores = [line[1][1] for line in result] -im_show = draw_ocr(image, boxes, txts, scores, font_path='/path/to/PaddleOCR/doc/fonts/korean.ttf') +im_show = draw_ocr(image, boxes, txts, scores, font_path='doc/fonts/korean.ttf') im_show = Image.fromarray(im_show) im_show.save('result.jpg') ``` diff --git a/doc/joinus.PNG b/doc/joinus.PNG index 60b7f5662688c200b4dc4f1732aa9980b4654974..63e2a61770c90eb0601125a6f5fedde45ad49132 100644 Binary files a/doc/joinus.PNG and b/doc/joinus.PNG differ