mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-30 14:04:27 +00:00
removed unnecessary transformation
Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
This commit is contained in:
parent
5dffd10eae
commit
a2c14545d8
@ -93,10 +93,6 @@ class VlmPipeline(PaginatedPipeline):
|
|||||||
text = ""
|
text = ""
|
||||||
if bbox:
|
if bbox:
|
||||||
if page.size:
|
if page.size:
|
||||||
# bbox.l = bbox.l * page.size.width
|
|
||||||
# bbox.t = bbox.t * page.size.height
|
|
||||||
# bbox.r = bbox.r * page.size.width
|
|
||||||
# bbox.b = bbox.b * page.size.height
|
|
||||||
if page._backend:
|
if page._backend:
|
||||||
text = page._backend.get_text_in_rect(bbox)
|
text = page._backend.get_text_in_rect(bbox)
|
||||||
return text
|
return text
|
||||||
|
Loading…
Reference in New Issue
Block a user