How to named camera preview?
3 views (last 30 days)
I have two cameras named 'Logitech Webcam Pro 9000' and I used both cameras simultaneously using code:
cam1 = webcam(1);
cam2 = webcam(2);
But on both previews, the same name is coming i.e. 'Logitech Webcam Pro 9000' so I can't differentiate between cam1 and cam2. I need to write the name cam 1 and cam 2 on the preview. I used
cam1.Name = 'left cam',
but it shows the error that Name is read-only property and can't change.
So what should I do to named both previews separately?