【error】Invalid ADAPTORNAME specified. Type 'imaqhwinfo' for a list of available ADAPTORNAMEs.
前言
使用matlab通过摄像头获取图像进行处理;
问题描述
使用matalb调用摄像头时出现错误:
1 2 3 4 5 6 7 8 | >> imaqhwinfo Warning: No Image Acquisition adaptors found. Image acquisition adaptors may be available as downloadable support packages. Open Support Package Installer to install additional vendors. ans = InstalledAdaptors: {} MATLABVersion: '8.5 (R2015a)' ToolboxName: 'Image Acquisition Toolbox' ToolboxVersion: '4.9 (R2015a)' |
需要安装图像获取适配器的安装包,点主要安装下载 usb webcam 和OS Generic Video Interface这两个包,需要登录用自己的邮箱进行注册),具体操作步骤可以参考matlab的帮助文档;
操作步骤
参看matlab中的help文档:installing the Support Packages for Image Acquisition Toolbox Adaptors
注意
可能因为网络问题不能安装,可参考以下步骤;
1 2 3 4 5 6 7 8 9 | Troubleshooting If the setup fails, it could be caused by an internet security setting. If you get an error message such as "Setup Failed – An error occurred while installing," try the following and then run the installer again. 1.In Internet Explorer, go to Tools > Internet Options. 2.In Internet Options, select the Advanced tab. 3.Under the Security subsection, uncheck Check for publisher's certificate revocation to temporarily disable it, and click OK. 4.Run the installer again. 5.After you have installed the support package, re-enable the security option in Internet Explorer. |
之后,即可正确下载;
1 2 3 4 5 6 | >> imaqhwinfo ans = InstalledAdaptors: { 'dcam' 'winvideo' } MATLABVersion: '8.5 (R2015a)' ToolboxName: 'Image Acquisition Toolbox' ToolboxVersion: '4.9 (R2015a)' |
参考
1.matlab调用摄像头;
完
各美其美,美美与共,不和他人作比较,不对他人有期待,不批判他人,不钻牛角尖。
心正意诚,做自己该做的事情,做自己喜欢做的事情,安静做一枚有思想的技术媛。
版权声明,转载请注明出处:https://www.cnblogs.com/happyamyhope/
心正意诚,做自己该做的事情,做自己喜欢做的事情,安静做一枚有思想的技术媛。
版权声明,转载请注明出处:https://www.cnblogs.com/happyamyhope/
分类:
matlab
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 提示词工程——AI应用必不可少的技术
· .NET周刊【3月第1期 2025-03-02】