Chapter7_HeadPoseEstimation
所属分类:OpenCV
开发工具:Visual C++
文件大小:922KB
下载次数:32
上传日期:2013-07-13 18:10:25
上 传 者:
fatfishlin1982
说明: 人脸表情识别,基于opencv开发,good
(Facial expression recognition based on opencv developer, good)
文件列表:
09-1m.jpg (115414, 2013-03-06)
09-2m.jpg (115071, 2013-03-06)
09-3m.jpg (108444, 2013-03-06)
CMakeLists.txt (1905, 2013-03-06)
main.cpp (17693, 2013-03-06)
PAW.cpp (13314, 2013-03-06)
PAW.h (1784, 2013-03-06)
screenshot.png (600255, 2013-03-06)
simple-aam.txt (127, 2013-03-06)
Triangle.cpp (660, 2013-03-06)
Triangle.h (182, 2013-03-06)
******************************************************************************
* 3D Head Pose Estimation using AAM and POSIT
******************************************************************************
* by Daniel Llis Baggio, 29th Dec 2012
* http://code.google.com/p/ehci/
******************************************************************************
* Ch7 of the book "Mastering OpenCV with Practical Computer Vision Projects"
* Copyright Packt Publishing 2012.
* http://www.packtpub.com/cool-projects-with-opencv/book
******************************************************************************
----------------------------------------------------------
Building the project using CMake from the command-line:
----------------------------------------------------------
Linux:
export OpenCV_DIR="~/OpenCV/build"
mkdir build
cd build
cmake -D OpenCV_DIR=$OpenCV_DIR ..
make
MacOSX (Xcode):
export OpenCV_DIR="~/OpenCV/build"
mkdir build
cd build
cmake -G Xcode -D OpenCV_DIR=$OpenCV_DIR ..
open HeadOrientation.xcodeproj
Windows (MS Visual Studio):
set OpenCV_DIR="C:\OpenCV\build"
mkdir build
cd build
cmake -G "Visual Studio 9 2008" -D OpenCV_DIR=%OpenCV_DIR% ..
start HeadOrientation.sln
----------------------------------------------------------
Running the project:
----------------------------------------------------------
Simply run the HeadOrientation executable. This should load a simple-aam as well as some example images so the reader can become familiar with eigenvalues used in the image PCA. Sliding the bars will instance a new AAM which will be displayed on top of the training images. Hitting 'c' will close the application. The keys '1', '2', and '3' will change the displayed training image.
近期下载者:
相关文件:
收藏者: