How to connect live video camera with gui?
Show older comments
I have built a code which opens a folder for searching an existing video, separating frames of that video and then operating the code. How can I connect real-time camera with the code so that it makes it work on live video?
Here is part of my code:
vidFrames = read(readerobj);
% Get the number of frames.
numFrames = get(readerobj, 'NumberOfFrames');
%Create a MATLAB movie struct from the video frames
1 Comment
rina gracic
on 22 Mar 2018
Answers (1)
Image Analyst
on 16 Mar 2018
0 votes
Run imaqtool and see what code it makes when you operate the camera. Copy and paste that code into your own program.
1 Comment
rina gracic
on 22 Mar 2018
Categories
Find more on MATLAB Support Package for USB Webcams in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!