MATLAB Answers

Ken Oh
1

How to snapshot a real time image with raspberry pi and attachable logitech webcam ?

Asked by Ken Oh
on 13 Oct 2015
Latest activity Commented on by Anchit Dhar on 16 Oct 2015
Hello. As far as I know, simulink and matlab provide very less resources on raspberry pi hardware configuration. I think it's very new and still under research progress. I would like to know whether there is any solution besides using pi camera. Thank you

  0 Comments

Sign in to comment.

2 Answers

Answer by M.Khan
on 13 Oct 2015
Edited by M.Khan
on 13 Oct 2015

Hi Ken,
You should be able to use any V4L2 compliant video capture device with Raspberry PI support package to capture image/video. For more information please visit: http://www.mathworks.com/hardware-support/raspberry-pi-simulink.html http://www.mathworks.com/hardware-support/raspberry-pi-matlab.html
Thanks,
Mohammad

  0 Comments

Sign in to comment.


Answer by Ken Oh
on 14 Oct 2015

Hi. M.Khan,
The documentation describes more towards the pi camera. It does not reflect much on the external logitech webcam. How does V4L2 supports these functions ?

  1 Comment

Hi Ken,
The V4L2 Video Capture block works with external cameras as well. It just has to be UVC compliant.
You can specify the path to the webcam on the raspberry pi through the block(e.g. '/dev/video0').

Sign in to comment.