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

Adding color to the Text's metadata feat/text-color #3404

Open
LDelPinoNT opened this issue Jul 16, 2024 · 0 comments
Open

Adding color to the Text's metadata feat/text-color #3404

LDelPinoNT opened this issue Jul 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@LDelPinoNT
Copy link

Is your feature request related to a problem? Please describe.
I have a branded manual which section title's are in a specific color. I would like to chunk the PDF into section using color information.

Describe the solution you'd like
A clear and concise description of what you want to happen.
When using partition_pdf with "fast" strategy, the color of the text is stored in the metadata. (And the documentation reflects it).

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I already tried to use the "by_title" chunking system but some text.category are wrong or the section is chunked to be 500 chars aprox despite to set the max_partition to None.

Additional context
Add any other context or screenshots about the feature request here.

Using unstructured from docker image.

@LDelPinoNT LDelPinoNT added the enhancement New feature or request label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant