Focal length for di̇stance

Hello everyone,

I have a question regarding distance measurement with a camera. To measure distance from the camera, we need the focal length. From my research, I understand that we can determine the focal length by performing camera calibration. Additionally, the focal length is provided in millimeters in the technical specifications of the camera. Can we use this focal length value from the camera specifications to measure distance? Should we use it in millimeters? I would appreciate your guidance on this matter.

tags: build, disparity, features2d, opencvjs, videoio

and please refrain from slapping random tags on your thread

thanks.So, is the focal length of 25mm written in the camera’s technical documentation sufficient for me? Do I need to calibrate the camera?