How to manually control focus level of winvideo camera
2 views (last 30 days)
Show older comments
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:

Answers (0)
See Also
Categories
Find more on Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!