This example shows how to detect a particular object in the video and how to replace it with another static image.
|On this page…|
The following figure shows the Object Extraction and Replacement example model:
Edge detection and labelling are used to identify the objects in the video. A portion of the wall in the video is identified using the Label block. The example inserts a separate static image at the location of this wall object.
Windows-only example models might contain compressed multimedia files or To Video Display blocks, both of which are only supported on Windows platforms. The To Video Display block supports code generation, and its performance is optimized for Windows.