PaddleOCR
PaddleOCR copied to clipboard
paddleocr3.0.0字体问题
🔎 Search before asking
- [x] I have searched the PaddleOCR Docs and found no similar bug report.
- [x] I have searched the PaddleOCR Issues and found no similar bug report.
- [x] I have searched the PaddleOCR Discussions and found no similar bug report.
🐛 Bug (问题描述)
字体总是要下载,我想指定默认字体该怎么处理呢
🏃♂️ Environment (运行环境)
paddle3.0.0 paddleocr3.0.0
🌰 Minimal Reproducible Example (最小可复现问题的Demo)
"font_path": "./fonts/simfang.ttf",
"download_enable": False,
添加了字体和不让自动下载 还是会自动下载
可以尝试通过环境变量指定本地字体文件路径:export PADDLE_PDX_LOCAL_FONT_FILE_PATH=./fonts/simfang.ttf,然后再运行。
The issue has no response for a long time and will be closed. You can reopen or new another issue if are still confused.
From Bot
可以尝试通过环境变量指定本地字体文件路径:
export PADDLE_PDX_LOCAL_FONT_FILE_PATH=./fonts/simfang.ttf,然后再运行。
paddleVL 需要使用:LOCAL_FONT_FILE_PATH? 而且,字体换成了PingFang-SC-Regular.ttf?