Autofocus
Autofocus is a mechanism used in cameras to automatically adjust the lens so that a subject appears sharp in the final image. It relies on sensors and actuators to detect focus errors and to move optical elements accordingly, reducing or eliminating the need for manual focusing.
The core methods are phase-detection and contrast-detection. Phase-detection compares light paths to estimate the required adjustment
Common autofocus modes include single-shot or one-shot AF, where focus is locked after acquisition for stationary
Autofocus systems vary by platform. DSLRs often use an external phase-detection sensor in the viewfinder path,
History and development trace autofocus from early research to widespread consumer use in the 1980s and 1990s,