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

facial landmark tracking #30

Closed Hardold closed 8 years ago

Hardold commented 8 years ago

Hi, Do this approach allow for real-time landmark tracking in videos? Does this program has one function for facial landmark detection and tracking ? I want to track the landmark .What should I do ?Do I need to write the tracking function myself?

patrikhuber commented 8 years ago

Hi, Sure it allows real-time landmark tracking. You're right, I noticed the code of apps/rcr/rcr-track.cpp is a bit outdated, it does only detection, not tracking. However, there is an overload of the detect() function available, that takes the landmarks of the previous frames as input, and with these, we do tracking. You can have a look at how we do it in the 4dface app.

Of course if you wanted to, you could do a lot smarter stuff by yourself, I'd probably derive from detection_model and then add some state to the class.

Hardold commented 8 years ago

Oh, thinks a lot !

patrikhuber commented 8 years ago

I'll close this, feel free to reopen if you have further questions!

Hardold commented 8 years ago

ok