header photo

Blog posts : "Announcements"

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

3 blog posts