Swapping an image inside a flat rectangle moving into 3 dimensions?

Hello guys,

Before starting to spend time learning OpenCV, I am wondering whether OpenCV is capable of finding in real time the corners of a rectangle with a specific length/height ratio showing a pic moving in all 3 dimensions, and replace in real time the current image on that rectangle with another pre-defined image ?

Thank you

Yes it’s possible. Here’s a tutorial! (note that for more robustness, the corners of the rectangle were marked with markers)

Wow thank you so much Kbarni. Highly appreciated.