Knowledge · Fundamentals

Calculate camera resolution, field of view and working distance

The smallest relevant detail, the available installation space and the lens determine how many sensor pixels are useful for the inspection.

Industrial camera and optics

Decision

Start with the smallest relevant detail

Resolution only matters once you know how many pixels you want across the smallest critical feature width, and whether lighting and motion keep those pixels usable.

Feature size

Define the smallest defect, edge or code element that must be detected or measured reliably.

Pixels across the feature

Rule of thumb: several pixels across that width, more for gauging, fewer for coarse presence. Always validate.

FOV & working distance

FOV must cover the part (plus margin) at the available WD. Lens + sensor size close that triangle.

Approach

Practical sequence

Include depth of field, lens distortion and mounting angle in the calculation. Otherwise the geometry may work on paper but fail on the line.

  1. 01

    Lock FOV and WD

    Measure the real mount position and clearance, not the ideal catalogue WD.

  2. 02

    Choose sensor + lens

    Pick a sensor size and focal length that deliver FOV at that WD, with room for focus and depth.

  3. 03

    Check pixel size

    Calculate pixels per millimetre and pixels across the relevant detail. Measurement usually requires more image information than presence detection.

  4. 04

    Validate optics and lighting

    Test representative parts under line conditions. Motion blur, reflections and limited depth of field can make the calculated pixel density unusable.

Limits

What this guide does not promise

There is no universal megapixel table. Confirm the lens calculation with representative parts under production lighting and motion.

Gauging ≠ detection

Sub-pixel gauging needs different margins than presence/absence.

Lens first when WD is tight

Sometimes another lens or a second camera beats a more expensive sensor.

Depth of field

Thicker parts or tilt need DOF awareness, resolution alone will not fix it.

Vincent van Montfoort

Check the calculation for your product

Send the smallest detail size, a field-of-view sketch and the available working distance. We can check the camera and lens combination.