Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

help_face_recognition

Status
Not open for further replies.

invité

Newbie level 1
Joined
Apr 25, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,298
hi.. .I'have a project face recognition using PCA
I'm staking in how to train the database:I don't konw how to create the Mat file ..
I'need an idea ..I'm working with ORL database
I'have juste write some lines here's
%Read in the images

[image1,map1] = imread('1.BMP');
[image2,map2] = imread('2.BMP');
[image3,map3] = imread('3.BMP');
[image4,map4] = imread('4.BMP');
[image5,map5] = imread('5.BMP');
[image6,map6] = imread('6.BMP');
[image7,map7] = imread('7.BMP');
[image8,map8] = imread('8.BMP');
[image9,map9] = imread('9.BMP');
[image10,map10] = imread('10.BMP');

data1 = double(image1);
data2 = double(image2);
data3 = double(image3);
data4 = double(image4);
data5 = double(image5);
data6 = double(image6);
data7 = double(image7);
data8 = double(image8);
data9 = double(image9);
data10 = double(image10);

% make the data matrix
raw_data = zeros(92*112,10);
raw_data:),1) = data1:));
raw_data:),2) = data2:));
raw_data:),3) = data3:));
raw_data:),4) = data4:));
raw_data:),5) = data5:));
raw_data:),6) = data6:));
raw_data:),7) = data7:));
raw_data:),8) = data8:));
raw_data:),9) = data9:));
raw_data:),10) = data10:));
save 'train' raw_data;
display('training with success')

I'dont konw what to do in the next ..I must have a trainfile where is 7 face image for trainning and testfile where there's 3 face image for testing

I'm in need for your help :))
thanks in advance
 

hi friend
face recognition is a major area of research within biometric signal processing.u have to read documents about this subject first.
matlab also have some example.i share a documents that explain a method for face detection.
be success
 

Attachments

  • Automatic Face Detection Using Color Based Segmentation.pdf
    1.2 MB · Views: 113

Hi,
i am doing my project in fingerprint recognition,so i can tell you how we created our database using mat file.We had to save a matrix which contains the processed information as a template in our database ,so we just used the "save" function and created the database.our code lines are as follows-

data{fp_number}=rf_map;
save('tej.mat','data','fp_number','-append');

now,rf_map is the matrix which we need to store,so we transferred it into data giving it fp_number (as reference number ),and then it is stored in the database named tej.mat.append means next data will be appended to previous data.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top