Location Detection from CCTV
When CCTV cameras detect some events like people or objects detection, it is often required that the actual event spot on world map be estimated because the event occurrence spot is restricted to each camera’s view. The actual spot is projected on each camera view, so each has the different projected point of the event spot. Of course, it is also possible for the spot not to be projected in some cameras’ view. Mostly, in this case, the graphics library such as OpenGL can be helpful, but I want to implement this without graphics libraries.
World Map to Camera And Vice Versa
As above, the center image represents a world map and it has four cameras installed on each corner. The yellow box in the world map is a kind of event zone whose altitude is set more higher than default one. If the event occurs in the world map as the red point which is located in the top-right corner of ‘F’ letter, then it can be correctly projected in the view of each camera as a red point in the same manner. Moreover, if some cameras detect an event, its position can be also converted to the point on the world map. In fact, what these conversion is possible means that the whole view of each camera can be rendered regardless of the event occurrence. The four cameras above were rendered in this way.