do_order_of_regions: remove redundant+overcautious assertion

This commit is contained in:
Robert Sachunsky 2026-05-21 03:21:36 +02:00
parent bf7ec0233d
commit f9f9130dbb

View file

@ -1148,7 +1148,6 @@ class Eynollah:
boxes,
textline_mask_tot
):
assert np.any(textline_mask_tot)
self.logger.debug("enter do_order_of_regions")
contours_only_text_parent = ensure_array(contours_only_text_parent)
contours_only_text_parent_h = ensure_array(contours_only_text_parent_h)