Click here to Skip to main content
15,860,861 members
Articles / General Programming / Algorithms

Image Tracking and Computer Vision Using Fourier Image Correlation

Rate me:
Please Sign up or sign in to vote.
4.98/5 (27 votes)
23 Apr 2013CPOL15 min read 71.7K   17.2K   90  
How to teach a program to recognize something within a video stream.
///////////////////////////////////////////////////////////////////////////////
//
//  Form1.Designer.cs
//
//  By Philip R. Braica (HoshiKata@aol.com, VeryMadSci@gmail.com)
//
//  Distributed under the The Code Project Open License (CPOL)
//  http://www.codeproject.com/info/cpol10.aspx
///////////////////////////////////////////////////////////////////////////////

namespace OpenCVDemo
{
    partial class Form1
    {
        /// <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.tabControl1 = new System.Windows.Forms.TabControl();
            this.tabPage2 = new System.Windows.Forms.TabPage();
            this.camCorderUI1 = new OpenCVDemo.CamCorderUI();
            this.tabPage1 = new System.Windows.Forms.TabPage();
            this.trackingUI1 = new OpenCVDemo.TrackingUI();
            this.tabPage3 = new System.Windows.Forms.TabPage();
            this.classifierUI1 = new OpenCVDemo.ClassifierUI();
            this.tabControl1.SuspendLayout();
            this.tabPage2.SuspendLayout();
            this.tabPage1.SuspendLayout();
            this.tabPage3.SuspendLayout();
            this.SuspendLayout();
            // 
            // tabControl1
            // 
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage3);
            this.tabControl1.Controls.Add(this.tabPage2);
            this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControl1.Location = new System.Drawing.Point(0, 0);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(869, 602);
            this.tabControl1.TabIndex = 1;
            // 
            // tabPage2
            // 
            this.tabPage2.Controls.Add(this.camCorderUI1);
            this.tabPage2.Location = new System.Drawing.Point(4, 22);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage2.Size = new System.Drawing.Size(861, 576);
            this.tabPage2.TabIndex = 1;
            this.tabPage2.Text = "Cam corder";
            this.tabPage2.UseVisualStyleBackColor = true;
            // 
            // camCorderUI1
            // 
            this.camCorderUI1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.camCorderUI1.FlipHorizontal = false;
            this.camCorderUI1.FlipVertical = false;
            this.camCorderUI1.Location = new System.Drawing.Point(3, 3);
            this.camCorderUI1.Name = "camCorderUI1";
            this.camCorderUI1.Recording = false;
            this.camCorderUI1.Size = new System.Drawing.Size(855, 570);
            this.camCorderUI1.TabIndex = 0;
            // 
            // tabPage1
            // 
            this.tabPage1.Controls.Add(this.trackingUI1);
            this.tabPage1.Location = new System.Drawing.Point(4, 22);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage1.Size = new System.Drawing.Size(861, 576);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "Tracking";
            this.tabPage1.UseVisualStyleBackColor = true;
            // 
            // trackingUI1
            // 
            this.trackingUI1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.trackingUI1.Location = new System.Drawing.Point(3, 3);
            this.trackingUI1.Name = "trackingUI1";
            this.trackingUI1.Size = new System.Drawing.Size(855, 570);
            this.trackingUI1.TabIndex = 0;
            // 
            // tabPage3
            // 
            this.tabPage3.Controls.Add(this.classifierUI1);
            this.tabPage3.Location = new System.Drawing.Point(4, 22);
            this.tabPage3.Name = "tabPage3";
            this.tabPage3.Size = new System.Drawing.Size(861, 576);
            this.tabPage3.TabIndex = 2;
            this.tabPage3.Text = "Classify";
            this.tabPage3.UseVisualStyleBackColor = true;
            // 
            // classifierUI1
            // 
            this.classifierUI1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.classifierUI1.Location = new System.Drawing.Point(0, 0);
            this.classifierUI1.Name = "classifierUI1";
            this.classifierUI1.Size = new System.Drawing.Size(861, 576);
            this.classifierUI1.TabIndex = 0;
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(869, 602);
            this.Controls.Add(this.tabControl1);
            this.Name = "Form1";
            this.Text = "Form1";
            this.tabControl1.ResumeLayout(false);
            this.tabPage2.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            this.tabPage3.ResumeLayout(false);
            this.ResumeLayout(false);

        }

        #endregion

        private OpenCVDemo.TrackingUI trackingUI1;
        private System.Windows.Forms.TabControl tabControl1;
        private System.Windows.Forms.TabPage tabPage2;
        private System.Windows.Forms.TabPage tabPage1;
        private CamCorderUI camCorderUI1;
        private System.Windows.Forms.TabPage tabPage3;
        private ClassifierUI classifierUI1;

        //      private FaceDetect faceDetect1;

    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
United States United States
Phil is a Principal Software developer focusing on weird yet practical algorithms that run the gamut of embedded and desktop (PID loops, Kalman filters, FFTs, client-server SOAP bindings, ASIC design, communication protocols, game engines, robotics).

In his personal life he is a part time mad scientist, full time dad, and studies small circle jujitsu, plays guitar and piano.

Comments and Discussions