I want to project the screen (window) that came out by executing the program that uses the webcam, and prevent the video from overlapping multiple times when the projected window is taken with the camera.
(I ’m sorry for the poor explanation)

Error message

In the case of the following images, there are many projectors and screens taken with the camera.
I want to be able to see one projector and one screen when I take this with a camera.

I thought about using some kind of transformation (projective transformation, etc.) for the image, but I didn't understand it well.

Supplemental information (FW/tool version etc.)

Use openframeworks0.10.1
Use visual studio 2017
Please provide more detailed information here.

  • Answer # 1

    I decided not to show the camera image.

  • Answer # 2

    If you take a screen with a camera and capture the video with the camera, you will naturally have an infinite loop like a mirror.
    The only way to prevent this is to avoid taking a screen with the camera.