Closed antithing closed 4 years ago
Hi, since the system contains both a face detector and a face alignment network, the first component will be dependent on the image resolution. To speed-up things, depending on the size of your facial images you could downscale the input image. The 4 stack model provided, minus the detection model should be able to achieve around 20fps on a 1080Ti. While there are multiple paths for speeding this up, some discussed in other github issues, the first mentioned is the easiest probably to do.
Hi, and thank you for making this code available. i am running it from source on a GTX 1080, and when I time the function:
preds = fa.get_landmarks(input_img)[-1]
It takes around 300 ms to calculate landmarks. (after the first run, the GPU is warmed up)
Is this expected? Is it possible to run this faster? i am hoping for real time use, so <30 ms.
Thanks!