I had searched every where for finding focal length of the camera and its back sensor height. But I didn't get any specific detail.

I am developing one app which will calculate the actual height of an real world object from the height visible in the image captured from an ios camera.

distance to object (mm) =

focal length (mm) * real height of the object (mm) * image height (pixels) ---------------------------------------------------------------------------
object height (pixels) * sensor height (mm)

here I am having the values distance to object as static, image height in pixel. Now I need focal length and sensor height to find out the real object height.

Thanks in advance. bskania

ios
Edit
Report