digiKam
Digikam::RedEye::ShapePredictor Class Reference

Public Member Functions

unsigned long num_features () const
 
unsigned long num_parts () const
 
FullObjectDetection operator() (const cv::Mat &img, const cv::Rect &rect) const
 
 ShapePredictor ()
 

Public Attributes

std::vector< std::vector< unsigned long > > anchor_idx
 
std::vector< std::vector< std::vector< float > > > deltas
 
std::vector< std::vector< RedEye::RegressionTree > > forests
 
std::vector< float > initial_shape
 

Constructor & Destructor Documentation

◆ ShapePredictor()

Digikam::RedEye::ShapePredictor::ShapePredictor ( )
explicit

Member Function Documentation

◆ num_features()

unsigned long Digikam::RedEye::ShapePredictor::num_features ( ) const

References forests.

◆ num_parts()

unsigned long Digikam::RedEye::ShapePredictor::num_parts ( ) const

◆ operator()()

FullObjectDetection Digikam::RedEye::ShapePredictor::operator() ( const cv::Mat &  img,
const cv::Rect &  rect 
) const

Member Data Documentation

◆ anchor_idx

std::vector<std::vector<unsigned long> > Digikam::RedEye::ShapePredictor::anchor_idx

◆ deltas

std::vector<std::vector<std::vector<float> > > Digikam::RedEye::ShapePredictor::deltas

◆ forests

std::vector<std::vector<RedEye::RegressionTree> > Digikam::RedEye::ShapePredictor::forests

◆ initial_shape

std::vector<float> Digikam::RedEye::ShapePredictor::initial_shape

The documentation for this class was generated from the following files: