# head-pose-estimation
Real-time head pose estimation built with OpenCV and dlib
<b>2D:</b><br>Using dlib for facial features tracking, modified from http://dlib.net/webcam_face_pose_ex.cpp.html
<br>The algorithm behind it is described in http://www.csc.kth.se/~vahidk/papers/KazemiCVPR14.pdf
<br>It applies cascaded regression trees to predict shape(feature locations) change in every frame.
<br>Splitting nodes of trees are trained in random, greedy, maximizing variance reduction fashion.
<br>The well trained model can be downloaded from http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2
<br>Training set is based on i-bug 300-W datasets. It's annotation is shown below:<br><br>

<br><br>
<b>3D:</b><br>To match with 2D image points(facial features) we need their corresponding 3D model points.
<br>http://aifi.isr.uc.pt/Downloads/OpenGL/glAnthropometric3DModel.cpp provides a similar 3D facial feature model.
<br>It's annotation is shown below:<br><br>

<br><br>
Finally, with solvepnp function in OpenCV, we can achieve real-time head pose estimation.
<br><br>

盈梓的博客
- 粉丝: 1w+
最新资源
- TLC MATLAB S级函数C Mex S函数编码器生成。_TLC; MATLAB Level 2 S Functio
- 用于地球科学的MATLAB开源有限元代码_MATLAB Open Source Finite Element Codes
- matlab c_对李纯明教授的水平集算法matlab源码的c++实现版,并做了一定优化。效果很好。.zip
- 初始_Initial.zip
- 订阅imu、odom、laser_scan主题,并将其更改为matlab的txt。_Subscribe to imu,
- MATLAB的现代快速消息包_Modern & Fast MessagePack for MATLAB.zip
- MATLAB和ImageJ的DCIMG阅读器_DCIMG reader for MATLAB and ImageJ2.z
- matlab文档文件夹的几个编译工具箱_several compiled toolbox for matlab docs
- 用Matlab和Code Composer Studio在C上创建VSB调制_Creating VSB modulati
- C(MATLAB)_小波变化的C++实现(接口与MATLAB中的接口相同).zip
- mpFFT is an open-source project to implement a high-performa
- 具有Matlab接口的标准Kuramoto耦合振荡器系统的高效C实现。_An efficient C implement
- 在Matlab中使用C API用于Thorlabs CMOS USB摄像头的代码。_Code to use the C+
- Inspirer GD F RT螺纹C C MATLAB MATLAB_Inspirer【振奋者】是一个基于GD32F4
- 使用MATLAB mex文件获取、设置、列出和删除扩展文件属性_Get, set, list and remove ex
- 气象预测MATLAB实现基于EEMD-LSTM集合经验模态分解(EEMD)结合长短期记忆网络(LSTM)进行中短期天气预测的详细项目实例(含完整的程序,GUI设计和代码详解)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈


