文章分类 -  验证码安全

摘要:可识别一些简单验证码//google的tesseract识别,导入tessnet2_32.dll,识别速度不如ocrprivate void button27_Click(object sender, EventArgs e){ if (pictureBox3.Image != null) { Bitmap map = (Bitmap)pictureBox3.Image; tessnet2.Tesseract ocr = new tessnet2.Tesseract();//声明一个OCR类 string txt = ""; ... 阅读全文
posted @ 2011-07-29 20:23 事理 阅读(5389) 评论(1) 推荐(0)
摘要:可识别一些简单验证码//http://www.cnblogs.com/longbo///可识别字母数字和符号[DllImport("AspriseOCR.dll", EntryPoint = "OCR")]public static extern IntPtr OCR(string file, int type);//识别条形码[DllImport("AspriseOCR.dll", EntryPoint = "OCRBarCodes")]static extern IntPtr OCRBarCodes(strin 阅读全文
posted @ 2011-07-29 20:22 事理 阅读(8129) 评论(0) 推荐(0)