There are no devices installed for the specified ADAPTORNAME
来源:互联网 发布:软件编写工具 编辑:程序博客网 时间:2024/05/18 05:04
目标: matlab_r2014a利用mac电脑自带摄像头录制avi视频
步骤: 1.在matlab窗口命令行输入info=imaqhwinfo,查看已安装的图像采集设备。
2. info =
InstalledAdaptors: {'dcam'} MATLABVersion: '8.3 (R2014a)' ToolboxName: 'Image Acquisition Toolbox' ToolboxVersion: '4.7 (R2014a)'
3. 创建一个视频输入对象:
obj=videoinput(‘dcam’,1,’YUY2_320x240’);
问题:There are no devices installed for the specified ADAPTORNAME. See IMAQHWINFO.
原因:没有在matlab中安装对象摄像头的支持包
解决方法:1. 输入supportPackageInstaller,安装OS Generic Video Interface,GigE Vision Hardware(如果只用电脑自带摄像头可不安装)
2. 再次info=imaqhwinfo
3. info =
InstalledAdaptors: {'dcam' 'gige' 'macvideo'} MATLABVersion: '8.3 (R2014a)' ToolboxName: 'Image Acquisition Toolbox' ToolboxVersion: '4.7 (R2014a)'
4. 终于,adaptorname为 ‘macvideo’, 输入imaqhwinfo(‘macvideo’) 查看相关信息:
ans =
AdaptorDllName: '/Users/Bill_Wong/Documents/MATLAB/SupportPackages/R2014a/genericvideo/adaptor/mac...'AdaptorDllVersion: '4.7 (R2014a)' AdaptorName: 'macvideo' DeviceIDs: {[1]} DeviceInfo: [1x1 struct]
得到deviceID为1, 视频的格式查看命令:ans.DeviceInfo
ans =
DefaultFormat: 'YCbCr422_1280x720' DeviceFileSupported: 0 DeviceName: 'FaceTime \u9ad8\u6e05\u6444\u50cf\u5934' DeviceID: 1 VideoInputConstructor: 'videoinput('macvideo', 1)'VideoDeviceConstructor: 'imaq.VideoDevice('macvideo', 1)' SupportedFormats: {'YCbCr422_1280x720'}
即为:’YCbCr422_1280x720’
5. 最终正确的命令应该为:
obj=videoinput(‘macvideo’,1,’YCbCr422_1280x720’)
0 0
- There are no devices installed for the specified ADAPTORNAME
- There are no devices installed for the specified ADAPTORNAME
- Error message "there are no property pages for the selection"
- in the prefix, you've chosen, there are no KDE headers installed.
- There are no packages available for installation
- There are no packages available for installation
- There are no products matching the selection
- There are no datanodes in the cluster
- There are no datanodes in the cluster
- There is no application installed for executable files
- Package Control:There are no packages available for installation
- sublime There are no packages available for installation错误
- Sublime Package Control:There are no packages available for installation
- Sublime Text - There are no packages available for installation
- sublimeText3 -- There are no packages available for installation
- sublime There are no packages available for installation错误解决办法
- sublime报错there are no packages for installation
- No configuration found for the specified action
- leetcode 119: Pastcal's Triangle II
- 修改fiddler中CustomRules.js的Request或Response
- #笔记#圣思园 JavaWeb 第78讲——JSON库,异步调用
- 一个phonegap门外汉的phonegap初体验
- fibonacci(n<=45)
- There are no devices installed for the specified ADAPTORNAME
- CSS中 @media screen 和@media only screen 和@media 的不同
- Dark roads 2988
- Java之初体验--读取键盘输入数字
- web service—底层调用本质+WSDL文档解析
- 解决SwipeRefreshLayout多重嵌套产生滑动冲突
- Project facet jst.web.jstl has not been defined.
- DetachedCriteria的使用
- Python笔记:wsgi简介