chengzhengxin / sdm

Supervised Descent Method Apply to Face Alignment, and Head Pose Estimation with Linear Regression. It is cross-platfrom, easily compile in windows, ubuntu, even in Android & iOS.
448 stars 197 forks source link

有关函数的使用问题? #12

Open Hardold opened 7 years ago

Hardold commented 7 years ago

您好!在您定义的类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(),是不是重复计算了呢?