getting focal length to calculate distance from Mediapipe iris in browser?

Viewed 342

as mentioned here (sec:Depth-from-Iris: Depth Estimation from a Single Image) the iris model could be used to get distance from screen using triangle similarity. I'm trying to implement this on a browser webapp using mediapipe iris but not sure how to get the camera focal length. Which camera capture API can I use to get the focal length of user's camera ?

0 Answers
Related