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

大于 2MB 的图片默认不进行 OCR #7333

Closed
88250 opened this issue Feb 11, 2023 · 0 comments
Closed

大于 2MB 的图片默认不进行 OCR #7333

88250 opened this issue Feb 11, 2023 · 0 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented Feb 11, 2023

如果需要调整,可以通过环境变量 SIYUAN_TESSERACT_MAX_SIZE 设置,值的单位是字节,比如:SIYUAN_TESSERACT_MAX_SIZE=4000000 将上限调整为 4MB。

@88250 88250 added this to the 2.7.5 milestone Feb 11, 2023
@88250 88250 self-assigned this Feb 11, 2023
@88250 88250 changed the title 大于 2MB 的图片不进行 OCR 大于 2MB 的图片默认不进行 OCR Feb 11, 2023
@88250 88250 closed this as completed Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant