header photo

UPDATES:

 15 May 2014:

Level 4d - Implementing Training Set Manager

yeah i know, FINALLY!

Search Tutorials

REQUEST TO ALL READERS

Source code is available to you but DEAR BEGINNERS, i have made these tutorials keeping especially you in mind, so please read the THE WHOLE TUTORIAL, so that you understand and "LEARN"! :)
----------------------------------
==If you LIKE my tutorials then Please leave your kind feedback as comments==
==Its THE ONLY thing keeping this website alive. THANK YOU RESPECTED READERS! :)==
----------------------------------
<<<Please help me spread link to my website among those who need help with EmguCV basics/projects>>>

Total Unique Visitors

377687

Tutorials...

Level 4d - Implementing Training Set Manager

May 15, 2014

STEP 1: DEMO OF THE NEW UI CONTROLS ADDED TO MAKE TRAINING SET MANAGER AND FACE RECOGNIZER FORMS.

Download Solution file  Compiled to 32-bit
Download Solution file Compiled to 64-bit
NOTE!!! The solution file is here to HELP you implement the training set manager as shown in this tutorial. SO it has the new UI controls,as shown in the video BUT they are not coded. That's what YOU will do as you go along with the tutorials.

STEP 2: CONNECT TRAINING SET MANAGER TO FACES DATABASE (TRAINING SET)
After the winform is ready and you know what component does what, its time to connect to the fa…

Read more

Read/Write Images to MS Access Database Table Using C# Winform

April 27, 2013

 Lets create a C# winform application that Reads images and text from an MS Access Database Table and Writes to it too!

NOTE To All Following my Face Recognition Series: This is a detailed tutorial on how Oledb classes are used in my tutorials to connect our C# winform to MS Access for storing and reading images from it. Trust me the concept wasn't that simple to explain in a video or two while implementing Face Recognition. So i had to make this full tutorial especially. i suggest you watch it before or while implementing Training Set Manager or Face Recognizer.

 

STEP 1: CONCEPT OF HOW…

Read more

How To Read an Image and convert to EmguCV Type?

April 7, 2013

Here's how to read an image file from your hard drive and use it as EmguCV type color image in your code?
CODE:

Image<bgr, byte> EmguImage = new Image<bgr, byte>(new Bitmap(@"E:\IMAGES\BirthdayCard.jpg")); 

Description:  We declared a new variable of type EmguCV color image. We called this variable 'EmguImage'. we initialized it(assigned value to it) to an image named ‘BirthdayCard’ with .jpg extension – remember to ALWAYS add extension of file!

This BirthdayCard.jpg is stored at location ‘E:\IMAGES\’ so the complete path of image becomes:

@"E:\IMAGES\BirthdayCard.jpg"


NOTE:
We …

Read more

Level 4c Part III - How to Collect face images for Training Set and Ensure Improved Recognition

March 9, 2013

Problem:
Are you about to collect face images for your training set(faces database)?
OR
you already did BUT your recognition results are NOT so good?

Solution: Then this video tutorial is especially for you! 
Face Recognition results HIGHLY depend on the faces you store in the training Set vs. the face you try to recognize. YOUR task is to ENSURE that your training set(faces database) is WELL made!
"well made"? just watch video 1 and you'll know what things to be careful of when creating your Training Set!



====WATCH Part 1 & 2 ON VIMEO=====


Try Yale Faces Database  on your recognition system…

Read more

Solution for NullReferenceException

February 28, 2013

So, i checked the comments many readers posted and 've been getting this complaint  A LOT from MANY users, where most say something like this:

"I am having a NullRefrenceException error during runtime and the block of code it point to is below:

var faces =
grayframe.DetectHaarCascade(haar, 1.4, 4,
HAAR_DETECTION_TYPE.DO_CANNY_PRUNING,
new Size(25, 25))[0]; "

Part of the solution to a problem is understanding what the problem is.
                                                                                                                       - by Mahvish, The Great :P…

Read more

Level 0-EmguCV Installation Guide for 64-bit Windows users

February 27, 2013

LEARNING OBJECTIVE:


There are two options available, but the basic steps are same.
The 2 options  are summarized as below:

METHOD 1: Install the 32-bit version EmguCV on your 64-bit system – yes its possible AND more rewarding than method 2  ^_^
Benefits?

  1. Allows you to avoid the of 64-bit and 32-bit compatibility issues while following my code!
  2. Allows you to use MS Access database in your EmguCV project as well.

Drawbacks?
i haven't noticed any.yet.

METHOD 2: Install the 64-bit version EmguCV on your 64-bit system – what everyone usually does.
Benefits?

  1. ummm...it works perfectly well?…

Read more

Level 4c - PART II - Design & Create a Faces Database for our Face Recognition System

September 1, 2012



Watch Part 1 at Vimeo (for those having trouble with youtube)

PART 2:


OR watch PART 1 & 2 at youtube:






TUTORIAL COMPLETE!!!

Read more

Level 4c - PART I - Analyze and Design The Face Recognition System

May 4, 2012

LEARNING OBJECTIVES:
To be able to implement face recognition system,
first find out the Needed components to implement the face recognition system. what are their functionality, and how they interact with each other.
Partition the system into sub-systems
and Design The User Interface of System.

System Analysis: Deciding “what jobs face recognition system must do”

System Design: Deciding “how  Face Recognition system should do each job”   

THE VIDEO TUTORIAL (Please watch ALL parts below):

Learning objectives of Level 4c Part I



Why do system analysis & Design before implemen…

Read more

Level 3e - How to Extract the Detected Faces From Input Image

April 30, 2012

LEARNING OBJECTIVE:
Once faces have been detected from an input image, extract each single face out and save to a folder OR view on the windows form in a picturebox

NOTE: we're starting off with modifying the Camera Capture application, right where we left it at the end of Level 3d. how we connected to camera, got an input image, detected faces and marked them in boxes and displayed them - to know all that, please have a detailed look at Level 1 and then  Level 3a to Level 3d

STEP 1:  If you still haven't then Add a button to "Browse For Input Image" on your application.

STEP 2:  Insert the Co…

Read more

Level 4b - PART II - How does PCA Eigenfaces Recognize a Face? - The Algorithm Steps

April 19, 2012

LEARNING OBJECTIVES:
1-Recap of Part 1 - What is PCA and what does it do?
2-Working Principles & Pre-requisites of PCA Eigenfaces
3-The Algorithm Steps of PCA Eigenfaces (animated & without messy mathematics )
*The steps to Train the Recognizer.
*The steps to Recognize an Unknown Face

What is PCA and what it does (Recap of Level 4b-Part I):
Before you learn the Algorithm steps in PCA to recognize a face, please you MUST know the following stuff:

 

Getting ready for the Algorithm steps:  

 
PCA Eigenfaces
Algorithm steps to Recognize a Face



TUTORIAL COMPL…

Read more

View older posts »