Skip to content

Conversation

@badGarnet
Copy link
Collaborator

  • default PageLayout.get_elements_with_detection_model now returns LayoutElements
  • PageLayout.elements is a cached property computed from elements_array property to save memory and cpu costs

- default `PageLayout.get_elements_with_detection_model` now returns
  `LayoutElements`
- `PageLayout.elements` is a cached property computed from
  `elements_array` property to save memory and cpu costs
Copy link
Contributor

@christinestraub christinestraub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@badGarnet badGarnet merged commit d41730d into main Mar 5, 2025
14 checks passed
@badGarnet badGarnet deleted the feat/default-to-array-only-output-for-page-layout branch March 5, 2025 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants