10
$\begingroup$

I am just wondering how does camera auto focus work. What kind of processing does it do on images in order to adjust the focus? Is there freely available code that detects the focus level of an image or video?

$\endgroup$
3
2
$\begingroup$

This answer actually provides free code to perform the focus detection. https://stackoverflow.com/a/3795151/600736

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.