Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can I turn off the autofocus of an autofocus-webcam?

Hello all,

I'm using a Webcam (Logitech HD 720p Autofocus) with OpenCV and ROS. Is it possible to turn off the autofocus of the webcam? I already tried to change the camera parameters by setting the parameters:

rosparam set /autofocus false

rosparam set /focus 0

roslaunch [...]

But after this the camera is still autofocussing. Is there any other way?

Thanks a lot!