Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

how to eval bbox #23

Closed
Liu0329 opened this issue Apr 9, 2020 · 2 comments
Closed

how to eval bbox #23

Liu0329 opened this issue Apr 9, 2020 · 2 comments

Comments

@Liu0329
Copy link

Liu0329 commented Apr 9, 2020

I use --eval bbox, but the result has no boxes, am I missing something ?

@Liu0329
Copy link
Author

Liu0329 commented Apr 9, 2020

I read SOLO v2 again, I found that boxes are generated from masks. Does it mean to use extreme points to generate boxes ?

@taokong
Copy link
Collaborator

taokong commented Apr 9, 2020

I read SOLO v2 again, I found that boxes are generated from masks. Does it mean to use extreme points to generate boxes ?

Given the instance binary mask, you can directly generate the box by 'x, y, w, h = cv2.boundingRect(mask)' function.

@Liu0329 Liu0329 closed this as completed Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants