Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/add more attributes to layoutelements #404

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

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

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.

2 participants