Skip to content

OCR对PDF空白页的处理 #62

@yxzisavail

Description

@yxzisavail

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions