日本搞逼视频_黄色一级片免费在线观看_色99久久_性明星video另类hd_欧美77_综合在线视频

國(guó)內(nèi)最全I(xiàn)T社區(qū)平臺(tái) 聯(lián)系我們 | 收藏本站
阿里云優(yōu)惠2
您當(dāng)前位置:首頁(yè) > 互聯(lián)網(wǎng) > MATLAB編程->MATLAB2014a的webcam操作

MATLAB編程->MATLAB2014a的webcam操作

來(lái)源:程序員人生   發(fā)布時(shí)間:2014-10-09 06:15:57 閱讀次數(shù):3243次

   

     由于MATLAB2014a安裝的是免費(fèi)版,在用videoinput時(shí)便出現(xiàn)問(wèn)題如下:

imaqhwinfo 警告: 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.3 (R2014a)' ToolboxName: 'Image Acquisition Toolbox' ToolboxVersion: '4.7 (R2014a)'
于是安裝webcam來(lái)解決讀取攝像頭問(wèn)題:

點(diǎn)擊:Get Hardware Support Packages

出現(xiàn)以上的界面,點(diǎn)擊USB Webcams 安裝。

安裝后:

help webcam webcam 的內(nèi)容: webcam - Creates webcam object to acquire frames from your Webcam. Webcam support. Webcam functions. webcam - Creates webcam object to acquire frames from your webcam. webcamlist - Returns a list of all webcams connected to the system. webcam 既是目錄也是函數(shù)。 webcam Creates webcam object to acquire frames from your Webcam. CAMOBJ = webcam returns a webcam object, CAMOBJ, that acquires images from the specified Webcam. By default, this selects the first available Webcam returned by WEBCAMLIST. CAMOBJ = webcam(DEVICENAME) returns a webcam object, CAMOBJ, for Webcam with the specified name, DEVICENAME. The Webcam name can be found using the function WEBCAMLIST. CAMOBJ = webcam(DEVICEINDEX) returns a webcam object, CAMOBJ, for Webcam with the specified device index, DEVICEINDEX. The Webcam device index is the index into the cell array returned by WEBCAMLIST. CAMOBJ = webcam(..., P1, V1, P2, V2,...) constructs the webcam object, CAMOBJ, with the specified property values. If an invalid property name or property value is specified, the webcam object is not created. Creating webcam object obtains exclusive access to the Webcam. SNAPSHOT method syntax: IMG = snapshot(CAMOBJ) acquires a single frame from the Webcam. [IMG, TIMESTAMP] = snapshot(CAMOBJ) returns the frame, IMG, and the acquisition timestamp, TIMESTAMP. webcam methods: snapshot - Acquire a single frame from the Webcam. preview - Activate a live image preview window. closePreview - Close live image preview window. webcam properties: Name - Name of the Webcam. Resolution - Resolution of the acquired frame. AvailableResolutions - Cell array of list of available resolutions. The webcam interface also exposes the dynamic properties of the Webcam that we can access programmatically. Some of these dynamic properties are Brightness, Contrast, Hue, Exposure etc. The presence of these properties in the webcam object depends on the Webcam that you connect to. Example: % Construct a webcam object camObj = webcam; % Preview a stream of image frames. preview(camObj); % Acquire and display a single image frame. img = snapshot(camObj); image(img); See also webcamlist

根據(jù)help來(lái)看:


至此調(diào)用成功。

》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》



生活不易,碼農(nóng)辛苦
如果您覺(jué)得本網(wǎng)站對(duì)您的學(xué)習(xí)有所幫助,可以手機(jī)掃描二維碼進(jìn)行捐贈(zèng)
程序員人生
------分隔線(xiàn)----------------------------
分享到:
------分隔線(xiàn)----------------------------
關(guān)閉
程序員人生
主站蜘蛛池模板: 国产亚洲一区在线 | 亚洲精品国产精品乱码 | 亚洲嫩草 | 综合av在线 | 国产精品一区二区免费 | 欧美视频在线免费 | 日韩三级久久 | 91色在线视频 | 亚洲一区在线免费 | 成人亚洲| 欧美专区视频 | 国产一区二区免费看 | 日本 欧美 在线 | 性一交一无一伦一精一爆 | 久久这里只有 | 久久一区二区三区日韩 | 精品无码久久久久久久动漫 | 视频一区亚洲 | 日韩一区二区在线播放 | 日本亚洲欧美 | 中文字幕一区二区三区在线视频 | 精品在线一区二区三区 | 欧美日韩网站 | 日韩av电影在线播放 | 99国产精品久久 | 免费在线成人 | 在线免费精品视频 | 99在线看 | 亚洲欧美在线播放 | 国产成人99久久亚洲综合精品 | 亚洲精品乱码久久久久久按摩观 | 欧美 日韩 国产 在线 | 国产精品一区二区6 | 欧美精品xxx | 99视频这里有精品 | 欧州一区二区 | 18av在线播放 | 久久久国产精品ⅴa麻豆ai换脸 | 日本一二三区视频在线 | 伦一理一级一a一片 | 成人爽a毛片免费啪啪动漫 久久久国产一区二区三区 国产69久久精品成人看 |