Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

A better way to calculate object area #7

Open
jamiechoi1995 opened this issue Oct 15, 2018 · 0 comments
Open

A better way to calculate object area #7

jamiechoi1995 opened this issue Oct 15, 2018 · 0 comments

Comments

@jamiechoi1995
Copy link

According to your paper, objects that smaller than 2% will be ignored.

_, _, w, h = object_data['bbox']

but this code only consider the width and height,
and this could not reflect the true area of an object,

For example, this is a "clothes" stuff, and most of the area is blank. (Original image: http://cocodataset.org/#explore?id=245764)
clothes

the area calculated by w and h is 10692,
but if you use codes like `np.sum(mask)', you get a more accurate area of 1115.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant