mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-30 14:04:27 +00:00
Signed-off-by: hl2311 <dhlong2301@gmail.com>
fix: Refactor missing bbox attribute to PdfTextCell
This commit is contained in:
parent
af342d6c95
commit
bc3f5bd839
@ -69,6 +69,7 @@ class PagePreprocessingModel(BasePageModel):
|
|||||||
c.to_bounding_box().r,
|
c.to_bounding_box().r,
|
||||||
c.to_bounding_box().b,
|
c.to_bounding_box().b,
|
||||||
)
|
)
|
||||||
|
|
||||||
draw.rectangle([(x0, y0), (x1, y1)], outline="red")
|
draw.rectangle([(x0, y0), (x1, y1)], outline="red")
|
||||||
if show:
|
if show:
|
||||||
image.show()
|
image.show()
|
||||||
|
Loading…
Reference in New Issue
Block a user