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

1 回表示 (過去 30 日間)
shivam sahil
shivam sahil 2018 年 2 月 4 日
回答済み: Chetna Jain 2018 年 2 月 15 日
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 Center および File ExchangeImage 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