Skip to content

Conversation

@badGarnet
Copy link
Collaborator

  • feat: add text_as_html and table_as_cells to LayoutElements class as new attributes
  • feat: replace the single valueed source attribute from TextRegions and LayoutElements with an array attribute sources

- add text_as_html and table_as_cells
- make sources an array, one value per element/region
- yolox do not have ocr or text extraction capability
- test was from a time when we mixed those into detection model
@badGarnet badGarnet marked this pull request as ready for review January 18, 2025 00:20
@badGarnet badGarnet requested review from plutasnyy and tbs17 January 18, 2025 00:31
Copy link
Contributor

@plutasnyy plutasnyy 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 4d0c20a into main Jan 21, 2025
5 checks passed
@badGarnet badGarnet deleted the feat/add-more-attributes-to-layoutelements branch January 21, 2025 00:29
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.

3 participants