关于工行验证码识别的一些问题

1.关于亦思验证码识别系统

是用于识别的系统性软件,其用途广泛,适用于各类验证码识别,本地图片识别,车牌号码识别,汉字文字识别等领域,拥有识别库体积小,识别速度快,准确率高,操作简便,调用方便,高效率制作等特点。自发布以来,就受到很多用户好评,被国内各大知名软件网站相继收录。

ps:好像官方倒闭黄了吧。。。但是工具还是好的本文主要验证码识别还是用它的.关于识别库的生成不做过多阐述,工行做好处理后库做到200次以上会有很好的效果的。

2.主要实现编码

image

本文用的语言是c#.

导入ycode.dll基本函数

[DllImport("ycode.dll")]
        public static extern int loadcode(int code, int Length, String address, String pass);
        [DllImport("ycode.dll", EntryPoint = "Recognition")]
        public static extern string Recognition(int ItemNo, int picin, int Length, string Address1, string Address2, out int lppicout, out int lpLength, out int cLength);
        [DllImport("ycode.dll", EntryPoint = "Recognitiond")]
        public static extern int Recognitiond(int ItemNo, int picin, int Length, string Address1, string Address2);
no1 = loadcode(0, 0, "19gh.fc", "892014"); //载入你做的库
public string poCode()
        {
            string returnzhi = "";
            try
            {
      
                int n1, n2, n3 = 0;
                string strd = Application.StartupPath + @"\CODE.bmp";//验证码图片路径

                string temp = "";
                 returnzhi = Recognition(1, 0, 0, temp, strd, out n1, out n2, out n3);//得到验证码
                
            }
            catch (System.Exception ex)
            {
                ShowException(ex);
            }
            return returnzhi;
        }

3.总结

关于亦思验证码识别就这么些,主要为大家提供个思路,比如可以实现工行收款等等。

版权属于:风起了工作室

原文地址:http://blog.fengqile.com/articles/15.html

转载时必须以链接形式注明原始出处及本声明。

原文地址:https://www.cnblogs.com/P-lotor/p/4275116.html