From 21efea87116aeb7c89bea31a0227f614f19c9c6b Mon Sep 17 00:00:00 2001 From: Robert Sachunsky Date: Wed, 11 Dec 2024 18:36:57 +0000 Subject: [PATCH] no del on function argument --- src/eynollah/utils/contour.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/eynollah/utils/contour.py b/src/eynollah/utils/contour.py index 8a92ace..c5d56b8 100644 --- a/src/eynollah/utils/contour.py +++ b/src/eynollah/utils/contour.py @@ -39,7 +39,6 @@ def get_text_region_boxes_by_given_contours(contours): boxes.append([x, y, w, h]) contours_new.append(contours[jj]) - del contours return boxes, contours_new def filter_contours_area_of_image(image, contours, hierarchy, max_area, min_area):