how to connect to a raspberry pi usb webcam from matlab ?

3 visualizaciones (últimos 30 días)
Walter Veiga
Walter Veiga el 22 de Jul. de 2015
Comentada: William Thielicke el 9 de Nov. de 2021
Hi there, I'm trying to connect to a usb camera plugged into the raspberry pi from my Pc using matlab. I can do this easily using the simulink block V4L2 Video Capture, although i need to this in a m file. Is there a function like cameraboard to connect to usb webcams ?
I appreciate some help. Best regards, Walter

Respuestas (2)

Walter Roberson
Walter Roberson el 23 de Jul. de 2015

Esther
Esther el 21 de Dic. de 2015
One way you could try is to set the USB webcam up as a server and use the MATLAB Support for IP Cameras.
This may help:
  2 comentarios
Madhu Govindarajan
Madhu Govindarajan el 21 de Dic. de 2015
There is also a MATLAB support package for USB Web cameras - http://www.mathworks.com/hardware-support/matlab-webcam.html
Esther
Esther el 7 de En. de 2016
But I think the author of the question wants to access the USB Camera that is connected to the Raspberry Pi, not a USB Camera that is connected directly to the PC. I don't think the USB Support Package would work in this application.

Iniciar sesión para comentar.

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by