Skip to content

det 有时返回的box竟然有负数,这种应该直接在后台设为0吧? [[412.0, -2.0], [514.0, -1.0], [513.0, 35.0], [411.0, 34.0]] #169

Closed Answered by benjaminwan
nissansz asked this question in Q&A
Discussion options

You must be logged in to vote

这box应该是加了padding后,再减掉的值,因为paading可以让边缘向外延伸。如果不加padding,这个box会识别不出来,也就不会有负数的box了。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SWHL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #167 on April 15, 2024 00:21.