Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Can the issue be reproduced with the default theme (daylight/midnight)?
- I was able to reproduce the issue with the default theme
Could the issue be due to extensions?
- I've ruled out the possibility that the extension is causing the problem.
Describe the problem
这个帖子有人反馈无法搜索图片 https://ld246.com/article/1718783978167/comment/1721268978239#comments
我阅读代码
siyuan/kernel/treenode/node.go
Line 135 in 1f46d16
发现这里似乎是只有 Tesseract 启用了才能进行 ocr 搜索,这导致插件提供的 ocr 搜索功能也还需要用户启用 Tesseract ,或者用户之前使用 Tesseract 建立了 ocr-text.json 但后面关闭的话还是不能进行搜索
Expected result
ocr 搜索只与 ocr-text.json 相关,不和 Tesseract 强绑定
Screenshot or screen recording presentation
No response
Version environment
- Version: v3.1.1
- Operating System: windows11
- Browser (if used):
Log file
none
More information
No response
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
88250 commentedon Aug 28, 2024
88250 commentedon Sep 12, 2024
经过分析,不启用 OCR 时也可以搜索到的,只是要等重建索引执行完才能搜索到。