[matlab]install Image Acquisition Toolbox Adaptors 利用matlab获取摄像头图像


1. Enter command: imaqhwinfo

if you don't have the adaptors, the following sentence will be printed:


No Image Acquisition adaptors found. Image acquisition adaptors may be available as downloadable support
packages. Open Add-Ons Explorer to install additional adaptors. 


2. click the link under Add-Ons 


3. install "Image Acquisition Toolbox Support Package for OS Generic Video Interface"


4. test by the following code:


>> vid = videoinput('winvideo', 1, 'YUY2_640x480');
>> set(vid, 'ReturnedColorSpace', 'rgb');
>> preview(vid);

if everything is OK. Then you finished.
全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务