对我的OCR项目有任何帮助 [英] any one help for my OCR project

查看:68
本文介绍了对我的OCR项目有任何帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从SourceForge网站下载了VietOCR.NET c#源代码,当我使用朋友的系统在Visual Studio中运行该文件时,该文件运行良好,但是当我在系统中运行相同的代码时,发生错误,例如
找不到类型或名称空间名称" WIA"

该项目中使用的WIA命名空间是因为在库目录中有一个名为``wiaaut.dll''的dll文件

但是在参考文件夹中,WIA参考存在一个感叹号.

从以下链接下载的文件

sourceforge.net/projects/vietocr/files/vietocr.net/

I downloaded the VietOCR.NET c# source code from SourceForge web site, when i run that file in visual studio using my friend''s system, the file runs well but when i run the same code in my system there was an error occurred like
" type or namespace name ''WIA'' could not be found "

WIA namespace used in that project for that there is a dll file in the library directory called ''wiaaut.dll''

But in the reference folder there is an exclamation in WIA refernce.

the file downloaded from the following link

sourceforge.net/projects/vietocr/files/vietocr.net/

推荐答案

该引用可能已损坏,因为到项目已创建.尝试删除引用,然后再次添加它,这一次,指向DLL的位置.
The reference is probably broken because it might have been pointed to a different location by the time the project was created. Try removing the reference, then add it again, this time, point to the location of the DLL.


从引用中删除该文件.
然后从该文件的存储位置添加引用路径.
或下载该文件并添加参考.
Delete That file from the reference.
And Add the reference path from where that file is stored.
Or download that file and add a reference.


如果您在计算机中使用VS2010,请尝试以下操作,

http://xinyustudio.wordpress .com/2010/03/12/vs2010-type-or-namespace-name-could-not-be-found-problem/ [
If you''re using VS2010 in your machine try this,

http://xinyustudio.wordpress.com/2010/03/12/vs2010-type-or-namespace-name-could-not-be-found-problem/[^]

Hope it helps.


这篇关于对我的OCR项目有任何帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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