Giter Site home page Giter Site logo

ncjie / sdm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chengzhengxin/sdm

0.0 2.0 0.0 27.58 MB

Supervised Descent Method Apply to Face Alignment, and Head Pose Estimation with Linear Regression. It is cross-platfrom, easily compile in windows, ubuntu, even in Android & iOS.

CMake 1.07% C++ 92.19% C 6.56% Objective-C 0.19%

sdm's Introduction

SDM and Head Pose Estimation

example

git clone https://github.com/RoboPai/sdm.git

cd sdm/example/
./Roboman-SDM-TEST.exe

You will look like as follows:

image

image

image

image

How to compile on Windows?

Make sure you have installed the cmake-gui & Qt5.3.2 (mingw will be needed).

mkdir build
cd build
cmake-gui
mingw32-make

How to compile on Ubuntu?

Maybe you should modify the CMakeLists.txt about OpenCV libs

mkdir build
cd build
cmake ..
make
cp Roboman-SDM-TEST ../example/
cd ../example/
./Roboman-SDM-TEST

How to compile on iOS?

1.Copy "haar_roboman_ff_alt2.xml" & "roboman-landmark-model.bin" to your iOS Project.

2.Add the OpenCV2.framework to you iOS Project, make sure you can easily read camera and show frame with OpenCV.

3.Copy the include folder under src folder to you iOS Project source code, just copy, not anything else.

4.And then "#include "include/ldmarkmodel.h"" in your .mm file, make sure not in .h file, use it like test_model.cpp, Compile & enjoy it.

5.Make sure iOS project Build Settings option "Enable Bitcode" is "NO" (above XCode7).

How to compile on Android?

According to Android-cmake-Tool.

sdm's People

Contributors

chengzhengxin avatar

Watchers

James Cloos avatar Cong Jie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.