What Is Autofocus in a Camera? A Detailed AF Guide


By Kiwibit Team
8 min read

What Is Autofocus in a Camera? A Detailed AF Guide

Autofocus (AF) is a camera system that determines whether the selected subject is sharp and automatically drives the focusing elements inside the lens to correct focus.
When you point a phone at a face, the image quickly becomes clear. When you use a camera to track a running pet, focus updates as the subject moves. Autofocus makes both possible.
This blog starts with the fundamentals and explains how autofocus works, its main types, why it fails, and how it is used.
What is autofocus?
Autofocus is a camera system that measures whether a selected subject is in focus and automatically moves the lens elements to correct it. It controls the focus plane, while subject detection chooses what to prioritize and image recognition identifies what was captured.

Part 1. What Does Autofocus Mean?

1. What is autofocus (AF)?
Autofocus is a system built into a camera. It determines whether the selected subject is sharp and automatically adjusts the position of the focusing elements inside the lens so that the subject forms a sharp focus on the sensor.

2. Why is focusing necessary?
A camera lens can render subjects near only one distance at their sharpest. This sharp region forms around the focus plane. When the subject is near the focus plane, its edges and details are clear. When it moves outside this range, it becomes blurry.
The purpose of focusing is to move the focusing elements in the lens so that the focus plane aligns with the subject’s distance.
3. The basic autofocus cycle
  1. Measure: The camera reads image information within the selected focus area to determine current sharpness and whether the subject is at the correct focus distance.
  2. Calculate: If focus is inaccurate, the processor determines which direction the lens must move. Some systems can also estimate the adjustment distance.
  3. Act: The camera sends a command to the lens motor to move the internal focusing elements. The system then checks sharpness again and makes further corrections when necessary.
4. What is the difference between autofocus and manual focus?
Autofocus suits everyday photography, video, and moving subjects where speed and convenience matter.
Manual focus requires the user to turn the focus ring or adjust on-screen controls. It is useful when the subject is stationary, the light is very low, the foreground is heavily obstructed, or the creator wants to place focus precisely at a specific position.

Part 2. What Are the Main Types of Autofocus Systems?

Common autofocus systems can be divided into CDAF, PDAF, and Hybrid AF.
AF System
Speed
Moving Subjects
Commonly Found In
CDAF (Contrast Detection)
Slower
Weaker; more likely to lose focus
Earlier digital cameras and basic webcams
PDAF (Phase Detection)
Fast
Strong; can predict direction
Flagship phones, professional cameras, and Kiwibit Bird Feeder 2 Pro
Hybrid AF
Fastest
Strongest
High-end mirrorless cameras and the latest flagship phones
1. CDAF (Contrast Detection Autofocus)
CDAF compares contrast along image edges and moves the lens back and forth to find the point of highest contrast, which appears sharpest.
It can confirm focus precisely on stationary subjects, but it often does not know which direction to move at the start. This can produce focus hunting, where focus searches back and forth.
2. PDAF (Phase Detection Autofocus)
PDAF compares the phase difference between paired light rays or image signals to estimate the direction and distance of the focus error. The lens can usually move more directly toward the correct position, making PDAF better suited to subjects approaching the camera, moving away, or suddenly entering the frame.
3. Hybrid AF
Hybrid autofocus generally uses PDAF first to determine direction and distance quickly, then uses CDAF or image algorithms for fine confirmation.
It aims to balance speed and accuracy, but actual performance still depends on the sensor, lens motor, processing algorithms, and available light. The system name alone does not determine the final result.
CDAF, PDAF, and most Hybrid AF systems are forms of passive AF: they analyze light or image information entering the camera.
Active AF emits infrared light, ultrasound, or an assist beam to estimate distance. Most current phones and cameras use passive AF or a combination of technologies rather than relying on only one method.

Part 3. How Does Autofocus Work in Real Shooting?

In real shooting, AF mode, focus area, and subject detection also determine when the system updates, where it searches, and whom it prioritizes. They are not new distance-measuring technologies; they are settings and functions that control how CDAF, PDAF, or Hybrid AF operates.
Concept
What It Is
What It Controls
Best For
AF-S / One-Shot
Single autofocus mode
Locks focus after focusing is complete
Landscapes, still life, and perched birds
AF-C / AI Servo
Continuous autofocus mode
Continuously updates focus as subject distance changes
Sports, pets, and birds in flight or jumping
Focus area / AF points
Focus search-area setting
Limits where in the frame the system may select focus
Single point, zone, or wide according to background complexity
Subject / eye detection
Subject selection and tracking feature
Determines which subject or body part receives priority
People, animals, and birds
1. AF mode: determines when focus stops or continues updating.
AF-S or One-Shot locks after completing one focusing operation, making it suitable for landscapes, still life, and birds that have already settled. If the subject then moves forward or backward, focus will not follow automatically.
AF-C or AI Servo continuously recalculates subject distance and is better suited to sports, pets, and birds in flight.
2. Focus area: determines where the camera searches for focus.
Single point lets the user specify an exact position. Zone lets the camera choose within a smaller region. Wide or auto area can search for a subject across most of the frame. A larger search area is more convenient, but against a complex background the camera is also more likely to select a branch, fence, or perch.
3. Subject detection: determines whom the camera tracks first.
Human-eye, animal, or bird detection analyzes the image and passes the target position to the underlying AF system. It decides “whom to select,” while CDAF, PDAF, or Hybrid AF measures defocus and drives the lens. Even if the camera recognizes a bird, the image may still be out of focus when lens response is too slow, the subject is too close, or light is insufficient.

Part 4. Why Does Autofocus Fail?

What You See
Possible Cause
Check First
Focus jumps back and forth
Low light, low contrast, or reflective surfaces cause focus hunting
Add light and select a target with texture or a clear edge
Background or perch is sharp, but the subject is blurry
Focus area is too wide, or the foreground is easier to detect than the subject
Narrow the focus area and reduce obstruction from leaves, cages, or trays
Subject stays blurry after moving closer
Subject is inside the lens’s minimum focus distance
Increase camera-to-subject distance and check the closest focusing range
Bird’s eye is sharp, but wings are streaked
This is motion blur, not focus blur
Use a faster shutter speed and, when needed, a higher frame rate with sufficient light
Camera cannot reacquire after an obstruction
Tracking and reacquisition are too slow
Test AF-C, subject detection, and reacquisition after obstruction
To learn more about how lenses, light, and shutter speed work together to affect bird images, see this bird photography guide.

Part 5. How to Turn On Autofocus On Camera?

Menu names vary slightly by brand, but most cameras can be configured in the following order.
1. Check the AF/MF switch. If the lens or camera body has an AF/MF switch, set it to AF first. Some cameras also require you to exit Manual Focus in the menu.
2. Select AF mode. Use AF-S or One-Shot for a stationary subject and AF-C or AI Servo for a moving subject.
3. Select the focus area. Use wide/auto area when the background is simple. When the subject is small or the foreground is complex, prioritize single point or zone.
4. Start focusing. Half-press the shutter button or press AF-ON. On a phone, tap the subject on the screen. If a half-press does nothing, check whether shutter-button AF is disabled or back-button focus is enabled.
5. Confirm focus lock. Check the focus box, confirmation beep, or on-screen sharpness before taking the photo or starting the recording.

Part 6. Kiwibit Bird Feeder 2 Pro: The World’s First 4K Auto-Focus Bird Feeder

Photographing birds at close range is harder than it looks. A bird’s head, wings, perch, and feeding tray may sit at different distances, and the bird may suddenly enter, hover, or move toward the feeding port. A fixed-focus camera can keep only the area near its preset distance sharp. Once the subject moves forward or backward, the bird’s eye and feather details may leave the sharp range.
Kiwibit Bird Feeder 2 Pro brings 4K imaging and PDAF phase-detection autofocus to a smart bird feeder. The PIR motion sensor detects bird visits and triggers recording, while PDAF corrects focus as the subject distance changes during capture. The first answers “when should recording start?” and the second answers “where should the lens focus?”
Key Features
  • 4K Ultra HD. Better preserves details in feathers, beaks, and feeding behavior.
  • 1080P 60FPS / 120FPS slow motion. Suitable for reviewing hummingbird wingbeats, hovering, and rapid feeding.
  • 130° wide-angle view. The broader coverage helps record birds as they approach, stay, and leave.
  • Designed for long-term outdoor observation. Dual 5W solar panels can supplement power in suitable sunlight, while the removable 5,200mAh battery simplifies maintenance.

Conclusion. Autofocus Is a System, Not a Single Number

Autofocus is a system that selects a target, measures defocus, drives the lens, and confirms sharpness. CDAF, PDAF, and Hybrid AF determine how a camera evaluates focus. AF-S, AF-C, focus area, and subject detection determine when the system updates, where it searches, and whom it prioritizes.
For everyday photographers, choosing the right focusing system can produce sharper photos. Readers who want to record close-range bird visits automatically can learn more about the Kiwibit Bird Feeder 2 Pro.

FAQ

What is autofocus?

Autofocus is a camera system that automatically determines whether a subject is sharp and drives the lens’s focusing elements to adjust the focus plane. It lets users keep a subject at the selected distance sharp without manually turning the focus ring.

How do I turn autofocus on my camera?

You can turn on and configure autofocus on most cameras with the following steps:
Step 1. Switch to AF. Set the AF/MF switch on the lens or camera body to AF. If there is no physical switch, turn off Manual Focus in the camera menu.
Step 2. Select AF mode. Choose AF-S or One-Shot for stationary subjects and AF-C or AI Servo for moving subjects.
Step 3. Select the focus area. Use single point or zone when the subject is small or the background is complex. Choose wide or auto area when the background is simple.
Step 4. Start and confirm focus. Half-press the shutter button or press AF-ON, then check the focus box or on-screen sharpness before shooting. On a phone, tap the subject on the screen to start focusing.

What is the difference between autofocus and manual focus?

With autofocus, the camera measures focus and drives the lens, making it useful for fast, convenient shooting or moving subjects. With manual focus, the user controls focus directly. It suits stationary subjects, low light, complex obstructions, or situations that require precise creative control.

Is phase-detection autofocus better than contrast autofocus?

PDAF is generally better at quickly determining the direction and distance of a lens correction, making it suitable for moving subjects. CDAF performs fine confirmation by searching for the point of highest contrast.

Why is my camera not auto focusing?

Common causes include insufficient light, low subject contrast, the wrong focus area, foreground obstruction, a subject closer than the lens’s minimum focus distance, a lens set to MF, or subject motion that exceeds the system’s tracking ability.

Leave a comment


Related Products

1 of 3