Info

此问题已关闭。 请重新打开它进行编辑或回答。

Mouse control using webcam

1 次查看(过去 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