开源软件名称:FacePose
开源软件地址:https://gitee.com/qiansou/FacePose
开源软件介绍:
FacePose千搜科技人脸姿态检测,51个人脸特征点,3个方向的角度
调用Demo示例#include <stdio.h>#include <Windows.h>#define POINTS_NUM 51typedef struct { float roll; float yaw; float pitch; POINT points[POINTS_NUM];} FacePointsModel;//创建人脸特征点引擎engineint CreateFacePointsEngine();//engine 是CreateFacePointsEngine返回值//rgb24 照片的RGB数据区//width,height 照片的宽,长//widthstep 详细可参考http://www.opencv.org.cn/forum.php?mod=viewthread&tid=1931//rtFace 脸的举行区域//fpm 人脸特征点以及三个角度的返回值float CalculateFacePoints(int engine, unsigned char * rgb24, int width, int height, int widthstep, RECT rtFace, FacePointsModel &fpm);//快速人脸检测接口int DetectFaces(unsigned char * gray_data, int width, int height, int widthstep,RECT* rtFaces); 输出roll=1.003720, yaw=-1.232409, pitch=-10.462233 技术支持QQ: 2843028512 QQ群:567619263 百度网盘下载地址https://pan.baidu.com/s/1LGQ54vPoVw4Fqu7U59l7HA |
请发表评论