advice on Image acquisition & near real time processing
Mostra commenti meno recenti
Hi,
I have just started getting back into Matlab, perhaps rather at the deep end!
I am trying to use a webcam to log at 30fps, 10 frames before processing the 10 frames using optical flow to estimate velocity of the object passing through the frame; before flushing all the data and repeating the process.
I have successfully managed to acquire frames to avi file and then extract the frames to tiff format.
The real question: Is there a better (read quicker way) of acquiring the 10 frames from the video device, saving them to memory and processing them within Matlab without saving to disk (clearly the saving and converting just adds complexity and computational time).
Thank you in advance!
Risposte (2)
Erik S.
il 8 Feb 2015
1 voto
Hi,
Maybe you can get some ideas from this example:
1 Commento
Yale Brewer
il 8 Feb 2015
Erik S.
il 8 Feb 2015
1 voto
Hi Yale,
Do you have Image Acquisition toolbox? There is a function (Matlab) called: imaq.VideoDevice Look in the documentations for it. Using this function it would be possible to stream live video I think. I think you can process it as well.
1 Commento
Yale Brewer
il 8 Feb 2015
Categorie
Scopri di più su Image Preview and Device Configuration in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!