Beispiel #1
0
OpenCVMatData LBPHFaceModel::histogramData(int index) const
{
#if OPENCV_TEST_VERSION(3,0,0)
    return OpenCVMatData(ptr()->get<std::vector<cv::Mat> >("histograms").at(index));
#else
    return OpenCVMatData(ptr()->getHistograms().at(index));
#endif
}
Beispiel #2
0
OpenCVMatData LBPHFaceModel::histogramData(int index) const
{
    return OpenCVMatData(ptr()->get<std::vector<cv::Mat> >("histograms").at(index));
}