removed obsolete lines
This commit is contained in:
parent
0fc6cf8008
commit
36284f9a78
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user