emilianavt / OpenSeeFace

Robust realtime face and facial landmark tracking on CPU with Unity integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

why detect time always show 0.00ms?

JH95-ai opened this issue · comments

commented

Hello,dear anchor.I‘m testing your project,and now have a problem.That is why detect time always show 0.00ms,test picture is following:
image
Next I found that parameter duration_fd mainly saved the detection time.and it's true.picture is following:
image
How should I modify to display the correct detection time?
Thanks you watching!

0ms is correct. Face detection is only performed when less than --max-faces faces were detected last frame and only every --scan-every frames. Otherwise the face tracking will only look for faces around the bounding boxes of the faces from the previous frame. If you want to make sure that face detection runs every frame, set --max-faces to a higher number of faces than are present in the input and set --scan-every to 0.

commented

Oh,I see ,thank you for your help.Best wishes for you.