Hi,
How can I combine these toolbox?
For example, if I would apply vision.OpticalFlow object to acquisition, how can I do it?
Yes you can. Just use
snappedImage = getsnapshot(videoObject);
to get a frame of live video from a video camera, instead of pulling it from a video file on disk.
Ok. But, for example, if with
vid = videoinput('nameadaptor', ID, 'Format');
I create the object for the acquisition by cam, and with
optical = vision.OpticalFlow;
I create the object for the optical flow...
how can I make to work optical flow object with acquisition object ?
6 Comments
Direct link to this comment:
http://www.mathworks.de/matlabcentral/answers/45767#comment_93977
Not sure exactly what you're asking. My answer would be: use the Image Acquisition Toolbox to acquire data, and process that signal using Computer Vision Toolbox functions. However, I'm not sure if this answers your question.
Direct link to this comment:
http://www.mathworks.de/matlabcentral/answers/45767#comment_94003
Yes, it what I'm asking. Sorry for the strange form of my answer.
How can I acquire data using image acquisition toolbox and process what I'm acquiring by Computer Vision Toolbox in real-time ?
Direct link to this comment:
http://www.mathworks.de/matlabcentral/answers/45767#comment_94004
You're basically asking "How can I write and use programs in MATLAB" so I recommend you view some of Doug Hull's video tutorials: http://blogs.mathworks.com/videos/
Direct link to this comment:
http://www.mathworks.de/matlabcentral/answers/45767#comment_94025
Please see the guide to tags and re-tag this question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags
Direct link to this comment:
http://www.mathworks.de/matlabcentral/answers/45767#comment_94771
I followed all the user guide of Image processing toolbox and Computer Vision Toolbox, and I saw that Computer Vision is used to process videofile. I would know if it can process a webcam video stream.
Direct link to this comment:
http://www.mathworks.de/matlabcentral/answers/45767#comment_94782
Please assign meaningful tags to your question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags