File tree Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ class CV_EXPORTS_W LBPHFaceRecognizer : public FaceRecognizer
151
151
152
152
/* *
153
153
@param radius The radius used for building the Circular Local Binary Pattern. The greater the
154
- radius, the
154
+ radius, the smoother the image but more spatial information you can get.
155
155
@param neighbors The number of sample points to build a Circular Local Binary Pattern from. An
156
156
appropriate value is to use `8` sample points. Keep in mind: the more sample points you include,
157
157
the higher the computational cost.
Original file line number Diff line number Diff line change @@ -47,6 +47,10 @@ class Eigenfaces : public EigenFaceRecognizer
47
47
48
48
// Send all predict results to caller side for custom result handling
49
49
void predict (InputArray src, Ptr<PredictCollector> collector) const ;
50
+ String getDefaultName () const
51
+ {
52
+ return " opencv_eigenfaces" ;
53
+ }
50
54
};
51
55
52
56
// ------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ class Fisherfaces: public FisherFaceRecognizer
42
42
43
43
// Send all predict results to caller side for custom result handling
44
44
void predict (InputArray src, Ptr<PredictCollector> collector) const ;
45
+ String getDefaultName () const
46
+ {
47
+ return " opencv_fisherfaces" ;
48
+ }
45
49
};
46
50
47
51
// Removes duplicate elements in a given vector.
Original file line number Diff line number Diff line change @@ -103,6 +103,10 @@ class LBPH : public LBPHFaceRecognizer
103
103
bool empty () const {
104
104
return (_labels.empty ());
105
105
}
106
+ String getDefaultName () const
107
+ {
108
+ return " opencv_lbphfaces" ;
109
+ }
106
110
107
111
CV_IMPL_PROPERTY (int , GridX, _grid_x)
108
112
CV_IMPL_PROPERTY (int , GridY, _grid_y)
You can’t perform that action at this time.
0 commit comments