Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Mouse control using webcam

1 view (last 30 days)
mallika L
mallika L on 1 Sep 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
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);

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!