chengzhengxin/sdm

有关函数的使用问题?

Opened this issue · 0 comments

您好!在您定义的类class ldmarkmodel中有三个函数共有函数 :
cv::Mat EstimateHeadPose(cv::Mat &current_shape);
void EstimateHeadPose(cv::Mat &current_shape, cv::Vec3d &eav);
void drawPose(cv::Mat& img, const cv::Mat& current_shape, float lineL=50);,请问,这三个函数的作用是一样的吗?在test_model.cpp中 ldmarkmodel modelt; modelt.EstimateHeadPose(current_shape, eav); modelt.drawPose(Image, current_shape, 50);调用函数EstimateHeadPose()和drawPose(),是不是重复计算了呢?