I have an application for OpenCV where I am looking to create a camera feed and then draw on top of the camera feed. My first thought is that I probably need two windows or views. One to output the camera feed only and the other would be a transparent window sitting on top of the camera feed window that I could draw to. For performance reasons I figure it does not make sense to update the cv::Mat in the window that is outputting the camera feed so I will do it on top of the camera feed in a new window as I will be doing a lot of drawing, computation, and updating. Am I thinking about this in the correct way? Is this something that can be done in OpenCV? If so, how would something like this be setup?
↧