文件名称:优优云验证码识别答题平台AU3 DEMO
文件大小:4KB
文件格式:RAR
更新时间:2016-09-30 04:55:46
优优云 验证码识别 AU3 DEMO
相关函数说明:http://www.uudama.com/process.html 源码页面:http://dll.uuwise.com/index.php?n=ApiDoc.CC 代码如下 ;UU云远程验证码识别平台(www.uuwise.com)AU3调用实例 ;技术QQ87280085 $softid = IniRead("para.ini","set","softId","-1") ;软件ID,请修改para.ini文件对应参数 $softKey = IniRead("para.ini","set","softKey","-1") ;软件KEY,请修改para.ini文件对应参数 $user = IniRead("para.ini","set","user","-1") ;用户名,请修改para.ini文件对应参数 $pwd = IniRead("para.ini","set","pwd","-1") ;密码,请修改para.ini文件对应参数 $DLL = DllOpen("UUWiseHelper.dll") DllCall($DLL,"none","uu_setSoftInfoW","long",$softid,"wstr",$softKey) $result = DllCall($DLL,"long","uu_loginW", "wstr",$user , "wstr",$pwd) If IsArray($result) Then If $result[0]>0 Then ConsoleWrite("登录成功" & $result[0] & @CRLF);登录成功 Else ConsoleWrite("登录失败" & $result[0] & @CRLF);登录成功 MsgBox(0,"错误","登录失败,错误码:" & $result[0]) Exit EndIf EndIf $imgpath = @ScriptDir & "\YZM.jpg" $imgpath = StringReplace($imgpath,"\","\\") $getResult = DllCall($DLL,"long","uu_recognizeByCodeTypeAndPathW", "wstr", $imgpath , "long",1004,"wstr","") ConsoleWrite("$codeid" & $getResult[0] & @CRLF) ConsoleWrite("开始.." & @CRLF) ConsoleWrite("$YZMCode " & $getResult[3] & @CRLF) MsgBox(0,"成功","识别到图片["& $getResult[3]& "]")
【文件预览】:
使用说明.txt
YZM.jpg
AU3调用例子.au3
para.ini