-
Notifications
You must be signed in to change notification settings - Fork 79
[RSDK-10140] add relative bounding box coordinates to detections #640
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
[RSDK-10140] add relative bounding box coordinates to detections #640
Conversation
For those playing along at home, the scope doc is in RSDK-10082. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the comment should reflect that it its proportion to the respective length or height. It doesnt have to be exactly what i wrote- but its not the total size of the image
@@ -97,6 +97,11 @@ message Detection { | |||
double confidence = 5; | |||
// label associated with the detected object | |||
string class_name = 6; | |||
// the four corners of the box, divided by the size of the entire image |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not divided by the size of the entire image, but by their respective dimension. So x norm is the x divided by the x length, and y norm is y divided by the y length. So let's say "the four corners of the box, in proportion to the respective dimension of the image"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, updated.
I also forgot to run make all
to change the Go and JavaScript versions of the code! 😳 I've done that now. This is still the only file I've edited: the rest is just auto-generated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Github thinks I should tag Naveed. I'm tagging Bijan, but could be wrong.
I changed the comment from what was in Jira. I'm willing to change it back if you want, though personally I think this is more useful (making the comment say they're normalized doesn't add anything I didn't already get from the field names).