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

1 visualización (últimos 30 días)
shivam sahil
shivam sahil el 4 de Feb. de 2018
Respondida: Chetna Jain el 15 de Feb. de 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?

Respuestas (1)

Chetna Jain
Chetna Jain el 15 de Feb. de 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!

Categorías

Más información sobre Image Processing and Computer Vision en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by