Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to combine Computer Vision Toolbox with Image Acquisition toolbox

1 回表示 (過去 30 日間)
cyberdyne
cyberdyne 2012 年 8 月 10 日
Hi,
How can I combine these toolbox?
For example, if I would apply vision.OpticalFlow object to acquisition, how can I do it?
  6 件のコメント
cyberdyne
cyberdyne 2012 年 8 月 16 日
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.
Walter Roberson
Walter Roberson 2012 年 8 月 16 日
Please assign meaningful tags to your question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags

回答 (1 件)

Image Analyst
Image Analyst 2012 年 8 月 16 日
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.
  1 件のコメント
cyberdyne
cyberdyne 2012 年 8 月 20 日
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 ?

この質問は閉じられています。

タグ

タグが未入力です。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by