运行TLD时的initcamera问题
来源:互联网 发布:迪拜的奇葩法律 知乎 编辑:程序博客网 时间:2024/06/10 09:50
刚开始用ZK的matlab程序生成的demo就遇到个奇怪的问题,双击运行tld1.exe出现如下界面:
于是就press0,接下来就什么都没有了。刚开始很费解,后来看到log.txt的内容
有更新,就打开开了,内容如下所示:
??? Error using ==> videoinput.videoinput at 328
The FORMAT specified is not supported by this device. See
IMAQHWINFO(ADAPTORNAME).
Error in ==> tmdInitSource at 12
Error in ==> tmdGo at 13
Error in ==> go at 49
}
imaq:videoinput:noFormat
刚开始不知道该如何感觉,只隐约感觉是init什么有问题,连问问题都不晓得怎么跟别人说清楚,后来终于在TLD算法讨论群中问到了答案,特别感谢啊。其实这个问题也是作者在readme中提到的:
Common errors:
============================================================
??? Error using ==> videoinput.videoinput at 328
The FORMAT specified is not supported by this device. See
IMAQHWINFO(ADAPTORNAME).
Error in ==> tmdInitSource at 12
Error in ==> tmdGo at 13
Error in ==> go at 49
}
imaq:videoinput:noFormat
Reason:
Your camera does not support the format specified in initcamera.m
Solution:
Find what format is supported by your camera or directly try different setting in the section 'camera format' of file initcamera.m
具体修改方法就是
source.vid = videoinput('winvideo', 1,'RGB24_320x240');//现在使用RGB24_320x240
%source.vid = videoinput('winvideo', 1,'YUY2_320x240');//原来使用YUY2_320x240
每个人遇到的问题不尽相同,不对的地方还请指正。
- 运行TLD时的initcamera问题
- 运行TLD的Matlab源码的相关问题
- TLD的c++版本运行
- TLD 源码详解(一)--- TLD的编译和运行
- 找不到opal.tld的问题
- TLD算法的崩溃问题
- 运行matlab版的TLD算法
- 【问题】Unable to read TLD "META-INF/c.tld"错误(JSP不能成功显示时的报错)
- tld使用中遇到的问题
- VS2010+MATLAB2010b运行TLD
- 让TLD 运行起来
- TLD的matlab程序的安装与运行
- TLD 的matlab版本的环境配置和运行
- TLD的matlab程序的安装与运行
- 关于TLD工程在VS2010下运行的修改
- TLD matlab c++混编代码的运行配置方法
- TLD不用cmake在vs上编译运行的方案
- 藏匿的Struts tld
- pat 1062
- linux 命令
- python类的简单介绍
- 论代码之熵
- 逻辑组合与代码整理及优化(三)
- 运行TLD时的initcamera问题
- Java线程池使用说明
- 此方法地方
- 面试
- 修改Servlet模版
- Eclipse常用快捷键
- ORA-19804: cannot reclaim 48156160 bytes disk space from 4039114752 limit
- 配置php环境
- Calendar类