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
设定最小尺寸和最大尺寸。如果超出,则直接返回,避免OOM。这一点是从CnOCR项目源码中看到的。
if min(img.shape[0], img.shape[1]) < 2: return []
当前代码中并没有此类限制。
min_height
min_side_len
max_side_len
min
max
width_height_ratio
The text was updated successfully, but these errors were encountered:
SWHL
No branches or pull requests
设定最小尺寸和最大尺寸。如果超出,则直接返回,避免OOM。这一点是从CnOCR项目源码中看到的。
当前代码中并没有此类限制。
min_height
参数是用来决定图像进入检测前是否padding。min_side_len
和max_side_len
:用来缩放图像使用。最大边超出尺寸,则拉到min
或max
尺寸width_height_ratio
: 只计算了宽高比,同样用来决定文本检测是否padding的。只限制的很宽的图像类型。缺少了限制很长的类型。The text was updated successfully, but these errors were encountered: