no del on function argument

pull/142/head
Robert Sachunsky 2 weeks ago
parent 5e0c1da711
commit 21efea8711

@ -39,7 +39,6 @@ def get_text_region_boxes_by_given_contours(contours):
boxes.append([x, y, w, h]) boxes.append([x, y, w, h])
contours_new.append(contours[jj]) contours_new.append(contours[jj])
del contours
return boxes, contours_new return boxes, contours_new
def filter_contours_area_of_image(image, contours, hierarchy, max_area, min_area): def filter_contours_area_of_image(image, contours, hierarchy, max_area, min_area):

Loading…
Cancel
Save