header photo

Blog posts : "emgucv"

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

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

4 blog posts