Commit 98ded863 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #1270 from LaurentBerger:Face

parents 6848eb63 26c2d022
...@@ -151,7 +151,7 @@ public: ...@@ -151,7 +151,7 @@ public:
/** /**
@param radius The radius used for building the Circular Local Binary Pattern. The greater the @param radius The radius used for building the Circular Local Binary Pattern. The greater the
radius, the radius, the smoother the image but more spatial information you can get.
@param neighbors The number of sample points to build a Circular Local Binary Pattern from. An @param neighbors The number of sample points to build a Circular Local Binary Pattern from. An
appropriate value is to use `8` sample points. Keep in mind: the more sample points you include, appropriate value is to use `8` sample points. Keep in mind: the more sample points you include,
the higher the computational cost. the higher the computational cost.
......
...@@ -47,6 +47,10 @@ public: ...@@ -47,6 +47,10 @@ public:
// Send all predict results to caller side for custom result handling // Send all predict results to caller side for custom result handling
void predict(InputArray src, Ptr<PredictCollector> collector) const; void predict(InputArray src, Ptr<PredictCollector> collector) const;
String getDefaultName() const
{
return "opencv_eigenfaces";
}
}; };
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
......
...@@ -42,6 +42,10 @@ public: ...@@ -42,6 +42,10 @@ public:
// Send all predict results to caller side for custom result handling // Send all predict results to caller side for custom result handling
void predict(InputArray src, Ptr<PredictCollector> collector) const; void predict(InputArray src, Ptr<PredictCollector> collector) const;
String getDefaultName() const
{
return "opencv_fisherfaces";
}
}; };
// Removes duplicate elements in a given vector. // Removes duplicate elements in a given vector.
......
...@@ -103,6 +103,10 @@ public: ...@@ -103,6 +103,10 @@ public:
bool empty() const { bool empty() const {
return (_labels.empty()); return (_labels.empty());
} }
String getDefaultName() const
{
return "opencv_lbphfaces";
}
CV_IMPL_PROPERTY(int, GridX, _grid_x) CV_IMPL_PROPERTY(int, GridX, _grid_x)
CV_IMPL_PROPERTY(int, GridY, _grid_y) CV_IMPL_PROPERTY(int, GridY, _grid_y)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment