/// <summary> /// Взятие следующего изображения из папки /// </summary> /// <param name="fileLocationList"> Список загруженных /// изображений.</param> /// <param name="currentImage"> Текущее изображение.</param> /// <param name="pictureWindow"> Форма для вывода /// изображения.</param> public Image <Bgr, Byte> NextNumber(List <string> fileLocationList, Image <Bgr, Byte> currentImage, Emgu.CV.UI.ImageBox pictureWindow) { if (_currentImageIndex < fileLocationList.Count - 1) { _currentImageIndex += 1; //вывод текста с номером текущего изображения _countImage.Text = _currentImageIndex + 1 + " из " + fileLocationList.Count; if (File.Exists(fileLocationList[_currentImageIndex])) { currentImage = new Image <Bgr, byte>( fileLocationList[_currentImageIndex]); pictureWindow.Image = currentImage; } } else { _currentImageIndex += 1; MessageBox.Show("Изображения закончились"); } return(currentImage); }
public Camera(Emgu.CV.UI.ImageBox videoBox) { videoContainer = videoBox; if (videoContainer != null) { videoContainer.SizeMode = PictureBoxSizeMode.StretchImage; } }
private Emgu.CV.UI.ImageBox InitBox(string name) { var box = new Emgu.CV.UI.ImageBox(); box.Dock = System.Windows.Forms.DockStyle.Fill; box.Location = new System.Drawing.Point(0, 0); box.Name = name; box.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; box.TabStop = false; return(box); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.original = new Emgu.CV.UI.ImageBox(); this.processed = new Emgu.CV.UI.ImageBox(); this.PauseOrPlay = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.original)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.processed)).BeginInit(); this.SuspendLayout(); // // original // this.original.Location = new System.Drawing.Point(101, 31); this.original.Name = "original"; this.original.Size = new System.Drawing.Size(250, 250); this.original.TabIndex = 2; this.original.TabStop = false; // // processed // this.processed.Location = new System.Drawing.Point(438, 31); this.processed.Name = "processed"; this.processed.Size = new System.Drawing.Size(250, 250); this.processed.TabIndex = 3; this.processed.TabStop = false; // // PauseOrPlay // this.PauseOrPlay.Location = new System.Drawing.Point(101, 356); this.PauseOrPlay.Name = "PauseOrPlay"; this.PauseOrPlay.Size = new System.Drawing.Size(100, 25); this.PauseOrPlay.TabIndex = 4; this.PauseOrPlay.Text = "Pause"; this.PauseOrPlay.UseVisualStyleBackColor = true; this.PauseOrPlay.Click += new System.EventHandler(this.PauseOrPlay_Click); // // 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.PauseOrPlay); this.Controls.Add(this.processed); this.Controls.Add(this.original); this.Name = "MainForm"; this.Text = "MyGrayscaler"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.original)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.processed)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Метод, для отрисовки примерной области выделения /// </summary> /// <param name="events"> События маши.</param> /// <param name="currentImage"> Текущее изображение.</param> /// <param name="pictureWindow"> Форма для вывода изображения.</param> public void MouseMove(MouseEventArgs events, Image <Bgr, Byte> currentImage, Emgu.CV.UI.ImageBox pictureWindow) { if ((currentImage != null) && (_flagButton)) { Rectangle rectangle = WorkMouse(events, currentImage, pictureWindow); Image <Bgr, Byte> imageClone = currentImage.Clone(); imageClone.Draw(rectangle, new Bgr(1, 240, 1), 2); pictureWindow.Image = imageClone; imageClone.Dispose(); } }
public bool snapImage(Emgu.CV.UI.ImageBox imageBox, int height = 0, int width = 0, int imageRotation = 0) { try { IGrabResult grabResult = snap(height, width); using (grabResult) { if (grabResult.GrabSucceeded) { // convert image from basler IImage to OpenCV Mat Mat img = convertIImage2Mat(grabResult); // convert image from BayerBG to RGB CvInvoke.CvtColor(img, img, Emgu.CV.CvEnum.ColorConversion.BayerBg2Rgb); // rotate image x degrees if (imageRotation != 0) { rotateImage(img, img, imageRotation); } // resize image to fit the imageBox CvInvoke.Resize(img, img, new System.Drawing.Size(imageBox.Height, imageBox.Width)); // draw the pointer drawPointer(img, new MCvScalar(0, 100, 200), 1, Emgu.CV.CvEnum.LineType.EightConnected); // copy processed image to imagebox.image imageBox.Image = img; } else { System.Windows.MessageBox.Show("Error: {0} {1}" + grabResult.ErrorCode, grabResult.ErrorDescription); } } return(true); } catch (Exception exception) { if (camera.IsOpen) { camera.Close(); } System.Windows.MessageBox.Show("Exception: {0}" + exception.Message); return(false); } }
public Emgu.CV.UI.ImageBox GetControlImageBoxThisSplitContainer( SplitContainer thisSplitContainer, string nameControl) { Emgu.CV.UI.ImageBox picture = null; foreach (Control control in thisSplitContainer.Panel2.Controls) { if (control is Emgu.CV.UI.ImageBox && control.Name == nameControl) { picture = (Emgu.CV.UI.ImageBox)control; break; } } return(picture); }
public bool saveImage(Emgu.CV.UI.ImageBox imageBox, string path, int height = 0, int width = 0) { try { IGrabResult grabResult = snap(height, width); using (grabResult) { if (grabResult.GrabSucceeded) { // convert image from basler IImage to OpenCV Mat Mat img = convertIImage2Mat(grabResult); // convert image from BayerBG to RGB CvInvoke.CvtColor(img, img, Emgu.CV.CvEnum.ColorConversion.BayerBg2Rgb); // rotate image 180 degrees rotateImage(img, img, 180); // save image CvInvoke.Imwrite(path, img); // resize image to fit the imageBox CvInvoke.Resize(img, img, new System.Drawing.Size(imageBox.Height, imageBox.Width)); // copy processed image to imagebox.image imageBox.Image = img; } else { System.Windows.MessageBox.Show("Error: {0} {1}" + grabResult.ErrorCode, grabResult.ErrorDescription); } } return(true); } catch (Exception exception) { if (camera.IsOpen) { camera.Close(); } System.Windows.MessageBox.Show("Exception: {0}" + exception.Message); return(false); } }
private void InitOpenCV() { MyOpenCVVideo = new OpenCVVideo(); var devices = MyOpenCVVideo.InitCameraList(); DeviceComboBox.Items.Clear(); foreach (var device in devices) { DeviceComboBox.Items.Add(device.ToString()); } pictureBoxObservedImage = new Emgu.CV.UI.ImageBox(); pictureBoxObservedImage.Size = new Size(1280, 900); pictureBoxObservedImage.Location = new System.Drawing.Point(10, 50); pictureBoxObservedImage.BackColor = Color.Gray; pictureBoxObservedImage.Dock = DockStyle.Fill; this.groupBoxVideo.Controls.Add(pictureBoxObservedImage); this.chart1.Titles.Add("Pets"); }
public bool grab(Emgu.CV.UI.ImageBox imageBox, int height = 0, int width = 0, int imageRotation = 0, int snap_wait = 500) { if (!grabbing) { grabbing = true; try { Thread thread = new Thread(() => th_grab(imageBox, height, width, imageRotation, snap_wait)); thread.Start(); } catch (Exception ex) { MessageBox.Show(ex.Message); return(false); } return(true); } else { return(false); } }
private void th_grab(Emgu.CV.UI.ImageBox imageBox, int height = 0, int width = 0, int imageRotation = 0, int snap_wait = 500) { try { // Set the acquisition mode to free running continuous acquisition when the camera is opened. camera.CameraOpened += Configuration.AcquireContinuous; // Open the connection to the camera device. camera.Open(); if (width == 0 || width > camera.Parameters[PLCamera.Height].GetMaximum()) { camera.Parameters[PLCamera.Width].SetValue(camera.Parameters[PLCamera.Height].GetMaximum()); } else if (width < camera.Parameters[PLCamera.Height].GetMinimum()) { camera.Parameters[PLCamera.Width].SetValue(camera.Parameters[PLCamera.Height].GetMinimum()); } else { camera.Parameters[PLCamera.Width].SetValue(width); } if (height == 0 || width > camera.Parameters[PLCamera.Height].GetMaximum()) { camera.Parameters[PLCamera.Height].SetValue(camera.Parameters[PLCamera.Height].GetMaximum()); } else if (height < camera.Parameters[PLCamera.Height].GetMinimum()) { camera.Parameters[PLCamera.Height].SetValue(camera.Parameters[PLCamera.Height].GetMinimum()); } else { camera.Parameters[PLCamera.Height].SetValue(height); } camera.Parameters[PLCamera.CenterX].SetValue(true); camera.Parameters[PLCamera.CenterY].SetValue(true); camera.StreamGrabber.Start(); while (grabbing) { IGrabResult grabResult = camera.StreamGrabber.RetrieveResult(5000, TimeoutHandling.ThrowException); using (grabResult) { if (grabResult.GrabSucceeded) { // convert image from basler IImage to OpenCV Mat Mat img = convertIImage2Mat(grabResult); // convert image from BayerBG to RGB CvInvoke.CvtColor(img, img, Emgu.CV.CvEnum.ColorConversion.BayerBg2Rgb); // rotate image x degrees if (imageRotation != 0) { rotateImage(img, img, imageRotation); } // resize image to fit the imageBox CvInvoke.Resize(img, img, new System.Drawing.Size(imageBox.Height, imageBox.Width)); // draw the pointer drawPointer(img, new MCvScalar(0, 100, 200), 1, Emgu.CV.CvEnum.LineType.EightConnected); // copy processed image to imagebox.image imageBox.Image = img; } else { System.Windows.MessageBox.Show("Error: {0} {1}" + grabResult.ErrorCode, grabResult.ErrorDescription); } } Thread.Sleep(snap_wait); } camera.StreamGrabber.Stop(); camera.Close(); } catch (Exception exception) { if (camera.IsOpen) { camera.Close(); } System.Windows.MessageBox.Show("Exception: {0}" + exception.Message); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.pictureBox = new Emgu.CV.UI.ImageBox(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.checkBox1 = new System.Windows.Forms.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.SuspendLayout(); // // pictureBox // this.pictureBox.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.pictureBox.Cursor = System.Windows.Forms.Cursors.Cross; this.pictureBox.Dock = System.Windows.Forms.DockStyle.Fill; this.pictureBox.Location = new System.Drawing.Point(0, 0); this.pictureBox.Margin = new System.Windows.Forms.Padding(2); this.pictureBox.Name = "pictureBox"; this.pictureBox.Size = new System.Drawing.Size(463, 365); this.pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.pictureBox.TabIndex = 2; this.pictureBox.TabStop = false; // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Location = new System.Drawing.Point(0, 0); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.pictureBox); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.checkBox1); this.splitContainer1.Size = new System.Drawing.Size(548, 365); this.splitContainer1.SplitterDistance = 463; this.splitContainer1.TabIndex = 3; // // checkBox1 // this.checkBox1.AutoSize = true; this.checkBox1.Location = new System.Drawing.Point(3, 12); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(71, 17); this.checkBox1.TabIndex = 0; this.checkBox1.Text = "Show Pic"; this.checkBox1.UseVisualStyleBackColor = true; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // Display // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(548, 365); this.Controls.Add(this.splitContainer1); this.Margin = new System.Windows.Forms.Padding(2); this.Name = "Display"; this.Text = "Form1"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Display_FormClosed); ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.Panel2.PerformLayout(); this.splitContainer1.ResumeLayout(false); this.ResumeLayout(false); }
public MainWindow() { InitializeComponent(); imageBox = new Emgu.CV.UI.ImageBox(); camera = new BaslerCamera(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.imageBox1 = new Emgu.CV.UI.ImageBox(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imageBox1)).BeginInit(); this.SuspendLayout(); // // button1 // this.button1.Location = new System.Drawing.Point(500, 72); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(113, 34); this.button1.TabIndex = 1; this.button1.Text = "Commencer"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Location = new System.Drawing.Point(500, 112); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(113, 34); this.button2.TabIndex = 3; this.button2.Text = "Detecter"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // pictureBox2 // this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pictureBox2.Location = new System.Drawing.Point(457, 152); this.pictureBox2.Name = "pictureBox2"; this.pictureBox2.Size = new System.Drawing.Size(202, 212); this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.pictureBox2.TabIndex = 4; this.pictureBox2.TabStop = false; // // imageBox1 // this.imageBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.imageBox1.Location = new System.Drawing.Point(7, 63); this.imageBox1.Name = "imageBox1"; this.imageBox1.Size = new System.Drawing.Size(429, 306); this.imageBox1.TabIndex = 2; this.imageBox1.TabStop = false; // // FacialRecog // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(678, 387); this.Controls.Add(this.imageBox1); this.Controls.Add(this.pictureBox2); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.Name = "FacialRecog"; this.Text = "FacialRecog"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FacialRecog_FormClosing); this.Load += new System.EventHandler(this.FacialRecog_Load); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imageBox1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Photos)); this.roundRectShapeForm = new Telerik.WinControls.RoundRectShape(this.components); this.radLabel4 = new Telerik.WinControls.UI.RadLabel(); this.btnCancel = new Telerik.WinControls.UI.RadButton(); this.radGroupBox4 = new Telerik.WinControls.UI.RadGroupBox(); this.ImgFour = new Emgu.CV.UI.ImageBox(); this.ImgTwo = new Emgu.CV.UI.ImageBox(); this.ImgThree = new Emgu.CV.UI.ImageBox(); this.ImgOne = new Emgu.CV.UI.ImageBox(); this.imgCameraView = new Emgu.CV.UI.ImageBox(); this.label1 = new System.Windows.Forms.Label(); this.btnCapture4 = new Telerik.WinControls.UI.RadButton(); this.btnCapture3 = new Telerik.WinControls.UI.RadButton(); this.btnCapture2 = new Telerik.WinControls.UI.RadButton(); this.btnCapture1 = new Telerik.WinControls.UI.RadButton(); this.btnSaveImages = new Telerik.WinControls.UI.RadButton(); this.office2010Theme1 = new Telerik.WinControls.Themes.Office2010Theme(); this.label2 = new System.Windows.Forms.Label(); this.lblCanddate = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox4)).BeginInit(); this.radGroupBox4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ImgFour)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ImgTwo)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ImgThree)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ImgOne)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imgCameraView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCapture4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCapture3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCapture2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCapture1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnSaveImages)).BeginInit(); this.SuspendLayout(); // // radLabel4 // this.radLabel4.Font = new System.Drawing.Font("Trebuchet MS", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radLabel4.ForeColor = System.Drawing.SystemColors.HotTrack; this.radLabel4.Location = new System.Drawing.Point(46, 16); this.radLabel4.Name = "radLabel4"; // // // this.radLabel4.RootElement.ForeColor = System.Drawing.SystemColors.HotTrack; this.radLabel4.Size = new System.Drawing.Size(303, 23); this.radLabel4.TabIndex = 16; this.radLabel4.Text = "Candidate Photograph Capturing Center"; this.radLabel4.ThemeName = "Office2007Black"; // // btnCancel // this.btnCancel.Location = new System.Drawing.Point(661, 418); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(85, 24); this.btnCancel.TabIndex = 17; this.btnCancel.Text = "&Cancel"; this.btnCancel.ThemeName = "Office2010"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // radGroupBox4 // this.radGroupBox4.Controls.Add(this.ImgFour); this.radGroupBox4.Controls.Add(this.ImgTwo); this.radGroupBox4.Controls.Add(this.ImgThree); this.radGroupBox4.Controls.Add(this.ImgOne); this.radGroupBox4.Controls.Add(this.imgCameraView); this.radGroupBox4.Controls.Add(this.label1); this.radGroupBox4.Controls.Add(this.btnCapture4); this.radGroupBox4.Controls.Add(this.btnCapture3); this.radGroupBox4.Controls.Add(this.btnCapture2); this.radGroupBox4.Controls.Add(this.btnCapture1); this.radGroupBox4.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radGroupBox4.FooterImageIndex = -1; this.radGroupBox4.FooterImageKey = ""; this.radGroupBox4.HeaderImageIndex = -1; this.radGroupBox4.HeaderImageKey = ""; this.radGroupBox4.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox4.HeaderText = "Camera View"; this.radGroupBox4.Location = new System.Drawing.Point(46, 45); this.radGroupBox4.Name = "radGroupBox4"; this.radGroupBox4.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10); // // // this.radGroupBox4.RootElement.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10); this.radGroupBox4.Size = new System.Drawing.Size(700, 367); this.radGroupBox4.TabIndex = 15; this.radGroupBox4.Text = "Camera View"; this.radGroupBox4.ThemeName = "BreezeExtended"; this.radGroupBox4.Click += new System.EventHandler(this.radGroupBox4_Click); // // ImgFour // this.ImgFour.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("ImgFour.BackgroundImage"))); this.ImgFour.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.ImgFour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.ImgFour.InitialImage = ((System.Drawing.Image)(resources.GetObject("ImgFour.InitialImage"))); this.ImgFour.Location = new System.Drawing.Point(533, 169); this.ImgFour.Name = "ImgFour"; this.ImgFour.Size = new System.Drawing.Size(140, 140); this.ImgFour.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.ImgFour.TabIndex = 17; this.ImgFour.TabStop = false; // // ImgTwo // this.ImgTwo.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("ImgTwo.BackgroundImage"))); this.ImgTwo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.ImgTwo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.ImgTwo.InitialImage = ((System.Drawing.Image)(resources.GetObject("ImgTwo.InitialImage"))); this.ImgTwo.Location = new System.Drawing.Point(533, 23); this.ImgTwo.Name = "ImgTwo"; this.ImgTwo.Size = new System.Drawing.Size(140, 140); this.ImgTwo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.ImgTwo.TabIndex = 17; this.ImgTwo.TabStop = false; // // ImgThree // this.ImgThree.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("ImgThree.BackgroundImage"))); this.ImgThree.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.ImgThree.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.ImgThree.InitialImage = ((System.Drawing.Image)(resources.GetObject("ImgThree.InitialImage"))); this.ImgThree.Location = new System.Drawing.Point(387, 169); this.ImgThree.Name = "ImgThree"; this.ImgThree.Size = new System.Drawing.Size(140, 140); this.ImgThree.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.ImgThree.TabIndex = 17; this.ImgThree.TabStop = false; // // ImgOne // this.ImgOne.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("ImgOne.BackgroundImage"))); this.ImgOne.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.ImgOne.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.ImgOne.InitialImage = ((System.Drawing.Image)(resources.GetObject("ImgOne.InitialImage"))); this.ImgOne.Location = new System.Drawing.Point(387, 23); this.ImgOne.Name = "ImgOne"; this.ImgOne.Size = new System.Drawing.Size(140, 140); this.ImgOne.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.ImgOne.TabIndex = 17; this.ImgOne.TabStop = false; // // imgCameraView // this.imgCameraView.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.imgCameraView.Location = new System.Drawing.Point(27, 23); this.imgCameraView.Name = "imgCameraView"; this.imgCameraView.Size = new System.Drawing.Size(335, 234); this.imgCameraView.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.imgCameraView.TabIndex = 16; this.imgCameraView.TabStop = false; // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.label1.Location = new System.Drawing.Point(28, 285); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(338, 72); this.label1.TabIndex = 15; this.label1.Text = "Capture photographs for candidates is handling here. User \r\nshould capture four i" + "mages from the camera view. \r\nNote : Incomplete numbers of photos are not suffic" + "ient \r\nfor candidate registration.\r\n"; // // btnCapture4 // this.btnCapture4.Location = new System.Drawing.Point(582, 330); this.btnCapture4.Name = "btnCapture4"; this.btnCapture4.Size = new System.Drawing.Size(59, 24); this.btnCapture4.TabIndex = 14; this.btnCapture4.Text = "4"; this.btnCapture4.ThemeName = "Office2010"; this.btnCapture4.Click += new System.EventHandler(this.btnCapture4_Click); // // btnCapture3 // this.btnCapture3.Location = new System.Drawing.Point(517, 330); this.btnCapture3.Name = "btnCapture3"; this.btnCapture3.Size = new System.Drawing.Size(59, 24); this.btnCapture3.TabIndex = 14; this.btnCapture3.Text = "3"; this.btnCapture3.ThemeName = "Office2010"; this.btnCapture3.Click += new System.EventHandler(this.btnCapture3_Click); // // btnCapture2 // this.btnCapture2.Location = new System.Drawing.Point(452, 330); this.btnCapture2.Name = "btnCapture2"; this.btnCapture2.Size = new System.Drawing.Size(59, 24); this.btnCapture2.TabIndex = 14; this.btnCapture2.Text = "2"; this.btnCapture2.ThemeName = "Office2010"; this.btnCapture2.Click += new System.EventHandler(this.btnCapture2_Click); // // btnCapture1 // this.btnCapture1.Location = new System.Drawing.Point(387, 330); this.btnCapture1.Name = "btnCapture1"; this.btnCapture1.Size = new System.Drawing.Size(59, 24); this.btnCapture1.TabIndex = 14; this.btnCapture1.Text = "1"; this.btnCapture1.ThemeName = "Office2010"; this.btnCapture1.Click += new System.EventHandler(this.btnCapture1_Click); // // btnSaveImages // this.btnSaveImages.Location = new System.Drawing.Point(570, 418); this.btnSaveImages.Name = "btnSaveImages"; this.btnSaveImages.Size = new System.Drawing.Size(85, 24); this.btnSaveImages.TabIndex = 18; this.btnSaveImages.Text = "&Save Images"; this.btnSaveImages.ThemeName = "Office2010"; this.btnSaveImages.Click += new System.EventHandler(this.btnSaveImages_Click); // // label2 // this.label2.AutoSize = true; this.label2.ForeColor = System.Drawing.Color.Orange; this.label2.Location = new System.Drawing.Point(430, 26); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(75, 13); this.label2.TabIndex = 19; this.label2.Text = "Candidate ID :"; // // lblCanddate // this.lblCanddate.AutoSize = true; this.lblCanddate.ForeColor = System.Drawing.Color.Blue; this.lblCanddate.Location = new System.Drawing.Point(512, 26); this.lblCanddate.Name = "lblCanddate"; this.lblCanddate.Size = new System.Drawing.Size(35, 13); this.lblCanddate.TabIndex = 20; this.lblCanddate.Text = "label3"; // // Photos // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.BorderColor = System.Drawing.Color.Silver; this.BorderWidth = 5; this.ClientSize = new System.Drawing.Size(797, 454); this.Controls.Add(this.lblCanddate); this.Controls.Add(this.label2); this.Controls.Add(this.radLabel4); this.Controls.Add(this.btnCancel); this.Controls.Add(this.radGroupBox4); this.Controls.Add(this.btnSaveImages); this.Name = "Photos"; this.Shape = this.roundRectShapeForm; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Photos"; this.Load += new System.EventHandler(this.Photos_Load); this.Leave += new System.EventHandler(this.Photos_Leave); ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox4)).EndInit(); this.radGroupBox4.ResumeLayout(false); this.radGroupBox4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.ImgFour)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ImgTwo)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ImgThree)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ImgOne)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imgCameraView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCapture4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCapture3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCapture2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnCapture1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnSaveImages)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
public frmSeaScanUAVMain() { InitializeComponent(); activeImageBox = imgCapture; tbMain.SelectedIndex = 0; mpMissionMap.MapProvider = GMapProviders.GoogleSatelliteMap; mpMissionMap.CacheLocation = Application.StartupPath; mpMissionMap.Zoom = Properties.Settings.Default.initZoom; udZoom.TextBoxText = Properties.Settings.Default.initZoom.ToString(); mpMissionMap.ZoomAndCenterMarkers(null); mpMissionMap.RoutesEnabled = true; routes = new GMapOverlay(mpMissionMap, "routes"); sampledPoints = new GMapOverlay(mpMissionMap, "samples"); locationLimits = new GMapOverlay(mpMissionMap, "location boundaries"); route = new GMapRoute(trackPoints,"route"); route.Stroke = new Pen(Color.FromArgb(144, Color.Blue)); route.Stroke.Width = 4; route.Tag = "track"; routes.Routes.Add(route); mpMissionMap.Overlays.Add(routes); mpMissionMap.Overlays.Add(sampledPoints); mpMissionMap.Overlays.Add(locationLimits); WebServiceConsumer webService = WebServiceConsumer.GetInstance(); List<Location> locations = webService.GetLocations("all", false, false); foreach(Location loc in locations) { cbLocations.Items.Add(loc); } if (cbLocations.Items.Count > 0) { cbLocations.SelectedIndex = 0; } List<User> users = webService.GetUsers(); foreach (User user in users) { cbUsers.Items.Add(user); } if (cbUsers.Items.Count > 0) { cbUsers.SelectedIndex = 0; } List<Camera> cameras = webService.GetCameras(); foreach (Camera cam in cameras) { cbCameras.Items.Add(cam); } if (cbCameras.Items.Count > 0) { cbCameras.SelectedIndex = 0; } List<Airframe> planes = webService.GetAirframes(); foreach (Airframe plane in planes) { cbAircraft.Items.Add(plane); } if (cbAircraft.Items.Count > 0) { cbAircraft.SelectedIndex = 0; } targetTypes = webService.GetTargetTypes(); foreach (TargetType tt in targetTypes) { if (tt.ID == 1) //nav marker target { navTarget = tt; break; } } histogramView = new HistogramView(redChannel, blueChannel, greenChannel); }
public RecognitionHandler(Emgu.CV.UI.ImageBox imageBox, VideoCapture capture) // webcam and pic { this.capture = capture; picBox = imageBox; }
private void tbMain_SelectedIndexChanged(object sender, EventArgs e) { if (tbMain.SelectedIndex == 0) { activeImageBox = imgCapture; } else if (tbMain.SelectedIndex == 1) { activeImageBox = imgTraining; } else { activeImageBox = imgHistogramImage; } }
//private Image<Hsv, byte> HsvIm; //private DenseHistogram histogram = new DenseHistogram(255, new RangeF(0, 255)); //Histogram //private float[] GrayHist = new float[255]; //Histogram #endregion #region Constructor public DetectorFace(Form1 form) { this.form = form; imageBox1 = new Emgu.CV.UI.ImageBox { Location = new Point(12, 12), Size = new Size(form.Width / 2 - 12, form.Height - 80), //просчитать размеры для оптимального детектирования картинки в зависимости от скалирования каскада Name = "imageBox1", TabIndex = 2, TabStop = false, FunctionalMode = Emgu.CV.UI.ImageBox.FunctionalModeOption.Minimum, BorderStyle = System.Windows.Forms.BorderStyle.None, BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch }; imageBox2 = new Emgu.CV.UI.ImageBox { Location = new Point(form.Width / 2 - 12, 12), Size = new Size(form.Width / 2 - 12, form.Height - 80), //просчитать размеры для оптимального детектирования картинки в зависимости от скалирования каскада Name = "imageBox2", TabIndex = 2, TabStop = false, FunctionalMode = Emgu.CV.UI.ImageBox.FunctionalModeOption.Minimum, BorderStyle = System.Windows.Forms.BorderStyle.None, BackgroundImageLayout = System.Windows.Forms.ImageLayout.Tile }; /*//trackBar * trackBar = new TrackBar() * { * Location = new Point(), * Size = new Size(), * Name = "trackBar", * TabIndex = 2, * TabStop = false, * TickFrequency = 1, * Maximum = 255, * Minimum = 0, * Value = 50 * };*/ /*///HistogramBox * histogramBox = new Emgu.CV.UI.HistogramBox * { * Location = new Point(form.Width / 2 - 12, 12), * Size = new Size(form.Width / 2 - 12, form.Height - 80), //просчитать размеры для оптимального детектирования картинки в зависимости от скалирования каскада * Name = "histogramBox", * TabIndex = 2, * TabStop = false, * FunctionalMode = Emgu.CV.UI.ImageBox.FunctionalModeOption.Minimum, * BorderStyle = System.Windows.Forms.BorderStyle.None, * BackgroundImageLayout = System.Windows.Forms.ImageLayout.Tile, * };*/ this.form.Controls.Add(imageBox1); this.form.Controls.Add(imageBox2); // this.form.Controls.Add(histogramBox); capture = new VideoCapture(Config.Config.DefaultCameraIndex, VideoCapture.API.Any); capture.SetCaptureProperty(CapProp.FrameWidth, imageBox1.Width); capture.SetCaptureProperty(CapProp.FrameHeight, imageBox1.Height); pen = new Pen(Color.Red, 3); // histogramBox.GenerateHistogram("hist1", Color.Red, HsvIm.Mat, 256, HsvIm.Mat. ); // histogramBox.GenerateHistograms(HsvIm, 250); // HsvIm = capture.QueryFrame().ToImage<Hsv, byte>(); // TrackBar.Scroll += trackBar_Scroll; ///trackBar im = capture.QueryFrame().ToImage <Hsv, byte>(); capture.ImageGrabbed += Capture_ImageGrabbed; pen = new Pen(Color.Green, 4); }
public NewWindow(Emgu.CV.UI.ImageBox ObrazDoPokazania) { InitializeComponent(); imageBox1.Image = ObrazDoPokazania.Image; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.fileOpenButton = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.button2 = new System.Windows.Forms.Button(); this.sheetBtn = new System.Windows.Forms.Button(); this.detectMcqBtn = new System.Windows.Forms.Button(); this.sheetDetectImage = new Emgu.CV.UI.ImageBox(); this.bubbleImage = new Emgu.CV.UI.ImageBox(); this.orignalImage = new Emgu.CV.UI.ImageBox(); this.bubbleDetectBtn = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.sheetDetectImage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bubbleImage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.orignalImage)).BeginInit(); this.SuspendLayout(); // // fileOpenButton // this.fileOpenButton.Location = new System.Drawing.Point(36, 38); this.fileOpenButton.Name = "fileOpenButton"; this.fileOpenButton.Size = new System.Drawing.Size(75, 23); this.fileOpenButton.TabIndex = 0; this.fileOpenButton.Text = "Open File"; this.fileOpenButton.UseVisualStyleBackColor = true; this.fileOpenButton.Click += new System.EventHandler(this.Button1_Click); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.SystemColors.ControlLight; this.label1.Location = new System.Drawing.Point(32, 93); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(160, 19); this.label1.TabIndex = 1; this.label1.Text = "Student Information"; // // button2 // this.button2.Location = new System.Drawing.Point(801, 434); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(75, 23); this.button2.TabIndex = 4; this.button2.Text = "Exit"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.Button2_Click); // // sheetBtn // this.sheetBtn.Location = new System.Drawing.Point(148, 38); this.sheetBtn.Name = "sheetBtn"; this.sheetBtn.Size = new System.Drawing.Size(101, 23); this.sheetBtn.TabIndex = 5; this.sheetBtn.Text = "Detect Mcq Sheet"; this.sheetBtn.UseVisualStyleBackColor = true; this.sheetBtn.Click += new System.EventHandler(this.Button3_Click); // // detectMcqBtn // this.detectMcqBtn.Location = new System.Drawing.Point(293, 38); this.detectMcqBtn.Name = "detectMcqBtn"; this.detectMcqBtn.Size = new System.Drawing.Size(122, 23); this.detectMcqBtn.TabIndex = 6; this.detectMcqBtn.Text = "Dectect MCQS"; this.detectMcqBtn.UseVisualStyleBackColor = true; this.detectMcqBtn.Click += new System.EventHandler(this.Button4_Click); // // sheetDetectImage // this.sheetDetectImage.Location = new System.Drawing.Point(330, 139); this.sheetDetectImage.Name = "sheetDetectImage"; this.sheetDetectImage.Size = new System.Drawing.Size(217, 262); this.sheetDetectImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.sheetDetectImage.TabIndex = 2; this.sheetDetectImage.TabStop = false; // // bubbleImage // this.bubbleImage.Location = new System.Drawing.Point(612, 139); this.bubbleImage.Name = "bubbleImage"; this.bubbleImage.Size = new System.Drawing.Size(252, 262); this.bubbleImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.bubbleImage.TabIndex = 2; this.bubbleImage.TabStop = false; // // orignalImage // this.orignalImage.Location = new System.Drawing.Point(36, 139); this.orignalImage.Name = "orignalImage"; this.orignalImage.Size = new System.Drawing.Size(213, 262); this.orignalImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.orignalImage.TabIndex = 2; this.orignalImage.TabStop = false; // // bubbleDetectBtn // this.bubbleDetectBtn.Location = new System.Drawing.Point(470, 38); this.bubbleDetectBtn.Name = "bubbleDetectBtn"; this.bubbleDetectBtn.Size = new System.Drawing.Size(91, 23); this.bubbleDetectBtn.TabIndex = 7; this.bubbleDetectBtn.Text = "Find Bubbles"; this.bubbleDetectBtn.UseVisualStyleBackColor = true; this.bubbleDetectBtn.Click += new System.EventHandler(this.BubbleDetectBtn_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(28)))), ((int)(((byte)(38))))); this.ClientSize = new System.Drawing.Size(888, 480); this.Controls.Add(this.bubbleDetectBtn); this.Controls.Add(this.orignalImage); this.Controls.Add(this.bubbleImage); this.Controls.Add(this.sheetDetectImage); this.Controls.Add(this.detectMcqBtn); this.Controls.Add(this.sheetBtn); this.Controls.Add(this.button2); this.Controls.Add(this.label1); this.Controls.Add(this.fileOpenButton); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.ImeMode = System.Windows.Forms.ImeMode.Off; this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.sheetDetectImage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bubbleImage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.orignalImage)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
public MainView(Emgu.CV.UI.ImageBox imageBox) { #region load data var item1 = new WorkerInfo() { Name = "张一", IdCard = "511322199999999991", TeamName = "木工组", WorkerType = "木工", CardNum = "1", Path = "photo\\1.jpg" }; var item2 = new WorkerInfo() { Name = "张二", IdCard = "511322199999999992", TeamName = "钢筋组", WorkerType = "木工", CardNum = "2", Path = "photo\\2.jpg" }; var item3 = new WorkerInfo() { Name = "张三", IdCard = "511322199999999993", TeamName = "爆破组", WorkerType = "木工", CardNum = "3", Path = "photo\\3.jpg" }; var item4 = new WorkerInfo() { Name = "张四", IdCard = "511322199999999994", TeamName = "突击组", WorkerType = "木工", CardNum = "4", Path = "photo\\4.jpg" }; var item5 = new WorkerInfo() { Name = "张五", IdCard = "511322199999999995", TeamName = "泥工组", WorkerType = "木工", CardNum = "5", Path = "photo\\5.jpg" }; workers.Add(item1.CardNum, item1); workers.Add(item2.CardNum, item2); workers.Add(item3.CardNum, item3); workers.Add(item4.CardNum, item4); workers.Add(item5.CardNum, item5); #endregion #region 初始化摄像头 camera = new Camera(imageBox); camera.InitDevice(); #endregion #region 定时清除冗余信息 DispatcherTimer timer = new DispatcherTimer { Interval = new TimeSpan(0, 0, 10, 0) }; timer.Tick += async(a, b) => { if (faceServiceClient != null) { var list = await faceServiceClient.GetAllFaceList(); List <Task> tasks = new List <Task>(); foreach (var item in list) { if (item.FaceListId != faceListName) { var t = Task.Factory.StartNew(async() => { faceServiceClient.DeleteFaceListByFaceId(item.FaceListId); }); tasks.Add(t); } } Task.WaitAll(tasks.ToArray()); } }; timer.Start(); #endregion }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.button1 = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.imageBox1 = new Emgu.CV.UI.ImageBox(); this.imageBox2 = new Emgu.CV.UI.ImageBox(); this.panel1.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.imageBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imageBox2)).BeginInit(); this.SuspendLayout(); // // button1 // this.button1.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.button1.Location = new System.Drawing.Point(358, 394); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 3; this.button1.Text = "OK"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel1.Controls.Add(this.splitContainer1); this.panel1.Location = new System.Drawing.Point(7, 6); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(799, 382); this.panel1.TabIndex = 4; // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.IsSplitterFixed = true; this.splitContainer1.Location = new System.Drawing.Point(0, 0); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.imageBox1); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.imageBox2); this.splitContainer1.Size = new System.Drawing.Size(799, 382); this.splitContainer1.SplitterDistance = 400; this.splitContainer1.TabIndex = 0; // // imageBox1 // this.imageBox1.Cursor = System.Windows.Forms.Cursors.Cross; this.imageBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.imageBox1.Location = new System.Drawing.Point(0, 0); this.imageBox1.Name = "imageBox1"; this.imageBox1.Size = new System.Drawing.Size(400, 382); this.imageBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.imageBox1.TabIndex = 3; this.imageBox1.TabStop = false; // // imageBox2 // this.imageBox2.Cursor = System.Windows.Forms.Cursors.Cross; this.imageBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.imageBox2.Location = new System.Drawing.Point(0, 0); this.imageBox2.Name = "imageBox2"; this.imageBox2.Size = new System.Drawing.Size(395, 382); this.imageBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.imageBox2.TabIndex = 3; this.imageBox2.TabStop = false; // // ShowIMG // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(809, 432); this.Controls.Add(this.panel1); this.Controls.Add(this.button1); this.Name = "ShowIMG"; this.Text = "ShowIMG"; this.panel1.ResumeLayout(false); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.imageBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imageBox2)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.radGroupBox1 = new Telerik.WinControls.UI.RadGroupBox(); this.radGroupBox7 = new Telerik.WinControls.UI.RadGroupBox(); this.btnPopulate = new Telerik.WinControls.UI.RadButton(); this.label1 = new System.Windows.Forms.Label(); this.cmbExam = new System.Windows.Forms.ComboBox(); this.lblSeconds = new System.Windows.Forms.Button(); this.button5 = new System.Windows.Forms.Button(); this.lblMinits = new System.Windows.Forms.Button(); this.lblHours = new System.Windows.Forms.Button(); this.lblTt = new System.Windows.Forms.Label(); this.lblcola2 = new System.Windows.Forms.Label(); this.lblCola1 = new System.Windows.Forms.Label(); this.radGroupBox2 = new Telerik.WinControls.UI.RadGroupBox(); this.chair02 = new System.Windows.Forms.Button(); this.chair01 = new System.Windows.Forms.Button(); this.chair03 = new System.Windows.Forms.Button(); this.chair04 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.radGroupBox4 = new Telerik.WinControls.UI.RadGroupBox(); this.label2 = new System.Windows.Forms.Label(); this.lblAuthanticity = new System.Windows.Forms.Label(); this.btnOff = new Telerik.WinControls.UI.RadButton(); this.btnStart = new Telerik.WinControls.UI.RadButton(); this.emguImgFace = new Emgu.CV.UI.ImageBox(); this.radGroupBox3 = new Telerik.WinControls.UI.RadGroupBox(); this.lbltitle = new Telerik.WinControls.UI.RadLabel(); this.lblInitName = new Telerik.WinControls.UI.RadLabel(); this.lblFullName = new Telerik.WinControls.UI.RadLabel(); this.lblCandidateID = new Telerik.WinControls.UI.RadLabel(); this.radLabel4 = new Telerik.WinControls.UI.RadLabel(); this.radLabel11 = new Telerik.WinControls.UI.RadLabel(); this.radLabel17 = new Telerik.WinControls.UI.RadLabel(); this.radLabel12 = new Telerik.WinControls.UI.RadLabel(); this.breezeExtendedTheme1 = new Telerik.WinControls.Themes.BreezeExtendedTheme(); this.timShutter = new System.Windows.Forms.Timer(this.components); this.office2010Theme1 = new Telerik.WinControls.Themes.Office2010Theme(); this.timHome = new System.Windows.Forms.Timer(this.components); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit(); this.radGroupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox7)).BeginInit(); this.radGroupBox7.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnPopulate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).BeginInit(); this.radGroupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox4)).BeginInit(); this.radGroupBox4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnOff)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnStart)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emguImgFace)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox3)).BeginInit(); this.radGroupBox3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lbltitle)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lblInitName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lblFullName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lblCandidateID)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel17)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel12)).BeginInit(); this.SuspendLayout(); // // radGroupBox1 // this.radGroupBox1.BackColor = System.Drawing.Color.Transparent; this.radGroupBox1.Controls.Add(this.radGroupBox7); this.radGroupBox1.Controls.Add(this.radGroupBox2); this.radGroupBox1.Controls.Add(this.radGroupBox4); this.radGroupBox1.Controls.Add(this.radGroupBox3); this.radGroupBox1.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radGroupBox1.FooterImageIndex = -1; this.radGroupBox1.FooterImageKey = ""; this.radGroupBox1.HeaderImageIndex = -1; this.radGroupBox1.HeaderImageKey = ""; this.radGroupBox1.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox1.HeaderText = "Face Detection & Face Recognition"; this.radGroupBox1.Location = new System.Drawing.Point(3, 3); this.radGroupBox1.Name = "radGroupBox1"; this.radGroupBox1.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10); // // // this.radGroupBox1.RootElement.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10); this.radGroupBox1.Size = new System.Drawing.Size(992, 550); this.radGroupBox1.TabIndex = 8; this.radGroupBox1.Text = "Face Detection & Face Recognition"; this.radGroupBox1.ThemeName = "BreezeExtended"; this.radGroupBox1.Click += new System.EventHandler(this.radGroupBox1_Click); // // radGroupBox7 // this.radGroupBox7.Controls.Add(this.btnPopulate); this.radGroupBox7.Controls.Add(this.label1); this.radGroupBox7.Controls.Add(this.cmbExam); this.radGroupBox7.Controls.Add(this.lblSeconds); this.radGroupBox7.Controls.Add(this.button5); this.radGroupBox7.Controls.Add(this.lblMinits); this.radGroupBox7.Controls.Add(this.lblHours); this.radGroupBox7.Controls.Add(this.lblTt); this.radGroupBox7.Controls.Add(this.lblcola2); this.radGroupBox7.Controls.Add(this.lblCola1); this.radGroupBox7.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radGroupBox7.FooterImageIndex = -1; this.radGroupBox7.FooterImageKey = ""; this.radGroupBox7.HeaderImageIndex = -1; this.radGroupBox7.HeaderImageKey = ""; this.radGroupBox7.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox7.HeaderText = "Alerts Window"; this.radGroupBox7.Location = new System.Drawing.Point(13, 23); this.radGroupBox7.Name = "radGroupBox7"; this.radGroupBox7.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10); // // // this.radGroupBox7.RootElement.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10); this.radGroupBox7.Size = new System.Drawing.Size(468, 140); this.radGroupBox7.TabIndex = 9; this.radGroupBox7.Text = "Alerts Window"; this.radGroupBox7.ThemeName = "BreezeExtended"; // // btnPopulate // this.btnPopulate.Font = new System.Drawing.Font("Trebuchet MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPopulate.Location = new System.Drawing.Point(329, 56); this.btnPopulate.Name = "btnPopulate"; this.btnPopulate.Size = new System.Drawing.Size(126, 25); this.btnPopulate.TabIndex = 19; this.btnPopulate.Text = "&Populate images"; this.btnPopulate.ThemeName = "Office2010"; this.btnPopulate.Click += new System.EventHandler(this.btnPopulate_Click_1); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(10, 31); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(161, 18); this.label1.TabIndex = 22; this.label1.Text = "Select the Examination ID : "; // // cmbExam // this.cmbExam.FormattingEnabled = true; this.cmbExam.Items.AddRange(new object[] { "1", "2", "3", "4", "5", "6"}); this.cmbExam.Location = new System.Drawing.Point(177, 28); this.cmbExam.Name = "cmbExam"; this.cmbExam.Size = new System.Drawing.Size(278, 21); this.cmbExam.TabIndex = 21; this.cmbExam.Text = "1"; this.cmbExam.SelectedIndexChanged += new System.EventHandler(this.cmbExam_SelectedIndexChanged); // // lblSeconds // this.lblSeconds.BackColor = System.Drawing.Color.YellowGreen; this.lblSeconds.FlatAppearance.BorderSize = 0; this.lblSeconds.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.lblSeconds.Font = new System.Drawing.Font("Trebuchet MS", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblSeconds.ForeColor = System.Drawing.Color.White; this.lblSeconds.Location = new System.Drawing.Point(177, 71); this.lblSeconds.Name = "lblSeconds"; this.lblSeconds.Size = new System.Drawing.Size(53, 53); this.lblSeconds.TabIndex = 18; this.lblSeconds.Text = "34"; this.lblSeconds.UseVisualStyleBackColor = false; // // button5 // this.button5.FlatAppearance.BorderSize = 0; this.button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button5.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button5.Location = new System.Drawing.Point(28, 172); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(141, 21); this.button5.TabIndex = 1; this.button5.Text = "Reset"; this.button5.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.button5.UseVisualStyleBackColor = true; // // lblMinits // this.lblMinits.BackColor = System.Drawing.Color.Orange; this.lblMinits.FlatAppearance.BorderSize = 0; this.lblMinits.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.lblMinits.Font = new System.Drawing.Font("Trebuchet MS", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblMinits.ForeColor = System.Drawing.Color.White; this.lblMinits.Location = new System.Drawing.Point(95, 71); this.lblMinits.Name = "lblMinits"; this.lblMinits.Size = new System.Drawing.Size(53, 53); this.lblMinits.TabIndex = 19; this.lblMinits.Text = "54"; this.lblMinits.UseVisualStyleBackColor = false; // // lblHours // this.lblHours.BackColor = System.Drawing.Color.YellowGreen; this.lblHours.FlatAppearance.BorderSize = 0; this.lblHours.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.lblHours.Font = new System.Drawing.Font("Trebuchet MS", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblHours.ForeColor = System.Drawing.Color.White; this.lblHours.Location = new System.Drawing.Point(13, 71); this.lblHours.Name = "lblHours"; this.lblHours.Size = new System.Drawing.Size(53, 53); this.lblHours.TabIndex = 20; this.lblHours.Text = "15"; this.lblHours.UseVisualStyleBackColor = false; // // lblTt // this.lblTt.AutoSize = true; this.lblTt.BackColor = System.Drawing.Color.Transparent; this.lblTt.Font = new System.Drawing.Font("Trebuchet MS", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTt.ForeColor = System.Drawing.Color.Orange; this.lblTt.Location = new System.Drawing.Point(236, 83); this.lblTt.Name = "lblTt"; this.lblTt.Size = new System.Drawing.Size(42, 27); this.lblTt.TabIndex = 16; this.lblTt.Text = "pm"; this.lblTt.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblcola2 // this.lblcola2.AutoSize = true; this.lblcola2.BackColor = System.Drawing.Color.Transparent; this.lblcola2.Font = new System.Drawing.Font("Trebuchet MS", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblcola2.ForeColor = System.Drawing.Color.Orange; this.lblcola2.Location = new System.Drawing.Point(154, 83); this.lblcola2.Name = "lblcola2"; this.lblcola2.Size = new System.Drawing.Size(20, 27); this.lblcola2.TabIndex = 17; this.lblcola2.Text = ":"; this.lblcola2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblCola1 // this.lblCola1.AutoSize = true; this.lblCola1.BackColor = System.Drawing.Color.Transparent; this.lblCola1.Font = new System.Drawing.Font("Trebuchet MS", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblCola1.ForeColor = System.Drawing.Color.Orange; this.lblCola1.Location = new System.Drawing.Point(72, 83); this.lblCola1.Name = "lblCola1"; this.lblCola1.Size = new System.Drawing.Size(20, 27); this.lblCola1.TabIndex = 15; this.lblCola1.Text = ":"; this.lblCola1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // radGroupBox2 // this.radGroupBox2.Controls.Add(this.chair02); this.radGroupBox2.Controls.Add(this.chair01); this.radGroupBox2.Controls.Add(this.chair03); this.radGroupBox2.Controls.Add(this.chair04); this.radGroupBox2.Controls.Add(this.button3); this.radGroupBox2.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radGroupBox2.FooterImageIndex = -1; this.radGroupBox2.FooterImageKey = ""; this.radGroupBox2.HeaderImageIndex = -1; this.radGroupBox2.HeaderImageKey = ""; this.radGroupBox2.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox2.HeaderText = "Seat Allocation"; this.radGroupBox2.Location = new System.Drawing.Point(492, 23); this.radGroupBox2.Name = "radGroupBox2"; this.radGroupBox2.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10); // // // this.radGroupBox2.RootElement.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10); this.radGroupBox2.Size = new System.Drawing.Size(487, 330); this.radGroupBox2.TabIndex = 8; this.radGroupBox2.Text = "Seat Allocation"; this.radGroupBox2.ThemeName = "BreezeExtended"; // // chair02 // this.chair02.BackColor = System.Drawing.Color.White; this.chair02.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.chair02.Font = new System.Drawing.Font("Trebuchet MS", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.chair02.Location = new System.Drawing.Point(284, 174); this.chair02.Name = "chair02"; this.chair02.Size = new System.Drawing.Size(130, 130); this.chair02.TabIndex = 53; this.chair02.Text = "02"; this.chair02.UseVisualStyleBackColor = false; // // chair01 // this.chair01.BackColor = System.Drawing.Color.White; this.chair01.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.chair01.Font = new System.Drawing.Font("Trebuchet MS", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.chair01.Location = new System.Drawing.Point(88, 174); this.chair01.Name = "chair01"; this.chair01.Size = new System.Drawing.Size(130, 130); this.chair01.TabIndex = 54; this.chair01.Text = "01"; this.chair01.UseVisualStyleBackColor = false; // // chair03 // this.chair03.BackColor = System.Drawing.Color.White; this.chair03.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.chair03.Font = new System.Drawing.Font("Trebuchet MS", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.chair03.Location = new System.Drawing.Point(88, 28); this.chair03.Name = "chair03"; this.chair03.Size = new System.Drawing.Size(130, 130); this.chair03.TabIndex = 56; this.chair03.Text = "03"; this.chair03.UseVisualStyleBackColor = false; // // chair04 // this.chair04.BackColor = System.Drawing.Color.White; this.chair04.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.chair04.Font = new System.Drawing.Font("Trebuchet MS", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.chair04.Location = new System.Drawing.Point(284, 28); this.chair04.Name = "chair04"; this.chair04.Size = new System.Drawing.Size(130, 130); this.chair04.TabIndex = 58; this.chair04.Text = "04"; this.chair04.UseVisualStyleBackColor = false; // // button3 // this.button3.FlatAppearance.BorderSize = 0; this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button3.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button3.Location = new System.Drawing.Point(38, 326); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(141, 21); this.button3.TabIndex = 1; this.button3.Text = "Reset"; this.button3.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.button3.UseVisualStyleBackColor = true; // // radGroupBox4 // this.radGroupBox4.Controls.Add(this.label2); this.radGroupBox4.Controls.Add(this.lblAuthanticity); this.radGroupBox4.Controls.Add(this.btnOff); this.radGroupBox4.Controls.Add(this.btnStart); this.radGroupBox4.Controls.Add(this.emguImgFace); this.radGroupBox4.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radGroupBox4.FooterImageIndex = -1; this.radGroupBox4.FooterImageKey = ""; this.radGroupBox4.HeaderImageIndex = -1; this.radGroupBox4.HeaderImageKey = ""; this.radGroupBox4.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox4.HeaderText = "Camera View"; this.radGroupBox4.Location = new System.Drawing.Point(13, 171); this.radGroupBox4.Name = "radGroupBox4"; this.radGroupBox4.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10); // // // this.radGroupBox4.RootElement.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10); this.radGroupBox4.Size = new System.Drawing.Size(467, 366); this.radGroupBox4.TabIndex = 8; this.radGroupBox4.Text = "Camera View"; this.radGroupBox4.ThemeName = "BreezeExtended"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(255, 332); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(54, 18); this.label2.TabIndex = 21; this.label2.Text = "Status : "; this.label2.Click += new System.EventHandler(this.label2_Click); // // lblAuthanticity // this.lblAuthanticity.AutoSize = true; this.lblAuthanticity.Font = new System.Drawing.Font("Trebuchet MS", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblAuthanticity.ForeColor = System.Drawing.Color.Red; this.lblAuthanticity.Location = new System.Drawing.Point(315, 328); this.lblAuthanticity.Name = "lblAuthanticity"; this.lblAuthanticity.Size = new System.Drawing.Size(28, 22); this.lblAuthanticity.TabIndex = 20; this.lblAuthanticity.Text = "---"; // // btnOff // this.btnOff.Enabled = false; this.btnOff.Font = new System.Drawing.Font("Trebuchet MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnOff.ForeColor = System.Drawing.Color.Red; this.btnOff.Location = new System.Drawing.Point(163, 328); this.btnOff.Name = "btnOff"; // // // this.btnOff.RootElement.ForeColor = System.Drawing.Color.Red; this.btnOff.Size = new System.Drawing.Size(57, 25); this.btnOff.TabIndex = 19; this.btnOff.Text = "Sto&p"; this.btnOff.ThemeName = "Office2010"; this.btnOff.Click += new System.EventHandler(this.btnOff_Click); // // btnStart // this.btnStart.Enabled = false; this.btnStart.Font = new System.Drawing.Font("Trebuchet MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnStart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); this.btnStart.Location = new System.Drawing.Point(15, 328); this.btnStart.Name = "btnStart"; // // // this.btnStart.RootElement.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); this.btnStart.Size = new System.Drawing.Size(142, 25); this.btnStart.TabIndex = 19; this.btnStart.Text = "&Start Detection"; this.btnStart.ThemeName = "Office2010"; this.btnStart.Click += new System.EventHandler(this.btnStart_Click); // // emguImgFace // this.emguImgFace.BackgroundImage = global::AEIS.Properties.Resources.avatar; this.emguImgFace.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.emguImgFace.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.emguImgFace.ErrorImage = global::AEIS.Properties.Resources.avatar; this.emguImgFace.InitialImage = global::AEIS.Properties.Resources.avatar; this.emguImgFace.Location = new System.Drawing.Point(14, 26); this.emguImgFace.Name = "emguImgFace"; this.emguImgFace.Size = new System.Drawing.Size(438, 288); this.emguImgFace.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.emguImgFace.TabIndex = 2; this.emguImgFace.TabStop = false; this.emguImgFace.Click += new System.EventHandler(this.emguImgFace_Click); // // radGroupBox3 // this.radGroupBox3.Controls.Add(this.lbltitle); this.radGroupBox3.Controls.Add(this.lblInitName); this.radGroupBox3.Controls.Add(this.lblFullName); this.radGroupBox3.Controls.Add(this.lblCandidateID); this.radGroupBox3.Controls.Add(this.radLabel4); this.radGroupBox3.Controls.Add(this.radLabel11); this.radGroupBox3.Controls.Add(this.radLabel17); this.radGroupBox3.Controls.Add(this.radLabel12); this.radGroupBox3.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radGroupBox3.FooterImageIndex = -1; this.radGroupBox3.FooterImageKey = ""; this.radGroupBox3.HeaderImageIndex = -1; this.radGroupBox3.HeaderImageKey = ""; this.radGroupBox3.HeaderMargin = new System.Windows.Forms.Padding(0); this.radGroupBox3.HeaderText = "Candidate Details "; this.radGroupBox3.Location = new System.Drawing.Point(492, 359); this.radGroupBox3.Name = "radGroupBox3"; this.radGroupBox3.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10); // // // this.radGroupBox3.RootElement.Padding = new System.Windows.Forms.Padding(10, 20, 10, 10); this.radGroupBox3.Size = new System.Drawing.Size(487, 178); this.radGroupBox3.TabIndex = 8; this.radGroupBox3.Text = "Candidate Details "; this.radGroupBox3.ThemeName = "BreezeExtended"; this.radGroupBox3.Click += new System.EventHandler(this.radGroupBox3_Click); // // lbltitle // this.lbltitle.Location = new System.Drawing.Point(204, 109); this.lbltitle.Name = "lbltitle"; this.lbltitle.Size = new System.Drawing.Size(29, 17); this.lbltitle.TabIndex = 14; this.lbltitle.Text = "Miss"; // // lblInitName // this.lblInitName.Location = new System.Drawing.Point(204, 83); this.lblInitName.Name = "lblInitName"; this.lblInitName.Size = new System.Drawing.Size(47, 17); this.lblInitName.TabIndex = 15; this.lblInitName.Text = "J. Stew"; // // lblFullName // this.lblFullName.Location = new System.Drawing.Point(204, 55); this.lblFullName.Name = "lblFullName"; this.lblFullName.Size = new System.Drawing.Size(76, 17); this.lblFullName.TabIndex = 16; this.lblFullName.Text = "Jhoana Stew"; // // lblCandidateID // this.lblCandidateID.Location = new System.Drawing.Point(204, 27); this.lblCandidateID.Name = "lblCandidateID"; this.lblCandidateID.Size = new System.Drawing.Size(52, 17); this.lblCandidateID.TabIndex = 17; this.lblCandidateID.Text = "3424234"; this.lblCandidateID.TextChanged += new System.EventHandler(this.lblCandidateID_TextChanged); // // radLabel4 // this.radLabel4.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radLabel4.Location = new System.Drawing.Point(13, 109); this.radLabel4.Name = "radLabel4"; this.radLabel4.Size = new System.Drawing.Size(41, 17); this.radLabel4.TabIndex = 10; this.radLabel4.Text = "Title :"; this.radLabel4.ThemeName = "Office2007Black"; // // radLabel11 // this.radLabel11.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radLabel11.Location = new System.Drawing.Point(13, 83); this.radLabel11.Name = "radLabel11"; this.radLabel11.Size = new System.Drawing.Size(137, 17); this.radLabel11.TabIndex = 11; this.radLabel11.Text = "Name with the initials :"; this.radLabel11.ThemeName = "Office2007Black"; // // radLabel17 // this.radLabel17.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radLabel17.Location = new System.Drawing.Point(13, 27); this.radLabel17.Name = "radLabel17"; this.radLabel17.Size = new System.Drawing.Size(86, 17); this.radLabel17.TabIndex = 12; this.radLabel17.Text = "Candidate ID :"; this.radLabel17.ThemeName = "Office2007Black"; // // radLabel12 // this.radLabel12.Font = new System.Drawing.Font("Trebuchet MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radLabel12.Location = new System.Drawing.Point(13, 55); this.radLabel12.Name = "radLabel12"; this.radLabel12.Size = new System.Drawing.Size(166, 17); this.radLabel12.TabIndex = 13; this.radLabel12.Text = "Full Name of the candidate :"; this.radLabel12.ThemeName = "Office2007Black"; // // timShutter // this.timShutter.Interval = 500; this.timShutter.Tick += new System.EventHandler(this.timShutter_Tick); // // timHome // this.timHome.Enabled = true; this.timHome.Interval = 1000; this.timHome.Tick += new System.EventHandler(this.timHome_Tick); // // FaceRecognition // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.radGroupBox1); this.Name = "FaceRecognition"; this.Size = new System.Drawing.Size(1011, 566); this.Load += new System.EventHandler(this.FaceRecognition_Load); this.Leave += new System.EventHandler(this.FaceRecognition_Leave); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit(); this.radGroupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox7)).EndInit(); this.radGroupBox7.ResumeLayout(false); this.radGroupBox7.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnPopulate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).EndInit(); this.radGroupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox4)).EndInit(); this.radGroupBox4.ResumeLayout(false); this.radGroupBox4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnOff)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnStart)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emguImgFace)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radGroupBox3)).EndInit(); this.radGroupBox3.ResumeLayout(false); this.radGroupBox3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.lbltitle)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lblInitName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lblFullName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lblCandidateID)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel17)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radLabel12)).EndInit(); this.ResumeLayout(false); }