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

1 vue (au cours des 30 derniers jours)
shivam sahil
shivam sahil le 4 Fév 2018
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?

Réponses (1)

Chetna Jain
Chetna Jain le 15 Fév 2018
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!

Catégories

En savoir plus sur Image Processing and Computer Vision dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by