147 lines
6.6 KiB
C#
147 lines
6.6 KiB
C#
namespace FaceRecognizer
|
|
{
|
|
partial class MainForm
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.console = new System.Windows.Forms.RichTextBox();
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
|
this.TrainBtn = new System.Windows.Forms.Button();
|
|
this.nameTxtBx = new System.Windows.Forms.TextBox();
|
|
this.RecconizeBtn = new System.Windows.Forms.Button();
|
|
this.trainBackWorker = new System.ComponentModel.BackgroundWorker();
|
|
this.recognizeBackWorker = new System.ComponentModel.BackgroundWorker();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// console
|
|
//
|
|
this.console.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
|
|
this.console.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.console.ForeColor = System.Drawing.Color.Lime;
|
|
this.console.Location = new System.Drawing.Point(12, 318);
|
|
this.console.Name = "console";
|
|
this.console.ReadOnly = true;
|
|
this.console.Size = new System.Drawing.Size(776, 120);
|
|
this.console.TabIndex = 0;
|
|
this.console.Text = "";
|
|
this.console.ZoomFactor = 2F;
|
|
this.console.TextChanged += new System.EventHandler(this.console_TextChanged);
|
|
//
|
|
// pictureBox1
|
|
//
|
|
this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.pictureBox1.Location = new System.Drawing.Point(464, 12);
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
this.pictureBox1.Size = new System.Drawing.Size(324, 300);
|
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
|
this.pictureBox1.TabIndex = 1;
|
|
this.pictureBox1.TabStop = false;
|
|
//
|
|
// pictureBox2
|
|
//
|
|
this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.pictureBox2.Location = new System.Drawing.Point(12, 12);
|
|
this.pictureBox2.Name = "pictureBox2";
|
|
this.pictureBox2.Size = new System.Drawing.Size(324, 300);
|
|
this.pictureBox2.TabIndex = 1;
|
|
this.pictureBox2.TabStop = false;
|
|
//
|
|
// TrainBtn
|
|
//
|
|
this.TrainBtn.Location = new System.Drawing.Point(363, 249);
|
|
this.TrainBtn.Name = "TrainBtn";
|
|
this.TrainBtn.Size = new System.Drawing.Size(75, 23);
|
|
this.TrainBtn.TabIndex = 2;
|
|
this.TrainBtn.Text = "Train";
|
|
this.TrainBtn.UseVisualStyleBackColor = true;
|
|
this.TrainBtn.Click += new System.EventHandler(this.TrainBtn_Click);
|
|
//
|
|
// nameTxtBx
|
|
//
|
|
this.nameTxtBx.Location = new System.Drawing.Point(348, 167);
|
|
this.nameTxtBx.Name = "nameTxtBx";
|
|
this.nameTxtBx.Size = new System.Drawing.Size(100, 20);
|
|
this.nameTxtBx.TabIndex = 3;
|
|
//
|
|
// RecconizeBtn
|
|
//
|
|
this.RecconizeBtn.Location = new System.Drawing.Point(363, 209);
|
|
this.RecconizeBtn.Name = "RecconizeBtn";
|
|
this.RecconizeBtn.Size = new System.Drawing.Size(75, 23);
|
|
this.RecconizeBtn.TabIndex = 4;
|
|
this.RecconizeBtn.Text = "Recognize";
|
|
this.RecconizeBtn.UseVisualStyleBackColor = true;
|
|
this.RecconizeBtn.Click += new System.EventHandler(this.RecconizeBtn_Click);
|
|
//
|
|
// trainBackWorker
|
|
//
|
|
this.trainBackWorker.WorkerReportsProgress = true;
|
|
this.trainBackWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.trainBackWorker_DoWork);
|
|
this.trainBackWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.trainBackWorker_RunWorkerCompleted);
|
|
//
|
|
// recognizeBackWorker
|
|
//
|
|
this.recognizeBackWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.recognizeBackWorker_DoWork);
|
|
this.recognizeBackWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.recognizeBackWorker_RunWorkerCompleted);
|
|
//
|
|
// MainForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
|
this.Controls.Add(this.RecconizeBtn);
|
|
this.Controls.Add(this.nameTxtBx);
|
|
this.Controls.Add(this.TrainBtn);
|
|
this.Controls.Add(this.pictureBox2);
|
|
this.Controls.Add(this.pictureBox1);
|
|
this.Controls.Add(this.console);
|
|
this.Name = "MainForm";
|
|
this.Text = "Form1";
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.RichTextBox console;
|
|
private System.Windows.Forms.PictureBox pictureBox1;
|
|
private System.Windows.Forms.PictureBox pictureBox2;
|
|
private System.Windows.Forms.Button TrainBtn;
|
|
private System.Windows.Forms.TextBox nameTxtBx;
|
|
private System.Windows.Forms.Button RecconizeBtn;
|
|
private System.ComponentModel.BackgroundWorker trainBackWorker;
|
|
private System.ComponentModel.BackgroundWorker recognizeBackWorker;
|
|
}
|
|
}
|
|
|