8#ifndef __OPENCV_FACEREC_HPP__
9#define __OPENCV_FACEREC_HPP__
11#include "opencv2/face.hpp"
12#include "opencv2/core.hpp"
14namespace cv {
namespace face {
24 CV_WRAP
int getNumComponents()
const;
26 CV_WRAP
void setNumComponents(
int val);
28 CV_WRAP
double getThreshold() const CV_OVERRIDE;
30 CV_WRAP
void setThreshold(
double val) CV_OVERRIDE;
31 CV_WRAP std::vector<
cv::
Mat> getProjections() const;
32 CV_WRAP
cv::
Mat getLabels() const;
33 CV_WRAP
cv::
Mat getEigenValues() const;
34 CV_WRAP
cv::
Mat getEigenVectors() const;
35 CV_WRAP
cv::
Mat getMean() const;
37 virtual
void read(const
FileNode& fn) CV_OVERRIDE;
39 virtual
bool empty() const CV_OVERRIDE;
47 std::vector<
Mat> _projections;
130 CV_WRAP
virtual int getGridX()
const = 0;
132 CV_WRAP
virtual void setGridX(
int val) = 0;
134 CV_WRAP
virtual int getGridY()
const = 0;
136 CV_WRAP
virtual void setGridY(
int val) = 0;
138 CV_WRAP
virtual int getRadius()
const = 0;
140 CV_WRAP
virtual void setRadius(
int val) = 0;
142 CV_WRAP
virtual int getNeighbors()
const = 0;
144 CV_WRAP
virtual void setNeighbors(
int val) = 0;
146 CV_WRAP
virtual double getThreshold() const CV_OVERRIDE = 0;
148 CV_WRAP virtual
void setThreshold(
double val) CV_OVERRIDE = 0;
149 CV_WRAP virtual std::vector<
cv::
Mat> getHistograms() const = 0;
150 CV_WRAP virtual
cv::
Mat getLabels() const = 0;
File Storage Node class.
Definition: persistence.hpp:482
XML/YAML/JSON file storage class that encapsulates all the information necessary for writing or readi...
Definition: persistence.hpp:304
n-dimensional dense array class
Definition: mat.hpp:802
Definition: facerec.hpp:21
Definition: facerec.hpp:55
Abstract base class for all face recognition models
Definition: face.hpp:158
Definition: facerec.hpp:90
Definition: facerec.hpp:127
CV_EXPORTS_W double threshold(InputArray src, OutputArray dst, double thresh, double maxval, int type)
Applies a fixed-level threshold to each array element.
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75
Definition: cvstd_wrapper.hpp:74