From 36284f9a78a5aecbe893a2f3f66de7a2054a7a3d Mon Sep 17 00:00:00 2001 From: Matthias Bisping Date: Sun, 6 Feb 2022 20:01:00 +0100 Subject: [PATCH] removed obsolete lines --- vidocp/utils/post_processing.py | 1 - 1 file changed, 1 deletion(-) diff --git a/vidocp/utils/post_processing.py b/vidocp/utils/post_processing.py index 13f3149..f390b03 100644 --- a/vidocp/utils/post_processing.py +++ b/vidocp/utils/post_processing.py @@ -77,7 +77,6 @@ def __remove_isolated_unsorted(rectangles): def __remove_isolated_sorted(rectangles): def is_connected(left, center, right): - # if center == Rectangle(xmin=337, ymin=154, xmax=512, ymax=187) or center == Rectangle(xmin=719, ymin=188, xmax=781, ymax=251): return any(starmap(adjacent, [(left, center), (center, right)])) rectangles = list(map(xywh_to_vec_rect, rectangles))