有个项目要使用文字识别,不想使用百度和阿里云的
按论坛里其他人提供的方法:http://www.cnblogs.com/stone_w/archive/2011/10/08/2202397.html操作的时候,并没有正确,还要麻烦老师给予解决和指导下。
<DllImport("aocr_x64.dll", EntryPoint = "OCR", CallingConvention = CallingConvention.Cdecl)>
Public static extern IntPtr OCR(String file, int Type)
<DllImport("aocr_x64.dll", EntryPoint = "OCRpart", CallingConvention = CallingConvention.Cdecl)>
Public static extern IntPtr OCRpart(String file, int Type, int startX, int startY, int width, int height)
<DllImport("aocr_x64.dll", EntryPoint = "OCRBarCodes", CallingConvention = CallingConvention.Cdecl)>
Public static extern IntPtr OCRBarCodes(String file, int Type)
<DllImport("aocr_x64.dll", EntryPoint = "OCRpartBarCodes", CallingConvention = CallingConvention.Cdecl)>
Public static extern IntPtr OCRpartBarCodes(String file, int Type, int startX, int startY, int width, int height)
此主题相关图片如下:12.jpg
而且现在这个动态库dll有变化了,我没怎么看的懂
如果可以的话,麻烦老师帮忙给写出一个程序给我们参考下
[此贴子已经被作者于2019/4/15 20:46:15编辑过]