zoukankan      html  css  js  c++  java
  • 【error】Invalid ADAPTORNAME specified. Type 'imaqhwinfo' for a list of available ADAPTORNAMEs.

    前言

    使用matlab通过摄像头获取图像进行处理;

    问题描述

    使用matalb调用摄像头时出现错误:

    >> 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

    注意

    可能因为网络问题不能安装,可参考以下步骤;

    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.
    

    之后,即可正确下载;

    >> imaqhwinfo
    ans = 
        InstalledAdaptors: {'dcam'  'winvideo'}
            MATLABVersion: '8.5 (R2015a)'
              ToolboxName: 'Image Acquisition Toolbox'
           ToolboxVersion: '4.9 (R2015a)'

    参考

    1.matlab调用摄像头

  • 相关阅读:
    XTU1199:Number Game
    SSL连接建立过程分析(1)
    JavaScript高级编程II
    PreferenceFragment 使用 小结
    crm使用soap更改下拉框的文本值
    POJ2241——The Tower of Babylon
    四个好看的CSS样式表格
    无论你在哪里上班,请记住下面黄金法则!
    js的for in循环和java里的foreach循环的差别
    具体解释EBS接口开发之物料导入API
  • 原文地址:https://www.cnblogs.com/happyamyhope/p/9304892.html
Copyright © 2011-2022 走看看