2,722
社区成员
发帖
与我相关
我的任务
分享
Clear
Declare integer _com_asprise_ocr_setup@4 In aocr.dll as ocr_setup integer
Declare integer _com_asprise_ocr_start@20 In aocr.dll as ocr_start string @ ,string @,string @,string @,string @
Declare integer _com_asprise_ocr_recognize@52 In aocr.dll as ocr_recognize integer,string @,integer,;
integer,integer,integer,integer,string @ ,string @,string @ ,string @ ,string @
Declare long _initaocr@0 In aocr.dll as initocr
Declare _com_asprise_ocr_stop@8 In aocr.dll as ocr_stop long
initocr()
ocr_setup(0)
lnOcr = ocr_start("eng","fast","" ,"","")
lcStrAdrr = ocr_recognize(lnOcr ,"H:\image\image\1z00-110.jpg",-1,-1,-1,-1,-1,"all","text","","","")
lcStr = Sys(2600,lcStrAdrr,100)
?lcStr
?At(Chr(0),lcStr)
ocr_stop(lnOcr)
Declare integer _com_asprise_ocr_recognize@52 In aocr.dll as ocr_recognize ;
long,long,string @,integer,integer,integer,integer,integer,string @,string @,string @,string @,string @
lcStrAdrr = ocr_recognize(lnOcr, 0, "H:\image\image\1z00-110.jpg",-1,-1,-1,-1,-1,"all","text","","","")
typedef char * (CALL_CONVENTION * func_type_com_asprise_ocr_recognize) (long long, const char *, int, int, int, int, int, const char *, const char *, const char *, const char *, const char *);