dlib加快 facial关键点检测速度——达到毫秒级
发布时间
阅读量:
阅读量
参考文章:http://f.dataguru.cn/thread-927564-1-1.html
所使用的代码源自其他博主,但由于无法从浏览记录中确认具体作者,如存在侵权情况,请及时与本人联系。在原有代码的基础上进行了部分调整
将原先运行速度较慢的dlib人脸检测算法替换为更为高效的haar检测方法,显著提升了处理速度,但相应地导致了检测精度的下降
#include <dlib/image_processing/frontal_face_detector.h>
#include <dlib/image_processing/render_face_detections.h>
#include <dlib/image_processing.h>
#include <dlib/gui_widgets.h>
#include <dlib/image_io.h>
#include <dlib/opencv.h>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2
全部评论 (0)
还没有任何评论哟~
