How to measure the distance from CAMERA and the object
Hi all,
i need to measure the distance between the pi camera module and the object , i've found this formula
distance to object (mm) = focal length (mm) * real height of the object (mm) * image height (pixels)
--------------------------------------------------------------------------------
object height (pixels) * sensor height (mm)
but i"m wondering opencv doesn"t implement a function to do this measure ??
thanks :)