Merge pull request #1270 from LaurentBerger:Face

pull/450/merge
Alexander Alekhin 7 years ago
commit 98ded863c4
  1. 2
      modules/face/include/opencv2/face/facerec.hpp
  2. 4
      modules/face/src/eigen_faces.cpp
  3. 4
      modules/face/src/fisher_faces.cpp
  4. 4
      modules/face/src/lbph_faces.cpp

@ -151,7 +151,7 @@ public:
/**
@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
appropriate value is to use `8` sample points. Keep in mind: the more sample points you include,
the higher the computational cost.

@ -47,6 +47,10 @@ public:
// Send all predict results to caller side for custom result handling
void predict(InputArray src, Ptr<PredictCollector> collector) const;
String getDefaultName() const
{
return "opencv_eigenfaces";
}
};
//------------------------------------------------------------------------------

@ -42,6 +42,10 @@ public:
// Send all predict results to caller side for custom result handling
void predict(InputArray src, Ptr<PredictCollector> collector) const;
String getDefaultName() const
{
return "opencv_fisherfaces";
}
};
// Removes duplicate elements in a given vector.

@ -103,6 +103,10 @@ public:
bool empty() const {
return (_labels.empty());
}
String getDefaultName() const
{
return "opencv_lbphfaces";
}
CV_IMPL_PROPERTY(int, GridX, _grid_x)
CV_IMPL_PROPERTY(int, GridY, _grid_y)

Loading…
Cancel
Save