header photo

Blog posts

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…

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 an…

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…

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 f…

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,…

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-…

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.

Sy…

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 t…

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…

Read more

Level 4b - PART I - Learn What 'PCA EigenFaces' Method is And What It Does

February 9, 2012

LEARNING OBJECTIVES of Part I (left) and Part II(right):

 
In Level 4a,we learned what is...
--face recognition, why use it?
--difference in recognition and detection?
--existing approaches of face recognition?
--why Select PCA EigenFaces method for face recognition?
--Brief introduction to PCA Eigenfac…

Read more

Level 4a - Getting Ready For FACE RECOGNITION - the BASICS

January 25, 2012

Welcome my dear readers! at requests of my regular readers, i've started working on the face RECOGNITION tutorial series! hope that makes you happy! ^_^
 

1.KNOW THE BASICS BEFORE IMPLEMENTING THE TECHNOLOGY!
As ALWAYS i shall stress my readers to NEVER skip out the basics whenever learning or impleme…

Read more

Level 3d - Add Parameter Tuning Features To Face Detection

January 19, 2012

TO DO:
NOT ALL FACES DETECTED? OR FACE DETECTION IS NOT UP TO YOUR REQUIREMENTS?
THEN ADD THE FEATURES(CODE) AS EXPLAINED IN THIS TUTORIAL, TO IMPROVE face detection according to your requirements by "Varying"/"Tuning" the parameter values of DetectHaarCascade(), by user input and see the differenc…

Read more

Level 3c - How To Improve Face Detection

January 13, 2012

QUESTION: "Face detection result is not up to my expectations/needs!  How do I improve the detection results?!"

Simple Solution:
  Is your problem something like: not all faces are being detected ? or the bigger, smaller, farther, a bit tilted/rotated faces are not detected?

You can solve this …

Read more

Level 3b - Live Multiple Face Detection

December 30, 2011

 PROBLEM STATEMENT:
 
Make a Windows Form Application in C# using EmguCV library, such that
1- it gets an input image from a live web camera OR from some folder by loading/reading it.
2- detects faces (one or many) in the input image.
3- and shows these detected faces in the image by marked rectangl…

Read more

Level 3a - Getting Ready For Face Detection

December 23, 2011

We'll be off to begin face detection right after This article.
It will give you the basic concept and preliminary information you should  have before starting face detection implementation!

 

LEARNING AGENDA

NOTE: Firstly, Get Yourself a Copy of 'Learning Open CV'
--------------------------------…

Read more

Level 2 - Use Multiple Cameras in one application

October 5, 2011

THE PROBLEM:
Can I connect more than one, like 2 or 3 cameras to my application using EmguCV? How? ”

THE SOLUTION:
Yes you can and there’s nothing to it really, I mean it’s pretty easy!
If you’ve made a camera capture application, then all you need is to give your desired value to the capt…

Read more

'Emgu.CV.Invoke' threw an exception? -SOLUTION

June 22, 2011

 LEARNING OBJECTIVE:

'Emgu.CV.CvIvoke' threw an exception!!!?!
Working in EmguCV? and you also got this BUGGING error? especially when working with a web cam?

<<<
 You might have tried various sites to find the solution to this problem. we did and trust me we couldn't find anything that worked or …

Read more

Level 1 - Lets Make a WORKING Camera Application

June 20, 2011

TO DO: MAKE A SIMPLE working CAMERA APPLICATION
I hope you've got the level 0 done nice and smoothly? if so, then lets move on to our next step: lets make a brand new windows application using Emgu CV library. we'll be making a camera application based on EmguCV's own example.
we'll make it such that…

Read more

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

June 8, 2011

LEARNING OBJECTIVE:


NOTE: FOR THOSE WHO USE 64-bit Windows
please FOLLOW THIS TUTORIAL INSTEAD

 

PART 1- SETUP THE REQUIRED TOOLS::

1. Make sure you have Visual Studio C# 2008 installed (any edition, I’ve used Visual C# 2008 Express Edition and Visual Studio 2008 and 2010 Professional Editions …

Read more

20 blog posts