• 大小: 0.94M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签:

资源简介

验证码识别

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;

namespace Tupian
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            pictureBox1.Image = Image.FromFile(textBox1.Text);
        }

        private void button2_Click(object sender EventArgs e)
        {
            string cc = Marshal.PtrToStringAnsi(OCRpart(textBox1.Text -1 0 0 pictureBox1.Image.Width pictureBox1.Image.Height));
            textBox2.Text = cc;
        }
        [D

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-09-14 16:11  Tupian\
     目录           0  2015-09-14 16:11  Tupian\Tupian\
     文件         987  2015-05-08 17:33  Tupian\Tupian.sln
     文件       33280  2015-10-29 14:58  Tupian\Tupian.v12.suo
     目录           0  2015-09-14 16:11  Tupian\Tupian\bin\
     目录           0  2015-09-14 16:11  Tupian\Tupian\bin\Debug\
     文件     1777664  2007-12-19 01:50  Tupian\Tupian\bin\Debug\AspriseOCR.dll
     文件      864256  2007-11-18 14:52  Tupian\Tupian\bin\Debug\DevIL.dll
     文件       81920  2007-11-18 14:52  Tupian\Tupian\bin\Debug\ILU.dll
     目录           0  2015-09-14 16:11  Tupian\Tupian\bin\Debug\temp\
     文件         240  2015-05-08 17:39  Tupian\Tupian\bin\Debug\temp\p.png
     文件       10240  2015-05-08 17:49  Tupian\Tupian\bin\Debug\Tupian.exe
     文件       19968  2015-05-08 17:49  Tupian\Tupian\bin\Debug\Tupian.pdb
     文件       24216  2015-10-29 14:58  Tupian\Tupian\bin\Debug\Tupian.vshost.exe
     文件         490  2012-06-06 02:06  Tupian\Tupian\bin\Debug\Tupian.vshost.exe.manifest
     文件        1606  2015-05-08 17:49  Tupian\Tupian\Form1.cs
     文件        5500  2015-05-08 17:44  Tupian\Tupian\Form1.Designer.cs
     文件        5817  2015-05-08 17:44  Tupian\Tupian\Form1.resx
     目录           0  2015-09-14 16:11  Tupian\Tupian\obj\
     目录           0  2015-09-14 16:11  Tupian\Tupian\obj\Debug\
     文件         853  2015-05-08 17:33  Tupian\Tupian\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        6671  2015-10-29 14:58  Tupian\Tupian\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     目录           0  2015-05-08 17:33  Tupian\Tupian\obj\Debug\TempPE\
     文件         550  2015-10-29 14:58  Tupian\Tupian\obj\Debug\Tupian.csproj.FileListAbsolute.txt
     文件         977  2015-05-08 17:49  Tupian\Tupian\obj\Debug\Tupian.csproj.GenerateResource.Cache
     文件       10240  2015-05-08 17:49  Tupian\Tupian\obj\Debug\Tupian.exe
     文件         180  2015-05-08 17:49  Tupian\Tupian\obj\Debug\Tupian.Form1.resources
     文件       19968  2015-05-08 17:49  Tupian\Tupian\obj\Debug\Tupian.pdb
     文件         180  2015-05-08 17:49  Tupian\Tupian\obj\Debug\Tupian.Properties.Resources.resources
     文件         487  2015-05-08 17:33  Tupian\Tupian\Program.cs
     目录           0  2015-09-14 16:11  Tupian\Tupian\Properties\
............此处省略6个文件信息

评论

共有 条评论

相关资源