I'm capturing the webcam images with OpenCV and C++ and tracking the persons face. So my problem is that I need the aperture angle to calculate the position of the person. How to get this angle?

Thanks

有帮助吗?

解决方案

You need to calibrate your camera using a standard calibration target like a chessboard. Look here for the OpenCV camera calibration API.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top