From c0cf6abb9500afb5c16e350f48f08f6701017a2d Mon Sep 17 00:00:00 2001 From: HonzaCuhel Date: Mon, 21 Oct 2024 10:07:22 +0900 Subject: [PATCH] Refactor visualize function --- examples/visualize_detection_dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/visualize_detection_dataset.py b/examples/visualize_detection_dataset.py index a9235cb..fead256 100644 --- a/examples/visualize_detection_dataset.py +++ b/examples/visualize_detection_dataset.py @@ -6,7 +6,7 @@ import numpy as np -def draw_rounded_rectangle(img, pt1, pt2, color, thickness, r, masks=None): +def draw_rounded_rectangle(img, pt1, pt2, color, thickness, r): x1, y1 = pt1 x2, y2 = pt2