Home » Product » Matlab Source code for Real Time Face Recognition Using Combined Mean Shift-Eigen Face Method

Matlab Source code for Real Time Face Recognition Using Combined Mean Shift-Eigen Face Method


Matlab Source code for Real Time Face Recognition Using Combined Mean Shift-Eigen Face Method
$9.99
  • Description

This implements A real time face recognition system which recognizes faces from live camera session using combined mean shift and Eigen face method. Mean Shift segmentation reduces the color variance which improves the face recognition immensely.

You need: Matlab 2012 and above for the demo to work.

How to Run Demo:

1. Download the demo folder and Unzip

2. Copy unzipped path on top of matlab command window as shown

Inline image 1

3. In matlab command prompt type and Enter command MainWindow

Inline image 2

4. This work supports Real time and Database combination. As you may not get too many real faces, start with training database Image

For this Click on browse  button and select a face from Train Folder as Shown bellow 

Inline image 3

5. Click on Capture Face it will segment face, then perform mean shift .

Inline image 4

 

The Result of step 5 is like bellow

Inline image 5

6. Now enter 1 in Face class and click Train button. It will remember this face as first instance of Person1

Now if you go inside Database folder, you will see first person’s face is stored

Inline image 6

7. The proposed system needs at least two face of each person. So click on browse, select another instance of this person and train with class 1 only.

Inline image 7

8. Now you can add your real time face by Start Camera (  Note that there must be sufficient light over your face. Sit opp to light source)

You can see in video as how to capture real face. Once captured, give it class  Acquire at least 2 instances. So that in your directory you will see 2_1, 2_2

9. Now it is time for testing.

10. Either Start camera and capture a face or browse and capture a face. Now just say Test. It will show you which person it is matching with

You can keep training new classes and test them.

Facebook