How can I determine distance from an object in a video?
Your problem’s quite standard in the field. Firstly, you need to calibrate your camera. This can be done offline (makes life much simpler) or online through self-calibration. Calibrate it offline – please. Secondly, Once you have the calibration matrix of the camera K, determine the projection matrix of the camera in a successive scene (you … Read more