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

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

답변 (2개)

Esther
Esther 2015년 12월 21일

0 개 추천

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

There is also a MATLAB support package for USB Web cameras - http://www.mathworks.com/hardware-support/matlab-webcam.html
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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 MATLAB Support Package for Raspberry Pi Hardware에 대해 자세히 알아보기

질문:

2015년 7월 22일

댓글:

2021년 11월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by