Let's say I have a whiteboard in a room full of people. I want to take a picture of the whiteboard but there are people in the way so I can't take a picture of the board straight on.
I'll have to mount the camera above, looking down at the whiteboard. This alters the perspective. Because we have full information of the plane of the whiteboard, it is theoretically possible to "undistort" the image and change the perspective such that it appears we have a 2D whiteboard, or simply looking directly at the board. Is there software that does this?
To better paint what I'm trying to say here's and image of a stop sign from an unfavorable perspective.
How do we distort it to look like this:
The surroundings in the image do not matter. I only care about the information on the flat plane of the sign/board.
Bonus points if you can do this in real time with a video stream. (Camera will be fixed so the distortion properties will be the same for all images in the video).