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

Flag for add text in abandon #1651

Open
FelipeErmeson opened this issue Feb 3, 2025 · 2 comments
Open

Flag for add text in abandon #1651

FelipeErmeson opened this issue Feb 3, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@FelipeErmeson
Copy link

Is your feature request related to a problem? Please describe.
您的特性请求是否与某个问题相关?请描述。
Yes. Cases where there are errors when detecting headers and footers. Consequently, the text will not appear.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
对存在的问题进行清晰且简洁的描述。例如:我一直很困扰的是 [...]
The suggestion would be to leave it flexible to choose whether or not you want the text to appear. Because, detection errors may occur and consequently the text will not appear.

@FelipeErmeson FelipeErmeson added the enhancement New feature or request label Feb 3, 2025
@LCorleone
Copy link

+1,最终的结果能否带上layout模型的flag标签呢?

@FelipeErmeson
Copy link
Author

Yes. I don't see any problems. But I was analyzing and pipe_result._pipe_res['pdf_info'] returns discarded_blocks, and some of the items, it returns the text. I imagine that the ones it doesn't return are because they are not text. However, this flag, when activated, would take the text from discarded_blocks and put it in the correct order in the final text.

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

2 participants