How to change the source camera?
Ältere Kommentare anzeigen
I want to capture an image through "BAUMER" "Gige" Camera (external camera), currently i'm capturing an image through in built webcam in my laptop.How to change this please do tell.
Akzeptierte Antwort
Weitere Antworten (1)
Adib Yusof
am 5 Okt. 2020
Bearbeitet: Adib Yusof
am 5 Okt. 2020
Try:
webcamlist
to see the list of installed cameras. By default, the built-in camera is camera no 1, and other external cameras are camera 2, 3 and so on. Check the number for the camera you wanna use. Then, when creating the webcam object, pass the number (for example the camera number you wanna use is 2) like this:
Cam = webcam(2)
Hope it helps!
Kategorien
Mehr zu GigE Vision Hardware finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!