Error using imaq.VideoDevice
显示 更早的评论
I am using windows 8 on a 64 bit microprocessor. I wanted to use the following function but was getting the following error
Error using imaq.VideoDevice (line 12)
Invalid ADAPTORNAME 'winvideo' specified. ADAPTORNAME must be specified as a string. The available adaptors are {(none)}. Image acquisition adaptors may be available as downloadable support packages. Open Support Package Installer to install additional vendors.
Error in main (line 10)
oj = imaq.VideoDevice('winvideo',1);
Any suggestion will be helpful.
回答(2 个)
Walter Roberson
2015-6-7
0 个投票
You need to download the support package. At the top of your MATLAB command window, look at the furthest grouping to the right and you will see a green Plus sign for "Add Ons". Click there and click on the support packages link that comes up from there.
4 个评论
sm m
2015-6-7
Walter Roberson
2015-6-7
videoreader class and getFrame(). There are examples on the documentation pages for videoreader
Suryadiputra Liawatimena
2018-7-27
which add ons? I am using 2018a, cannot find winvideo. thanks.
Image Analyst
2018-7-27
Are you looking for "Image Acquisition Toolbox Support Package for OS Generic Video Interface by MathWorks Image Acquisition Toolbox Team" or "MATLAB Support Package for IP Cameras by MathWorks Image Acquisition Toolbox Team"
Image Analyst
2015-6-7
0 个投票
See my attached demo for how to "open a saved video stream and read it frame by frame".
类别
在 帮助中心 和 File Exchange 中查找有关 Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!