diff --git a/docling/models/page_preprocessing_model.py b/docling/models/page_preprocessing_model.py index 1523a5d3..d1b29e38 100644 --- a/docling/models/page_preprocessing_model.py +++ b/docling/models/page_preprocessing_model.py @@ -69,6 +69,7 @@ class PagePreprocessingModel(BasePageModel): c.to_bounding_box().r, c.to_bounding_box().b, ) + draw.rectangle([(x0, y0), (x1, y1)], outline="red") if show: image.show()