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

1 visualizzazione (ultimi 30 giorni)
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?

Risposte (1)

Chetna Jain
Chetna Jain il 15 Feb 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!

Categorie

Scopri di più su Image Processing and Computer Vision in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by