pntt3011 / mediapipe_face_iris_cpp

Real-time Face and Iris Landmarks Detection using C++
GNU General Public License v3.0
81 stars 15 forks source link

When I using still images to make a video, the result landmark coordinates are still changing #22

Open oUp2Uo opened 1 year ago

oUp2Uo commented 1 year ago

Hello, I tried to use still images to make a video, the result landmark coordinates are still changing (not stable). (using video 1920x1080) Is this correct?

And one more thing, I found it seems that left iris result landmark is not as correct as right one. I am not sure about this point, and I will take more tests.

Thanks.

pntt3011 commented 1 year ago

Hi, the unstable results, even from still images, are expectable. There are some issues about it in Mediapipe's repo, like this one.

You can use the mean of the last N outputs or exponential moving average as a workaround. I hope this will help.

oUp2Uo commented 1 year ago

Thanks for your reply.

Btw, do you have any idea about the difference of left and right iris result landmark?

pntt3011 commented 1 year ago

Both eyes use the same model to detect so in theory, there should be no signicantly different between their outputs. Mediapipe paper also does not mention anything about the model should be used on left or right eye.