det 有时返回的box竟然有负数,这种应该直接在后台设为0吧? [[412.0, -2.0], [514.0, -1.0], [513.0, 35.0], [411.0, 34.0]] #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.
Answered by
benjaminwan
Apr 22, 2024
Replies: 1 comment
-
这box应该是加了padding后,再减掉的值,因为paading可以让边缘向外延伸。如果不加padding,这个box会识别不出来,也就不会有负数的box了。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
SWHL
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这box应该是加了padding后,再减掉的值,因为paading可以让边缘向外延伸。如果不加padding,这个box会识别不出来,也就不会有负数的box了。