• 大小: 1.66MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-31
  • 语言: C#
  • 标签: c#  源码  

资源简介

c#实现车牌识别系统,完整的源码,应用程序、测试模板图片以及实验报告文档,课程设计作业,已经成功测试,可以直接运行的。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.IO;

using System.Drawing.Imaging;
using System.Windows.Forms;
using System.Security.Cryptography;
namespace WindowsFormsApplication1
{
    public partial class MainForm : Form
    {
        private Bitmap m_Bitmap;//测试图片
        private Bitmap c_Bitmap;//车牌图像
        private Bitmap objNewPic;

        int[] gray = new int[256];
        private Bitmap[] charFont;
        private Bitmap[] provinceFont;
        string[] charString;//数字字母存储的路径
        string[] provinceString;//省份存储的路径
        string[] charDigitalString;
        string[] provinceDigitalString;

        private Bitmap[] array_Bitmap = new Bitmap[7];//最终黑白字体图片
        private String name;
        
        int flag = 0;
        public static string charSourceBath = “E:\\platenum_distinguish\\车牌字符模板\\char\\“;
        public static string provinceSourceBath = “E:\\platenum_distinguish\\车牌字符模板\\font\\“;

        public MainForm()
        {
            InitializeComponent();
        }

        private string[] _ChildModule;
        private int _ModuleButtonHeight = 30;
        private int _ChildButtonHeight = 25;

        public string[] ChildModule
        {
            get { return _ChildModule; }
            set { _ChildModule = value; }
        }

        private void clearAllPanel()
        {
            this.c_Bitmap = null;
            this.ResultLabel.Text = ““;
            this.pictureBox1.Invalidate();
            this.pictureBox2.Invalidate();
            this.pictureBox3.Invalidate();
            this.pictureBox4.Invalidate();
            this.pictureBox5.Invalidate();
            this.pictureBox6.Invalidate();
            this.pictureBox7.Invalidate();
            this.pictureBox8.Invalidate();
            this.pictureBox9.Invalidate();
            this.pictureBox10.Invalidate();
            this.pictureBox11.Invalidate();
        }

        private void MainForm_Load(object sender EventArgs e)
        {
            ChildModule = new string[5 4];
            ChildModule[0 0] = “打开“;
            ChildModule[0 1] = “重新载入“;
            ChildModule[0 2] = “保存“;
            ChildModule[0 3] = “退出“;

            ChildModule[1 0] = “灰度化“;
            ChildModule[1 1] = “灰度均衡化“;
            ChildModule[1 2] = “均值滤波“;
            ChildModule[1 3] = ““;

            ChildModule[2 0] = “sobel边缘检测“;
            ChildModule[2 1] = “车牌定位“;
            ChildModule[2 2] = ““;
            ChildModule[2 3] = ““;

            ChildModule[3 0] = “灰度化“;
            ChildModule[3 1] = “二值化“;
            ChildModule[3 2] = “精确定位“;
            ChildModule[3 3] = “字符分割“;

            ChildModule[4 0] = “车牌识别“;
            ChildModule[4 1] = ““;
            ChildModule[4 2] = ““;
            ChildModule[4 3] = ““;
        }

        privat

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        914  2015-04-26 22:15  车牌识别系统\platenum_distinguish.sln

    ..A..H.     32768  2015-06-06 23:26  车牌识别系统\platenum_distinguish.suo

     文件      32256  2015-06-06 23:20  车牌识别系统\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe

     文件      83456  2015-06-06 23:20  车牌识别系统\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb

     文件      11600  2015-06-06 23:19  车牌识别系统\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe

     文件        490  2010-03-17 22:39  车牌识别系统\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.manifest

     文件      43297  2015-06-06 23:20  车牌识别系统\WindowsFormsApplication1\MainForm.cs

     文件      24444  2015-05-14 23:01  车牌识别系统\WindowsFormsApplication1\MainForm.Designer.cs

     文件       6187  2015-05-14 23:28  车牌识别系统\WindowsFormsApplication1\MainForm.resx

     文件       4501  2015-04-27 08:53  车牌识别系统\WindowsFormsApplication1\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6398  2015-06-06 23:20  车牌识别系统\WindowsFormsApplication1\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       2686  2015-05-19 23:08  车牌识别系统\WindowsFormsApplication1\obj\x86\Debug\GenerateResource.read.1.tlog

     文件       3950  2015-05-19 23:08  车牌识别系统\WindowsFormsApplication1\obj\x86\Debug\GenerateResource.write.1.tlog

     文件       8031  2015-05-06 16:27  车牌识别系统\WindowsFormsApplication1\obj\x86\Debug\ResolveAssemblyReference.cache

     文件       4608  2015-05-06 17:31  车牌识别系统\WindowsFormsApplication1\obj\x86\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件       3062  2015-06-06 23:19  车牌识别系统\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.csproj.FileListAbsolute.txt

     文件      32256  2015-06-06 23:20  车牌识别系统\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.exe

     文件        180  2015-05-19 23:08  车牌识别系统\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.MainForm.resources

     文件      83456  2015-06-06 23:20  车牌识别系统\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.pdb

     文件       1232  2015-05-19 23:08  车牌识别系统\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.Properties.Resources.resources

     文件        508  2015-05-05 21:12  车牌识别系统\WindowsFormsApplication1\Program.cs

     文件       1380  2015-04-26 22:15  车牌识别系统\WindowsFormsApplication1\Properties\AssemblyInfo.cs

     文件       3138  2015-05-06 17:31  车牌识别系统\WindowsFormsApplication1\Properties\Resources.Designer.cs

     文件       6199  2015-05-06 17:31  车牌识别系统\WindowsFormsApplication1\Properties\Resources.resx

     文件       1110  2015-04-26 22:15  车牌识别系统\WindowsFormsApplication1\Properties\Settings.Designer.cs

     文件        249  2015-04-26 22:15  车牌识别系统\WindowsFormsApplication1\Properties\Settings.settings

     文件        610  2011-09-03 05:15  车牌识别系统\WindowsFormsApplication1\Resources\car.png

     文件      32255  2011-09-02 18:08  车牌识别系统\WindowsFormsApplication1\Resources\car1.gif

     文件        677  2011-09-03 05:15  车牌识别系统\WindowsFormsApplication1\Resources\car_add.png

     文件        512  2011-09-03 05:22  车牌识别系统\WindowsFormsApplication1\Resources\cog.png

............此处省略142个文件信息

评论

共有 条评论