Transforming screen coordinates from security camera to real world coordinates

隐身守侯 提交于 2019-12-23 06:47:19

问题


I have the frames from a surveillance camera observing a big public hall from an angle close to 45° relative to the ceiling. Every person is annotated for each frame they appear in with screen coordinates (1920 X 1080 px). Which means I have (X,Y) coordinates for each person for each frame.

Now what I need to do is transform these coordinates into real world coordinates, since naturally there is a distortion between sections close to the camera and sections further away from it. In the end I hope to have transformed coordinates which depict constant movement in a linear fashion, no matter where it occurs, if that makes sense. (I measure the velocity of each person)

I don´t know the height of the camera, nor the exact angle, but it is sufficient to estimate both.

Thanks for any help.

EDIT: Basically this is a mathematical question. I don´t have any code that deals with this part of the problem. The sole purpose is to improve the accuracy of my program by having more accurate coordinates than the current which are distorted.

来源:https://stackoverflow.com/questions/38941881/transforming-screen-coordinates-from-security-camera-to-real-world-coordinates

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!