Skip to content

Commit 2af82d9

Browse files
committed
Comment commit
1 parent 055ceb8 commit 2af82d9

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

MainMenu.m

+12-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
'Test',...
1212
'Open Image From System',...
1313
'Exit');
14-
if (choice ==1)
14+
15+
%% Generating Database " loading dataset into matlab"
16+
if (choice ==1)
1517

1618
choice2 = questdlg('Generate a new database?', ...
1719
'Warning...',...
@@ -26,6 +28,7 @@
2628

2729
end
2830

31+
%%Establishing Training set and test set by dividing the dataset in 8:2
2932

3033
if (choice == 2)
3134

@@ -37,6 +40,8 @@
3740

3841
end
3942

43+
%%Feature Extraction
44+
4045
if (choice == 3)
4146
if (~exist('facedatabase','var'))
4247
warndlg('Please generate database first!');
@@ -61,6 +66,8 @@
6166

6267

6368
end
69+
70+
%%Generating Classfier using ecoc machine learning algorithm
6471
if (choice == 4)
6572

6673
if (~exist('facedatabase','var'))
@@ -78,6 +85,8 @@
7885

7986
end
8087

88+
%% Prediction "Recognition"
89+
8190
if (choice == 5)
8291
if (~exist('facedatabase','var'))
8392
warndlg('Please generate database first!');
@@ -114,6 +123,8 @@
114123
end
115124

116125
end
126+
127+
%% Reading image from a path and recognising the person from the dataset
117128

118129
if (choice == 6)
119130
if (~exist('facedatabase','var'))

0 commit comments

Comments
 (0)