removed obsolete lines

This commit is contained in:
Matthias Bisping 2022-02-06 20:01:00 +01:00
parent 0fc6cf8008
commit 36284f9a78

View File

@ -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))