OCR库现在无法使用Windows运行时。 [英] OCR library not working now with Windows Runtime.

查看:194
本文介绍了OCR库现在无法使用Windows运行时。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在2个月前在OCR图书馆工作过。我对它的性能感到惊讶,并在Windows商店中制作了两个基于此的应用程序。但现在它似乎不再起作用了。然后我尝试运行Microsoft OCR Library Sample应用程序,它现在也没有工作
。它只能在调试模式下运行。我运行了Windows认证测试,它显示错误它正在使用的API不是windows SDK for windows apps的一部分。

I worked on OCR library 2 months back. I was amazed with its performance, and made two apps based on this which are on windows store. But now it seems not working anymore.Then I tried to run the Microsoft OCR Library Sample app, it is also not working now.It works in debug mode only.I ran Windows certifications test and it showed the error that It is using API which is not part of windows SDK for windows apps.

推荐答案

Hi Pooja_B

Hi Pooja_B

您可以提供给我们的更多信息,例如哪个API不是Windows SDK for Windows Store应用程序的一部分?

OcrEngine类
未提及此API无法正常工作的任何内容。

Any more information you can provide to us, for instance which API is not part of Windows SDK for Windows Store Apps? OcrEngine class does not mention anything that this API is not working.

请按照
的说明进行操作http://msdn.microsoft.com/en-us/library/windows/apps/dn643522.aspx
并再次安装该软件包以查看是否发生了同样的问题。

Please follow the instruction by http://msdn.microsoft.com/en-us/library/windows/apps/dn643522.aspx and install the package again to see if the same issue happens.


  • 在Visual Studio中,选择 PROJECT |管理NuGet包
  • 在线部分中,选择nuget.org。搜索
    Microsoft.Windows.Ocr
  • 点击安装
  • 选择 BUILD | Configuration Manager 将项目的构建配置从
    AnyCPU 更改为 x86 x64
    ARM
    。 
  • 如果在安装NuGet软件包后Intellisense不起作用,请卸载并重新加载Visual Studio项目。在解决方案资源管理器中,右键单击项目并选择
    卸载项目。然后再次右键单击该项目并选择
    Reload Project
  • In Visual Studio, select PROJECT | Manage NuGet Packages.
  • In the Online section, select nuget.org. Search for Microsoft.Windows.Ocr.
  • Click Install.
  • Select BUILD | Configuration Manager to change the build configuration of your project from AnyCPU to x86, x64, or ARM
  • If Intellisense does not work after you have installed the NuGet package, unload and reload the Visual Studio project. In Solution Explorer, right-click the project and select Unload Project. Then right-click the project again and select Reload Project.

使用此命名空间并运行示例时,我没有解决任何问题。

I did not counter any problem when using this namespace and running the sample.

- 詹姆斯


这篇关于OCR库现在无法使用Windows运行时。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆