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

partition_groups_from_regions misses sources #270

Open
benjats07 opened this issue Oct 28, 2023 · 0 comments
Open

partition_groups_from_regions misses sources #270

benjats07 opened this issue Oct 28, 2023 · 0 comments

Comments

@benjats07
Copy link
Contributor

benjats07 commented Oct 28, 2023

partition_groups_from_regions function in unstructured-inference > inference > layoutelement.py is missing source types, producing None sources in the resulting TextRegions. This is due to the transformation of TextRegions into Rectangles to be able to use intersections.

Definition of done

  • Original sources are kept for all resulting TextRegions
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

No branches or pull requests

1 participant