各位大侠有没有做过OCR识别的,请指教指教:
[DllImport("AspriseOCR.dll", EntryPoint = "OCR")]
public static extern IntPtr OCR(string file, int type); [DllImport("AspriseOCR.dll", EntryPoint = "OCRpart")]
static extern IntPtr OCRpart(string file, int type, int startX, int startY, int width, int height); [DllImport("AspriseOCR.dll", EntryPoint = "OCRBarCodes")]
static extern IntPtr OCRBarCodes(string file, int type); [DllImport("AspriseOCR.dll", EntryPoint = "OCRpartBarCodes")]
static extern IntPtr OCRpartBarCodes(string file, int type, int startX, int startY, int width, int height);
上面几个方法中想识别条形码,不知道哪个方式可行,逐个试验都不正确,请高手指出正确的使用方法或者还有别的识别条形码的好方法,不胜感激!
[DllImport("AspriseOCR.dll", EntryPoint = "OCR")]
public static extern IntPtr OCR(string file, int type); [DllImport("AspriseOCR.dll", EntryPoint = "OCRpart")]
static extern IntPtr OCRpart(string file, int type, int startX, int startY, int width, int height); [DllImport("AspriseOCR.dll", EntryPoint = "OCRBarCodes")]
static extern IntPtr OCRBarCodes(string file, int type); [DllImport("AspriseOCR.dll", EntryPoint = "OCRpartBarCodes")]
static extern IntPtr OCRpartBarCodes(string file, int type, int startX, int startY, int width, int height);
上面几个方法中想识别条形码,不知道哪个方式可行,逐个试验都不正确,请高手指出正确的使用方法或者还有别的识别条形码的好方法,不胜感激!
解决方案 »
- 反射失败
- barmanage
- 看不懂英文版的计算机类的书。。和中文对着看好还是买中文版的好呢?
- 请教高手 ~!!
- C# & WinForm|请教下高手,Form关闭时最小化到托盘,右击关闭怎么退出程序?
- winform中,如何控制datagrid某行某列不可以读写,且不能获得焦点??
- 我想在网站首页上加一个多级下拉框连接 ,要怎么实现
- C#.NET用户控件自定义属性问题
- 为什么连接时候可以直接调用储存过程,而没有事先声明
- vs.net发布会录像 BillGates和Anders Hejlsberg mms:连接,可下载 不用在网上看
- 问一个WinForm问题
- 关于combobox的简单问题,请大家过来看看哦!
public static extern IntPtr OCRBarCodes(string file, int type);
public static extern IntPtr OCRBarCodes(string file, int type);