I would like to overlay an image when I preview video.
By trying this :
vid = videoinput('winvideo'); preview(vid)
I can preview the video of my installed camera. How can I have overlay on top of the live video an image?
I want the live video to be at the background and the image at the foreground.
figure, imshow( Your foreground), hold on, preview(vid) ;
I don't think you can blend a live image with a stored image but maybe there's some trick to it, like by using an alpha channel or something. Call them and ask them. I know you can put up graphics over a live image, like text, circles, boxes, lines, that sort of thing. Would that work for you or must it be two blended color images? If it must be a blended image and the alpha channel doesn't pan out then you'll have to get in a loop where you call get snapshot and average it with your stored image and then display that. I'm sure the frame rate will be lower though.