資源簡介
自己編的課程設計 可以接受攝像頭輸入 檢測眨眼技術 雖然抗干擾不算太好 但是絕對可以運行 有基本的抗干擾算法在里面 有技術的可以在這基礎上進行改進
代碼片段和文件信息
video_adaptor=imaqhwinfo;
video_get=videoinput(‘macvideo‘1);
%set(video_get‘framesPerTrigger‘20)
%start(video_get);
%for?i=1:10
???%?frame=getsnapshot(video_get);
?%???subplot(25i)
??%??imshow(frame)
?%?imagesc(frame)
%end
triggerconfig(video_get?‘manual‘);
%?Now?that?the?device?is?configured?for?manual?triggering?call?START.
%?This?will?cause?the?device?to?send?data?back?to?MATLAB?but?will?not?log
- 上一篇:matlab文件關聯方法
- 下一篇:脈動風功率譜源碼
評論
共有 條評論