Replies: 5 comments
-
我这里也没有原图,是Discussion #169 小伙伴提到的 |
Beta Was this translation helpful? Give feedback.
0 replies
-
按理说不该出问题呀。 def clip_det_res(self, points, img_height, img_width):
for pno in range(points.shape[0]):
points[pno, 0] = int(min(max(points[pno, 0], 0), img_width - 1))
points[pno, 1] = int(min(max(points[pno, 1], 0), img_height - 1))
return points |
Beta Was this translation helpful? Give feedback.
0 replies
-
猜测可能是这里导致的: RapidOCR/python/rapidocr_onnxruntime/main.py Lines 98 to 100 in a8abd72 |
Beta Was this translation helpful? Give feedback.
0 replies
-
存在负数的box代表此box在整张图的边缘,且识别结果可能不那么准确(比如截图边缘区域的一部分被截断了),个人认为应该保留负数这个特征。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Discussed in #169
det 有时返回的box竟然有负数,这种应该直接在后台设为0吧? [[412.0, -2.0], [514.0, -1.0], [513.0, 35.0], [411.0, 34.0]]
Beta Was this translation helpful? Give feedback.
All reactions