Tech Review

What camera resolution do you need to inspect a 0.2 mm scratch?

AKT Vision ·

Across a 120 mm field of view, a 1920-pixel-wide image gives a 0.2 mm scratch a width of 3.2 pixels. Widen the view to 240 mm and the same scratch occupies just 1.6 pixels. Start with the area the camera must cover and the width of the defect you need to see.

A 0.2 mm scratch spans 3.2 pixels at a 120 mm field width and 1.6 at 240 mm.
Magnified sampling diagram. Each grid cell is one pixel. The red band marks the geometric width of the scratch. Actual pixel intensities depend on the optics and surface.

Work backwards from the scratch width

Suppose a part can shift on the belt. Measure the full width you need to inspect, including that positional margin. For this example the scratch runs vertically, so its narrow dimension crosses the horizontal pixels. Use the corresponding vertical dimensions if the scratch runs horizontally.

Pixels across scratch = scratch width × horizontal image pixels ÷ field width

As a starting point for a bench test, suppose you want three pixels across the scratch. A 120 mm field then requires 3 × 120 ÷ 0.2 = 1800 horizontal pixels. At 240 mm the requirement doubles to 3600. Three pixels is a design assumption to test on your samples. Detection also depends on lens contrast, focus and illumination.

Check what the inspection algorithm actually receives

If a pipeline resizes the entire 1920-pixel frame to 640 pixels wide, a 3.2-pixel scratch becomes about 1.07 pixels wide at the model input. Compare a native-resolution crop with the resized frame before buying a higher-resolution camera. For tiled inspection, overlap adjacent tiles and test scratches that cross the seam.

A short test before you specify the camera

  1. Calibrate with a scale at the inspection plane. Check the centre and corners with the lens, focus and working distance you intend to use.
  2. Capture the same marked scratch under two lighting directions. Include good parts with similar surface texture. Check whether the defect stays visible as the part rotates.
  3. Repeat at line speed. At 500 mm/s, a 0.2 ms exposure allows 0.1 mm of travel, or 1.6 pixels in the 120 mm setup. Check motion across the scratch as well as along it.
  4. Count missed defects and incorrectly rejected good parts separately. Record the number inspected in each group, the lighting setup and the model input size so the next test is comparable.

Optics reference · Edmund Optics — Sensors and Lenses

Copyright 2026 AKT Vision. All rights reserved.