How to get access to control system of a usb device using matlab?

1 次查看(过去 30 天)
I connected a USB microscope in Matlab using the code:
cam=webcam(2); %2 stands for the second port 1 is for the webcam
Now using this I got the access to take photos and record videos from the microscope.
image1=snapshot(cam);
Further microscope also has autofocus, brightness adjust and a capacitive touch to capture the image. Autofocus and brightness adjust can be adjusted b turning circular disks embedded within the microscope.
Is there any way to get control over those Matlab or we have to it manually all the time?

回答(1 个)

Chetna Jain
Chetna Jain 2018-2-15
Hey,
You can set device-specific properties for some specific Webcams.
Below given link mentions the properties supported by MATLAB :
You can try these out .
Hope it works!

类别

Help CenterFile Exchange 中查找有关 Image Processing and Computer Vision 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by