From dacce6548eef726e1b8a775db0e8de5ebbb09f38 Mon Sep 17 00:00:00 2001 From: Jongmin Park <9290341+GzuPark@users.noreply.github.com> Date: Tue, 22 Jun 2021 17:27:31 +0900 Subject: [PATCH] Fix typo: remove unnecessary `+` symbol --- mediapipe/python/solutions/drawing_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediapipe/python/solutions/drawing_utils.py b/mediapipe/python/solutions/drawing_utils.py index 2e0fd9971..f401c89c7 100644 --- a/mediapipe/python/solutions/drawing_utils.py +++ b/mediapipe/python/solutions/drawing_utils.py @@ -107,7 +107,7 @@ def draw_detection( image_rows) rect_end_point = _normalized_to_pixel_coordinates( relative_bounding_box.xmin + relative_bounding_box.width, - relative_bounding_box.ymin + +relative_bounding_box.height, image_cols, + relative_bounding_box.ymin + relative_bounding_box.height, image_cols, image_rows) cv2.rectangle(image, rect_start_point, rect_end_point, bbox_drawing_spec.color, bbox_drawing_spec.thickness)