Replies: 7 comments 2 replies
-
有原图吗 |
Beta Was this translation helpful? Give feedback.
-
我这里也没有原图,是Discussion #169 小伙伴提到的 |
Beta Was this translation helpful? Give feedback.
-
按理说不该出问题呀。 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.
-
猜测可能是这里导致的: RapidOCR/python/rapidocr_onnxruntime/main.py Lines 98 to 100 in a8abd72 |
Beta Was this translation helpful? Give feedback.
-
存在负数的box代表此box在整张图的边缘,且识别结果可能不那么准确(比如截图边缘区域的一部分被截断了),个人认为应该保留负数这个特征。 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
"Global.max_side_len":100000, "Global.min_side_len":0, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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