Foxtable(狐表)用户栏目专家坐堂 → [求助]想在foxtable中使用OCR图像识别DLL,应该怎么做?


  共有2652人关注过本帖树形打印复制链接

主题:[求助]想在foxtable中使用OCR图像识别DLL,应该怎么做?

帅哥哟,离线,有人找我吗?
大红袍
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:贵宾 帖子:39310 积分:196782 威望:0 精华:1 注册:2015/4/25 9:23:00
  发帖心情 Post By:2016/7/5 11:34:00 [显示全部帖子]

非托管dll,把dll拷贝到foxtable安装目录下,然后在全局代码里声明对应的函数即可

 


<DllImport("AspriseOCR.dll", EntryPoint := "OCR", CallingConvention := CallingConvention.Cdecl)> _
Public Function OCR(file As String, Type As Integer) As IntPtr
End Function


<DllImport("AspriseOCR.dll", EntryPoint := "OCRpart", CallingConvention := CallingConvention.Cdecl)> _
public Function OCRpart(file As String, Type As Integer, startX As Integer, startY As Integer, width As Integer, height As Integer) As IntPtr
End Function


<DllImport("AspriseOCR.dll", EntryPoint := "OCRBarCodes", CallingConvention := CallingConvention.Cdecl)> _
Public Function OCRBarCodes(file As String, Type As Integer) As IntPtr
End Function


<DllImport("AspriseOCR.dll", EntryPoint := "OCRpartBarCodes", CallingConvention := CallingConvention.Cdecl)> _
Public Function OCRpartBarCodes(file As String, Type As Integer, startX As Integer, startY As Integer, width As Integer, height As Integer) As IntPtr
End Function

 

 

http://www.foxtable.com/webhelp/scr/1937.htm

 


 回到顶部
帅哥哟,离线,有人找我吗?
大红袍
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:贵宾 帖子:39310 积分:196782 威望:0 精华:1 注册:2015/4/25 9:23:00
  发帖心情 Post By:2016/7/5 16:27:00 [显示全部帖子]

 这里不是有介绍么?需要微软的库支持

 

http://www.cnblogs.com/stone_w/archive/2011/10/08/2202397.html

 


 回到顶部