refactor(objects): use percent 0-1 to describes object bboxes

This commit is contained in:
2022-08-20 17:45:55 +02:00
parent 9ec84a1ff3
commit d168da16fc
3 changed files with 21 additions and 21 deletions

View File

@ -42,13 +42,13 @@ message ObjectsMessage {
FrameRef frame_ref = 2;
}
// BoundingBox that contains an object
// BoundingBox that contains an object, coordinates as percent
message Object {
TypeObject type = 1;
int32 left = 2;
int32 top = 3;
int32 right = 4;
int32 bottom = 5;
float left = 2;
float top = 3;
float right = 4;
float bottom = 5;
float confidence = 6;
}