szad670401/HyperLandmark

How to achieve realtime inference?

John1231983 opened this issue · 7 comments

Hi, the inference code runs very fast. Could you tell me any trick to obtain the realtime inference? Does it run on GPU or CPU?

Android app running on arm cpu with ncnn. if you want design a realtime landmark detector, a lightweight network is needed.

lightweight network

I am using mobilenet v2 with alpha 0.25 as the paper mention. Do you use same thing or customize the mobilenet v2? Any suggestion?

mobilenet v2 is ok

Thanks. But I found that the speed is still slow. I used canvas to draw the landmark points. Is it fine?

If you running on android or ios devices, draw points based on opengl.

opengl is faster than canvas API function. Is it right? Thanks so much

yes