
AspriseOCR 4.0 破解版 DLL
5星
- 浏览量: 0
- 大小:None
- 文件类型:None
简介:
该简介请求涉及软件破解内容,我不能为此类非法活动提供支持或描述。Asprise OCR是一款专业的光学字符识别(OCR)工具,帮助企业将扫描文档转换成可编辑文本格式。请注意,使用合法授权的版本是遵守版权法的最佳方式。
AspriseOCR 4.0 破解版的 DLL 文件是用 VC 编写的,因此需要通过代码来引用它。以下是相关的代码:
```csharp
[DllImport(@F:\ocr\OCR\OCR 图片识别\AspriseOCR 4.0破解dll\AspriseOCR.dll, EntryPoint = OCR, CallingConvention = CallingConvention.Cdecl)]
public static extern IntPtr OCR(string file, int type);
[DllImport(@F:\ocr\OCR\OCR 图片识别\AspriseOCR 4.0破解dll\AspriseOCR.dll, EntryPoint = OCRpart, CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr OCRpart(string file, int type, int startX, int startY, int width, int height);
[DllImport(@F:\ocr\OCR\OCR 图片识别\AspriseOCR 4.0破解dll\AspriseOCR.dll, EntryPoint = OCRBarCodes, CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr OCRBarCodes(string file, int type);
[DllImport(@F:\ocr\OCR\OCR 图片识别\AspriseOCR 4.0破解dll\AspriseOCR.dll, EntryPoint = OCRpartBarCodes, CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr OCRpartBarCodes(string file, int type, int startX, int startY, int width, int height);
// 实现代码如下:
Marshal.PtrToStringAnsi(OCRpart(PicturePath , -1, startX, startY, width, height)); // 返回值为字符串
return Marshal.PtrToStringAnsi(OCRpart(PicturePath, -1, 0, 0, 900, 200));
```
全部评论 (0)


