資源簡介
OCR 字符識別,內(nèi)含破解版識別接口 可用于OCR 以及條碼識別
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Windows.Forms;
using?System.Runtime.InteropServices;
namespace?ToText
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????}
????????#region?DllImport
????????[DllImport(“AspriseOCR.dll“?EntryPoint?=?“OCR“?CallingConvention?=?CallingConvention.Cdecl)]
????????public?static?extern?IntPtr?OCR(string?file?int?type);
????????[DllImport(“AspriseOCR.dll“?EntryPoint?=?“OCRpart“?CallingConvention?=?CallingConvention.Cdecl)]
????????static?extern?IntPtr?OCRpart(string?file?int?type?int?startX?int?startY?int?width?int?height);
評論
共有 條評論