如何让 Indexing Service 和 MODI 通过 OCR 生成全文?
我已配置索引服务来索引我的文件,其中还包括保存为高分辨率的扫描图像 TIFF 文件。 我还安装了 MS Office 2003+ 并正确配置了 MS Office Document Imaging (MODI),因此我可以执行 OCR< /a> 在我的图像上,甚至将 OCR 文本嵌入到 TIFF 中。
索引服务能够索引并查找那些手动 OCR 并重新处理的 TIFF -s - 使用文本数据保存(使用 MS Document Imaging 工具)。
事实证明,随 Windows XP SP2 一起部署的数据执行保护 (DEP) 认为 MODI 是恶意的,并拒绝让它发挥其魔力。 我已经能够通过完全关闭 DEP 来让它工作,但我发现这个解决方案不太优雅。
有没有更好的解决方案可以在不禁用 DEP 的情况下完成这项工作?
I have configured Indexing Service to index my files, which also include scanned images saved as hi-res TIFF files. I also installed MS Office 2003+ and configured MS Office Document Imaging (MODI) correctly, so I can perform OCR on my images and even embed the OCR'd text into TIFFs.
Indexing Service is able to index and find those TIFF-s that were manually OCR'd and re-saved with text data (using MS Document Imaging tool).
Turns out, Data Execution Prevention (DEP) which is deployed with Windows XP SP2 thinks MODI is malicious and refuses to let it do its magic. I have been able to get it to work by turning DEP off completely, but I found this solution to be inelegant.
Is there a better solution to make this work, without disabling DEP?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为特定应用程序禁用 DEP。
如何禁用特定应用程序的 DEP
单击“添加”并使用浏览功能浏览到要排除的程序可执行文件,例如 excel.exe 或 word.exe。
根据您的 Windows 版本,您可能需要通过右键单击 Windows 资源管理器中的“此电脑”或“计算机”来访问“系统属性”对话框。
排除:
不属于答案的附加信息:
要在最新版本的 Windows 上获取并安装 MODI,请参阅:
“Microsoft Office 文档映像 – Office 2010 到 Office 2016”
参考:
"从 DEP(数据执行保护)中排除程序"
“Microsoft Office 文档扫描错误”
MODI 是一部分(免费)“Microsoft SharePoint Designer 2007< /a>”。
Disable DEP for specific applications.
How to Disable DEP for Specific Applications
Click Add and use the browse feature to browse to the program executable you want to exclude—for example, excel.exe or word.exe.
Depending on your version of Windows, you may need to access the System Properties dialog box by right-clicking This PC or Computer from Windows Explorer.
Exclude:
Additional information not part of the answer:
To obtain and install MODI on newest versions of Windows see:
"Microsoft Office Document Imaging – Office 2010 to Office 2016"
References:
"Exclude Programs From DEP (Data Execution Prevention)"
"Microsoft Office Document Scanning error"
MODI is part of (free) "Microsoft SharePoint Designer 2007".