mediapipe_face_iris_cpp icon indicating copy to clipboard operation
mediapipe_face_iris_cpp copied to clipboard

Question about depth estimation

Open DavitMob opened this issue 3 years ago • 2 comments

I see in code comments that I can get depth estimation from the model output inside getEyeLandmarkAt by float _d = model->getOutputData(isIris)[index * 3 + 2];. Can you please say what kind of postprocessing needs to be done on this output? Seems there should be some postprocessing, because by printing the value I get also negtaive values.

DavitMob avatar Mar 25 '22 13:03 DavitMob

I just found this part of a repo, which is written in Python but can be easily mapped to C++. I'm sorry that I'm very busy right now so I can't help you much.

pntt3011 avatar Mar 25 '22 14:03 pntt3011

Thank you very much @pntt3011 for the reply. I will take a look.

DavitMob avatar Mar 25 '22 16:03 DavitMob