Remove the use of designated initializers.

PiperOrigin-RevId: 486261384
This commit is contained in:
Jiuqiang Tang 2022-11-04 16:55:26 -07:00 committed by Copybara-Service
parent 35f635d8ff
commit 416f91180b

View File

@ -144,10 +144,10 @@ Rect CalculateBound(const NormalizedLandmarkList& list) {
}
// Populate normalized non rotated face bounding box
return {.left = bounding_box_left,
.top = bounding_box_top,
.right = bounding_box_right,
.bottom = bounding_box_bottom};
return Rect{/*left=*/bounding_box_left,
/*top=*/bounding_box_top,
/*right=*/bounding_box_right,
/*bottom=*/bounding_box_bottom};
}
// Uses IoU and distance of some corresponding hand landmarks to detect