We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
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
直接安装paddleocr包,调用PaddleOCR(lang="ch", return_word_box=True),输出的结果类似于: [[[26.0, 37.0], [304.0, 37.0], [304.0, 73.0], [26.0, 73.0]], ('纯臻营养护发素', 0.9946897625923157, [46.085826210826205, [['纯', '臻', '营', '养', '护', '发', '素']], [[3, 10, 16, 23, 30, 36, 43]], ['cn']])] 后面的 [46.085826210826205, [['纯', '臻', '营', '养', '护', '发', '素']], [[3, 10, 16, 23, 30, 36, 43]] 代表什么呢?如何将其转化为4点检测框呢?我查看了#10377,里面的解释没看懂。 查看源码源码第233行,cal_ocr_word_box函数返回的应该是检测框啊,为啥调用paddleocr包,返回的单字检测结果不是框?该如何将其转化为框呢?
x86 CPU
PaddleOCR(lang="ch", return_word_box=True)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🔎 Search before asking
🐛 Bug (问题描述)
直接安装paddleocr包,调用PaddleOCR(lang="ch", return_word_box=True),输出的结果类似于:
[[[26.0, 37.0], [304.0, 37.0], [304.0, 73.0], [26.0, 73.0]], ('纯臻营养护发素', 0.9946897625923157, [46.085826210826205, [['纯', '臻', '营', '养', '护', '发', '素']], [[3, 10, 16, 23, 30, 36, 43]], ['cn']])]
后面的 [46.085826210826205, [['纯', '臻', '营', '养', '护', '发', '素']], [[3, 10, 16, 23, 30, 36, 43]] 代表什么呢?如何将其转化为4点检测框呢?我查看了#10377,里面的解释没看懂。
查看源码源码第233行,cal_ocr_word_box函数返回的应该是检测框啊,为啥调用paddleocr包,返回的单字检测结果不是框?该如何将其转化为框呢?
🏃♂️ Environment (运行环境)
x86 CPU
🌰 Minimal Reproducible Example (最小可复现问题的Demo)
PaddleOCR(lang="ch", return_word_box=True)
The text was updated successfully, but these errors were encountered: