sai-bi / FaceAlignment

Face Alignment by Explicit Shape Regression
MIT License
339 stars 205 forks source link

how long would this code spend when we detect feature points #17

Open wangbing8895 opened 9 years ago

wangbing8895 commented 9 years ago

你好!我有个困惑,我检测一张图片的特征点时耗费了140ms,然而论文里面说大概15ms,你能告诉我怎么去提高这个效率吗?

sai-bi commented 9 years ago

In fact, in the test demo program provided by me, the initial number is set to 20, that is, each image is predicted 20 times, and then output the average as final output. Of course this will be much slower. In practice, you may change the initial number to a small number such as 2 or 3, it will be much faster and the accuracy will not be affected too much.