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

1 view (last 30 days)
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

Answers (2)

M.Khan
M.Khan on 13 Oct 2015
Edited: 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

Ken Oh
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
Anchit Dhar
Anchit Dhar on 16 Oct 2015
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.

Categories

Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!