07 2021 档案

摘要:c++复现数据集预处理过程,参考源码: https://github.com/genbing99/SoftNet-SpotME extraction_preprocess.py #include <opencv2/opencv.hpp> #include <direct.h> #include <i 阅读全文
posted @ 2021-07-29 15:58 快乐码小农 阅读(286) 评论(0) 推荐(0)
摘要:计算optical flow以及strain,作为微表情识别的输入 #include <iostream> #include <opencv2/opencv.hpp> class OptFlowStrain { public: typedef struct _flow_strain { cv::Ma 阅读全文
posted @ 2021-07-29 02:38 快乐码小农 阅读(285) 评论(0) 推荐(0)
摘要:opencv cvMat 彩色图像转为dlibarray2d #include <dlib/image_processing/frontal_face_detector.h> #include <dlib/gui_widgets.h> #include <dlib/image_io.h> #incl 阅读全文
posted @ 2021-07-26 18:27 快乐码小农 阅读(148) 评论(0) 推荐(0)
摘要:根据landmark,标记出人脸左右眼,和嘴巴, 环境windows7 64位。 根据测试,左眼的点为:36至41,最左边位36,上面37,38,右边39,下边41,40 右眼,最左边42,上面43,44,右边45,下边47,46 嘴巴,最左边48,右边54,上边 49至53,下边,55至58. # 阅读全文
posted @ 2021-07-18 20:08 快乐码小农 阅读(913) 评论(0) 推荐(0)