以下是引用大红袍在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
偶,非常感谢,确实可以读取DLL了,不过试了才发现,这个DLL对于中文不支持,不知道各位大侠有没有人介绍个可以使用的中文图像识别的DLL?