patrikhuber / superviseddescent

C++11 implementation of the supervised descent optimisation method
http://patrikhuber.github.io/superviseddescent/
Apache License 2.0
402 stars 188 forks source link

Question: about pose estimation #45

Closed ardeal closed 7 years ago

ardeal commented 7 years ago

Hi Patrikhuber,

I would like to run pose estimation in your code. should I run the project under examples/pose_estimation or some other one?

Thanks!

patrikhuber commented 7 years ago

Well, have a look at the example code. It's modelled after the original SDM paper. You would have to train it and probably extend a bit. To be honest I would recommend doing pose estimation using a different method. If you've already got landmarks, try our eos 3D fitting library.

ardeal commented 7 years ago

Hi Patrikhuber,

I tried the pose_estimation project in your code. The speed is very good. But I cannot understand the training procedure in pose_estimation.cpp file. you didn't even input any images for training.

as I only need pose estimation functionality, I don't need other functionality which might need extra time of CPU.

I checked your eos code. eos code uses 3D model and 2D landmarks to project the pose. My question is how about the speed of the pose_estimation algorithms. how much time is needed to run it for one image on your platform?

ardeal commented 7 years ago

In my project, I will run face detection, SDM for landmark and then pose estimation. so I would like to run a very computation effective pose estimation algorithms which is based on SDM landmarks. Do you think it is a good choice for me to use your pose estimation in SDM solution?

patrikhuber commented 7 years ago

As mentioned, have a look at how Xiong & De la Torre do the pose estimation using SDM in their paper - I think you'll have to train it using training data but don't recall the details currently.

eos can estimate the 3D pose from landmarks in the order of milliseconds. You can even get below 1ms if you just need a rough estimate.

ardeal commented 7 years ago

Got it. Thanks!