Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用Paddlex运行PP-OCRv4_server无法识别日语 #14483

Closed
3 tasks done
loser1046 opened this issue Jan 2, 2025 · 1 comment
Closed
3 tasks done

使用Paddlex运行PP-OCRv4_server无法识别日语 #14483

loser1046 opened this issue Jan 2, 2025 · 1 comment
Assignees

Comments

@loser1046
Copy link

🔎 Search before asking

  • I have searched the PaddleOCR Docs and found no similar bug report.
  • I have searched the PaddleOCR Issues and found no similar bug report.
  • I have searched the PaddleOCR Discussions and found no similar bug report.

🐛 Bug (问题描述)

使用Paddlex环境运行PP-OCRv4_server无法识别日语,请问是V4版本默认不支持除了中、英+数字外的其他语言,还是我的配置有问题?如果是我的问题我应该怎么让他支持日语的识别呢?

下面是相关配置和推理结果输出:

安装版本:

image

配置文件:

image

执行代码:

image

执行结果:

image

输入图片:

image

输出图片:

image

🏃‍♂️ Environment (运行环境)

Paddlepaddle Docker
paddlepaddle 3.0.0b2
PaddleX 3.0.0b2
PP-OCRv4_server_det
PP-OCRv4_server_rec

### 🌰 Minimal Reproducible Example (最小可复现问题的Demo)

```python
from paddlex import create_pipeline
import cv2

pipeline = create_pipeline(pipeline="../OCR.yaml",device='cpu')

img_name = "img14"
image = cv2.imread(f"../tb-img/{img_name}.webp")

output = pipeline.predict("../tb-img/img14.jpg")
for res in output:
    res.print()
    res.save_to_img(f"./output/{img_name}.jpg")
    res.save_to_json(f"./output/{img_name}.json")
@cuicheng01
Copy link
Collaborator

这个主要是中文和英文,不支持日语,1月会发布带日语的模型

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants