如何让 Windows索引服务和 MODI 产生全文超过光学字符识别?

我已经配置了 Windows索引服务索引我的文件,其中也包括扫描图像保存为高分辨率的 TIFF文件。我还安装了 MS Office 2003 + 并正确配置了 MS Office 文档成像(MODI) ,因此我可以在我的映像上执行 OCR,甚至将 OCR的文本嵌入到 TIFF 中。

Windows索引服务能够索引和找到那些用文本数据(使用 MS 文档成像工具)手动进行光学字符识别和重新保存的 TIFF-s。

事实证明,部署在 WindowsXPSP2中的数据执行预防(DEP)认为 MODI 是恶意的,并拒绝让它发挥它的魔力。我已经能够通过完全关闭 DEP 使其工作,但是我发现这个解决方案并不优雅。

有没有更好的解决方案,使这个工作,而不禁用 DEP?

2499 次浏览

Disable DEP for specific applications.

How to Disable DEP for Specific Applications

  1. Click the Start button on your Windows computer and choose Computer > System Properties > Advanced System Settings.
  2. From the System Properties dialog, select Settings.
  3. Select the Data Execution Prevention tab.
  4. Select Turn on DEP for all programs and services except those I select.

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.

  1. In Windows Explorer, right-click and choose Properties > Advanced System Settings > System Properties.
  2. Select Advanced > Performance > Data Execution Prevention.
  3. Select Turn on DEP for all programs and services except those I select.
  4. Click Add and use the browse feature to browse to the program executable you want to exclude.

Exclude:

C:\Program Files\Common Files\Microsoft Shared\MODI\11.0\MSPOCRDC.EXE
C:\Program Files\Common Files\Microsoft Shared\MODI\11.0\MSPSCAN.EXE
C:\Program Files\Common Files\Microsoft Shared\MODI\11.0\MSPVIEW.EXE

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".