Matlab Acess Multiple Camera Simultaneously

Matlab Acess Multiple Camera Simultaneously

obj1 = videoinput('winvideo', 1, 'yuy2_640x480'); 
obj2 = videoinput('winvideo', 2, 'yuy2_640x480');

obj3 = videoinput('winvideo', 3, 'yuy2_640x480');
obj4 = videoinput('winvideo', 4, 'yuy2_640x480');  
     preview(obj1)
     preview(obj2)
     preview(obj3)
     preview(obj4)

This simple code for previewing the multiple cameras in Matlab

Leave a Reply

Your email address will not be published. Required fields are marked *

Connect with us on social media and stay update with latest technology/ projects !

Flag Counter