How to get the aperture angle from a webcam with OpenCV?
-
20-01-2021 - |
题
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.
不隶属于 StackOverflow