I would like to make the program universal, for any mobile device camera not just mine. Does anyone know how to make this possible? :)
How to connect live video camera with gui?
3 views (last 30 days)
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
Answers (1)
Image Analyst
on 16 Mar 2018
Run imaqtool and see what code it makes when you operate the camera. Copy and paste that code into your own program.
See Also
Categories
Find more on Acquisition Using Image Acquisition Explorer 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!