Is it possible to show movie from raspberrypi webcamera using matlab guide.
2 views (last 30 days)
Show older comments
I want to know that Matlab guide (GUI) can show movie from raspberrypi USB webcamera.
I have challenged making program, but it doesn't work correctly.
If you know this solution , please tell me.
2 Comments
John D'Errico
on 24 Sep 2017
Edited: John D'Errico
on 24 Sep 2017
Of course it is possible, if you know what you are doing. What you did wrong would require us to read your mind. Are you asking us to write detailed code that figures out exactly what you want to do, given a few vague words?
Accepted Answer
Walter Roberson
on 27 Sep 2017
Change
axes(handles.axes1);
hImage1=image(zeros(352,288,3),'Parent',handles.axes1);
preview(img1,hImage1);
to
imshow(img1, 'Parent', handles.axes1)
5 Comments
Walter Roberson
on 30 Sep 2017
Then you will need to keep looping and grabbing images and displaying them; it appears that preview is not supported for raspberry pi cameras.
More Answers (1)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!