Fix typo: remove unnecessary + symbol

This commit is contained in:
Jongmin Park 2021-06-22 17:27:31 +09:00 committed by GitHub
parent b544a314b3
commit dacce6548e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ def draw_detection(
image_rows) image_rows)
rect_end_point = _normalized_to_pixel_coordinates( rect_end_point = _normalized_to_pixel_coordinates(
relative_bounding_box.xmin + relative_bounding_box.width, 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) image_rows)
cv2.rectangle(image, rect_start_point, rect_end_point, cv2.rectangle(image, rect_start_point, rect_end_point,
bbox_drawing_spec.color, bbox_drawing_spec.thickness) bbox_drawing_spec.color, bbox_drawing_spec.thickness)