Software Autofocus for UVC cameras under Linux
We have created a stand-alone autofocus application for Logitech USB cameras with proprietary motor focus extension. This application will allow you to automatically set the appropriate focus for a given scene in a few seconds.
The underlying focus-from-image estimation has been integrated into guvcview, and beats all published approaches (according to our tests and to feedback from its developer). Therefore we have made the algorithm available under LGPL license to enable a unified software autofocus for all UVC compatible cameras via libv4l. This is currently under way.