I have multiple webcams connected to Raspberry PI. How can I choose which webcam to use?

3 visualizaciones (últimos 30 días)
I want to use a webcam with Raspberry Pi. However, there are two webcams connected to it. How can I choose a specific camera to use?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 22 de Ag. de 2023
Please refer to the following script to select a specific webcam in Raspberry Pi.
r = raspi; % You can find "r" shows AvailableWebCams.
cam = webcam(r, 2); % 2 refers to the second AvailableWebCams.

Más respuestas (0)

Categorías

Más información sobre MATLAB Support Package for Raspberry Pi Hardware en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Productos


Versión

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by