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

来源:互联网 发布:mysql 排序后limit 编辑:程序博客网 时间:2024/06/05 05:56


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.

阅读全文
0 0
原创粉丝点击