File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 11
11
' Test' ,...
12
12
' Open Image From System' ,...
13
13
' Exit' );
14
- if (choice == 1 )
14
+
15
+ %% Generating Database " loading dataset into matlab"
16
+ if (choice == 1 )
15
17
16
18
choice2 = questdlg(' Generate a new database?' , ...
17
19
' Warning...' ,...
26
28
27
29
end
28
30
31
+ % %Establishing Training set and test set by dividing the dataset in 8:2
29
32
30
33
if (choice == 2 )
31
34
37
40
38
41
end
39
42
43
+ % %Feature Extraction
44
+
40
45
if (choice == 3 )
41
46
if (~exist(' facedatabase' ,' var' ))
42
47
warndlg(' Please generate database first!' );
61
66
62
67
63
68
end
69
+
70
+ % %Generating Classfier using ecoc machine learning algorithm
64
71
if (choice == 4 )
65
72
66
73
if (~exist(' facedatabase' ,' var' ))
78
85
79
86
end
80
87
88
+ %% Prediction "Recognition"
89
+
81
90
if (choice == 5 )
82
91
if (~exist(' facedatabase' ,' var' ))
83
92
warndlg(' Please generate database first!' );
114
123
end
115
124
116
125
end
126
+
127
+ %% Reading image from a path and recognising the person from the dataset
117
128
118
129
if (choice == 6 )
119
130
if (~exist(' facedatabase' ,' var' ))
You can’t perform that action at this time.
0 commit comments