111,123
社区成员
发帖
与我相关
我的任务
分享
//参数:[in] imagebuf: 图片内存文件数据
// [in] size: imagebuf大小
// [out] text:识别结果
int __cdecl GetTessTextByBuf(unsigned char *imagebuf,int size, int type, char *text);
[DllImport("OCRapi.dll", EntryPoint = "GetTessTextByBuf", CharSet = CharSet.Ansi,
CallingConvention = CallingConvention.Cdecl)]
public static extern int GetTessTextByBuf(ref byte[] imagebuf,int size, int type, StringBuilder text);