docling-project / docling-project/docling
select bounding box orientation on document save
Open
enhancement
- Dominant language
- Python
- Stars
- 66.4k
- Forks
- 4.8k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 84
Description
A boundingbox already offers conversion methods
- https://docling-project.github.io/docling/reference/docling_document/#docling_core.types.doc.BoundingBox.to_bottom_left_origin
- https://docling-project.github.io/docling/reference/docling_document/#docling_core.types.doc.BoundingBox.to_top_left_origin
but these are not exposed when performing the OCR or when saving the document; i.e. `save_as_json` or other methods for saving the result do not offer a mechanism of changing the boundingbox orientation
## feature
allow for conversion of boundingbox orientation either during OCR or when saving the document
Contributor guide
Assessment
This issue has not been assessed yet.