#include <opencv2/face/facerec.hpp>
◆ empty()
| virtual bool cv::face::BasicFaceRecognizer::empty |
( |
| ) |
const |
|
virtual |
◆ getEigenValues()
| cv::Mat cv::face::BasicFaceRecognizer::getEigenValues |
( |
| ) |
const |
| Python |
|---|
| cv.face.BasicFaceRecognizer.getEigenValues( | | ) -> | retval |
◆ getEigenVectors()
| cv::Mat cv::face::BasicFaceRecognizer::getEigenVectors |
( |
| ) |
const |
| Python |
|---|
| cv.face.BasicFaceRecognizer.getEigenVectors( | | ) -> | retval |
◆ getLabels()
| cv::Mat cv::face::BasicFaceRecognizer::getLabels |
( |
| ) |
const |
| Python |
|---|
| cv.face.BasicFaceRecognizer.getLabels( | | ) -> | retval |
◆ getMean()
| cv::Mat cv::face::BasicFaceRecognizer::getMean |
( |
| ) |
const |
| Python |
|---|
| cv.face.BasicFaceRecognizer.getMean( | | ) -> | retval |
◆ getNumComponents()
| int cv::face::BasicFaceRecognizer::getNumComponents |
( |
| ) |
const |
| Python |
|---|
| cv.face.BasicFaceRecognizer.getNumComponents( | | ) -> | retval |
◆ getProjections()
| std::vector< cv::Mat > cv::face::BasicFaceRecognizer::getProjections |
( |
| ) |
const |
| Python |
|---|
| cv.face.BasicFaceRecognizer.getProjections( | | ) -> | retval |
◆ getThreshold()
| double cv::face::BasicFaceRecognizer::getThreshold |
( |
| ) |
const |
|
virtual |
| Python |
|---|
| cv.face.BasicFaceRecognizer.getThreshold( | | ) -> | retval |
◆ read() [1/2]
| virtual void cv::face::BasicFaceRecognizer::read |
( |
const FileNode & | fn | ) |
|
|
virtual |
◆ read() [2/2]
| virtual void cv::face::FaceRecognizer::read |
( |
const String & | filename | ) |
|
|
virtual |
◆ setNumComponents()
| void cv::face::BasicFaceRecognizer::setNumComponents |
( |
int | val | ) |
|
| Python |
|---|
| cv.face.BasicFaceRecognizer.setNumComponents( | val | ) -> | 无 |
◆ setThreshold()
| void cv::face::BasicFaceRecognizer::setThreshold |
( |
double | val | ) |
|
|
virtual |
| Python |
|---|
| cv.face.BasicFaceRecognizer.setThreshold( | val | ) -> | 无 |
◆ write() [1/2]
| virtual void cv::face::FaceRecognizer::write |
( |
const String & | filename | ) |
const |
|
virtual |
保存一个 FaceRecognizer 及其模型状态。
将此模型保存到给定文件名,可以是 XML 或 YAML 格式。
- 参数
-
每个 FaceRecognizer 都会重写 FaceRecognizer::save(FileStorage& fs) 以保存内部模型状态。FaceRecognizer::save(const String& filename) 将模型状态保存到给定文件名。
const 后缀表示预测不会影响内部模型状态,因此该方法可以安全地从不同线程调用。
重新实现自 cv::face::FaceRecognizer。
◆ write() [2/2]
| virtual void cv::face::BasicFaceRecognizer::write |
( |
FileStorage & | fs | ) |
const |
|
virtual |
◆ _eigenvalues
| Mat cv::face::BasicFaceRecognizer::_eigenvalues |
|
保护 |
◆ _eigenvectors
| Mat cv::face::BasicFaceRecognizer::_eigenvectors |
|
保护 |
◆ _labels
| Mat cv::face::BasicFaceRecognizer::_labels |
|
保护 |
◆ _mean
| Mat cv::face::BasicFaceRecognizer::_mean |
|
保护 |
◆ _num_components
| int cv::face::BasicFaceRecognizer::_num_components |
|
保护 |
◆ _projections
| std::vector<Mat> cv::face::BasicFaceRecognizer::_projections |
|
保护 |
◆ _threshold
| double cv::face::BasicFaceRecognizer::_threshold |
|
保护 |
此类的文档是从以下文件生成的