OpenCV453
|
Default predict collector [詳解]
#include <predict_collector.hpp>
cv::face::PredictCollectorを継承しています。
クラス | |
struct | PredictResult |
公開メンバ関数 | |
StandardCollector (double threshold_=DBL_MAX) | |
Constructor [詳解] | |
void | init (size_t size) CV_OVERRIDE |
overloaded interface method [詳解] | |
bool | collect (int label, double dist) CV_OVERRIDE |
overloaded interface method [詳解] | |
CV_WRAP int | getMinLabel () const |
Returns label with minimal distance | |
CV_WRAP double | getMinDist () const |
Returns minimal distance value | |
CV_WRAP std::vector< std::pair< int, double > > | getResults (bool sorted=false) const |
Return results as vector [詳解] | |
std::map< int, double > | getResultsMap () const |
Return results as map Labels are keys, values are minimal distances | |
静的公開メンバ関数 | |
static CV_WRAP Ptr< StandardCollector > | create (double threshold=DBL_MAX) |
Static constructor [詳解] | |
限定公開変数類 | |
double | threshold |
PredictResult | minRes |
std::vector< PredictResult > | data |
Default predict collector
Trace minimal distance with treshhold checking (that is default behavior for most predict logic)
cv::face::StandardCollector::StandardCollector | ( | double | threshold_ = DBL_MAX | ) |
Constructor
threshold_ | set threshold |
|
virtual |
overloaded interface method
cv::face::PredictCollectorを実装しています。
|
static |
Static constructor
threshold | set threshold |
CV_WRAP std::vector< std::pair< int, double > > cv::face::StandardCollector::getResults | ( | bool | sorted = false | ) | const |
Return results as vector
sorted | If set, results will be sorted by distance Each values is a pair of label and distance. |
|
virtual |
overloaded interface method
cv::face::PredictCollectorを再実装しています。