如何计算OpenCV中的焦距?

时间:2016-10-01 01:19:17

标签: python c++ opencv

在其上选择图像像素和直线(从像素[x_1, y_1]到像素[x_2, y_2]),如何在OpenCV中获得焦距(Python或C ++; 2.4或3.x)?

1 个答案:

答案 0 :(得分:0)

如果您需要

0
相机,我认为你应该做的 校准,你会得到一个

focal length   

包含焦距。

这是一个很好的相机校准文档

http://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_calib3d/py_calibration/py_calibration.html

相关问题