How to manually control focus level of winvideo camera

2 views (last 30 days)
Hi,
I'm using a USB camera via a image acquisition toolbox.
Is there a way to manually control the focus level of the camera through MATLAB code?
This post doesn't help much in the addressing this problem:
Anyone have any idea or further info on how to do this?
Thank you.
This is the imaq info:
dev_info = imaqhwinfo('winvideo',1)
dev_info =
struct with fields:
DefaultFormat: 'RGB24_1280x720'
DeviceFileSupported: 0
DeviceName: 'Integrated Camera'
DeviceID: 1
VideoInputConstructor: 'videoinput('winvideo', 1)'
VideoDeviceConstructor: 'imaq.VideoDevice('winvideo', 1)'
SupportedFormats: {1×27 cell}
The video info:Untitled.png

Answers (0)

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!