docling-project / docling-project/docling

select bounding box orientation on document save

Open
#1,293 2 comments 3 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.