Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Mouse control using webcam

2 ビュー (過去 30 日間)
mallika L
mallika L 2016 年 9 月 1 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
i try to interface webcam and run the code for virtual mouse control but I have the error "No public field Exposure exists for class imaq.internal.DeviceProperties". I dont know what to do. kindly anyone help me with this??? Thank you..
vidDevice = imaq.VideoDevice('winvideo', 1, 'YUY2_640x480', ...
'ROI', [1 1 640 480], ...
'ReturnedColorSpace', 'rgb');
set(vidDevice.DeviceProperties, 'Exposure', -7);
set(vidDevice.DeviceProperties, 'FrameRate', '30.0000');
set(vidDevice.DeviceProperties, 'Sharpness', 100);
set(vidDevice.DeviceProperties, 'Zoom',2);
vidInfo = imaqhwinfo(vidDevice);

回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by