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

OCR对PDF空白页的处理 #62

Open
yxzisavail opened this issue Dec 5, 2024 · 0 comments
Open

OCR对PDF空白页的处理 #62

yxzisavail opened this issue Dec 5, 2024 · 0 comments

Comments

@yxzisavail
Copy link

PDF文件中有空白页时,OCR不会对该页产生任何txt文档,这是正常行为,但是程序会报错:File not fount error (Python 错误)

这种情况下产生的OCR结果仍然是完整的,非空白页均正常生成了txt,并且也正常生成了“合并.txt”。

或许更好的处理方式是提示用户而不是直接报错?

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