We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
本问题来自RapidVideOCR Discussions #61 对于电影字幕中,存在一帧图像仅有单字的情况。例如下图:
rec.png
rapidocr_onnxruntime==1.3.24版本中,可以检测到该文字,但是识别阶段未能成功识别
rapidocr_onnxruntime==1.3.24
rapidocr_onnxruntime
OS
from rapidocr_onnxruntime import RapidOCR engine = RapidOCR() image_path = "rec.png" with open(image_path, "rb") as f: img = f.read() result, elapse_list = engine(img) print(result) # 输出结果 # [['', 0.0]]
尝试将检测到的文字左右扩增,有的可以识别,有的反而识别错误了,需要多造一些测试集来评估该策略有效性。示例如下:
t.png
from rapidocr_onnxruntime import RapidOCR engine = RapidOCR() image_path = "t.png" with open(image_path, "rb") as f: img = f.read() result, elapse_list = engine(img, use_cls=False, use_det=False, use_rec=True) print(result) # 输出 # [['嗯', 0.4284239]]
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
SWHL
No branches or pull requests
问题描述 / Problem Description
本问题来自RapidVideOCR Discussions #61
对于电影字幕中,存在一帧图像仅有单字的情况。例如下图:
rec.png
rapidocr_onnxruntime==1.3.24
版本中,可以检测到该文字,但是识别阶段未能成功识别运行环境 / Runtime Environment
rapidocr_onnxruntime
: 1.3.24OS
: macOS 14.5复现代码 / Reproduction Code
可能解决方案 / Possible solutions
尝试将检测到的文字左右扩增,有的可以识别,有的反而识别错误了,需要多造一些测试集来评估该策略有效性。示例如下:
t.png
The text was updated successfully, but these errors were encountered: