Skip to content

Add deformable table extractor#1053

Merged
HenryL27 merged 2 commits into
mainfrom
hml-deformable-tables
Dec 4, 2024
Merged

Add deformable table extractor#1053
HenryL27 merged 2 commits into
mainfrom
hml-deformable-tables

Conversation

@HenryL27
Copy link
Copy Markdown
Collaborator

@HenryL27 HenryL27 commented Dec 4, 2024

  1. Abstract out the structure model initialization so I can easily swap a Deformable DETR in.
  2. Add apply_thresholds param to extract to control whether to threshold the objects by score from the model
  3. Change behavior when there are multiple table objects to take the one with the highest score rather than whatever's first.
  4. Add subclass that uses Deformable DETR.

Signed-off-by: Henry Lindeman <hmlindeman@yahoo.com>
Signed-off-by: Henry Lindeman <hmlindeman@yahoo.com>
@HenryL27 HenryL27 requested a review from bsowell December 4, 2024 19:13
@HenryL27 HenryL27 marked this pull request as draft December 4, 2024 19:14
@HenryL27 HenryL27 marked this pull request as ready for review December 4, 2024 19:24
Copy link
Copy Markdown
Contributor

@bsowell bsowell left a comment

Choose a reason for hiding this comment

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

LGTM

@HenryL27 HenryL27 merged commit 7e6b626 into main Dec 4, 2024
@HenryL27 HenryL27 deleted the hml-deformable-tables branch December 4, 2024 22:16
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