-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
Doesn't
float center_y() { return right + height() / 2; }
look wrong ?
I'd expect it to be something like:
float center_y() { return top + height() / 2; }
typedef struct {
float left;
float top;
float right;
float bottom;
float width() { return right - left; }
float height() { return bottom - top; }
float center_x() { return left + width() / 2; }
float center_y() { return right + height() / 2; }
}BBox;
From :
deepstream_tao_apps/apps/tao_others/deepstream-faciallandmark-app/ds_facialmark_meta.h
Line 53 in 4a8c6ab
float center_y() { return right + height() / 2; } |
Metadata
Metadata
Assignees
Labels
No labels