Skip to main content

Step 1: Image Settings (OV20i)

Time: 5-10 minutes

Before the AI can inspect anything, the camera needs to capture a clean, consistent image. This step configures how the camera takes photos.

Remember the waterfall: Everything downstream depends on these settings. If you change image settings later, you'll need to recapture your template image, redo alignment, and potentially retrain your AI model. Get it right now.

Open imaging setup

In your recipe editor, click Configure Imaging. Place your part in the camera's field of view. You'll see a live preview of the current settings.

Configure Imaging screen

The settings that matter most

Focus

The OV20i has software-controlled motorized focus. Adjust via the slider in the imaging panel until edges look crisp and sharp. Use a target with clear edges (like a ruler or the part itself) as your reference.

Focus adjustment: turn until edges are sharp

Exposure (ms)

How long the sensor is exposed to light per capture.

Exposure adjustment: brighter vs darker

  • Higher exposure = brighter image, but more motion blur if the part is moving
  • Lower exposure = sharper image, but darker (may need more lighting)
  • Start in the middle and adjust until the image looks properly lit without blur

Gain

Digital brightness boost (like ISO on a regular camera).

  • Higher gain = brighter but noisier (grainy)
  • Lower gain = cleaner but needs good physical lighting
  • Rule of thumb: Fix brightness with lighting and exposure first. Use gain as a last resort.

Lens Distortion Correction

Lens distortion correction: before and after

Don't skip this

If you're using a wide-angle lens (especially 4-6mm), enable lens correction now. This is one of the most critical and commonly overlooked settings.

Here's why: the aligner (Step 2) looks for edges in the image. Lens distortion warps these edges, especially near the corners of the frame. If you skip this setting now and discover the alignment is unreliable later, you have to come back here, enable correction, and redo everything after this step. This is the waterfall principle in action.

LED Settings

The OV20i has built-in LED lighting you can control directly from the imaging panel:

  • Strobe Mode: Off (continuous) or On (flash only during capture, which reduces heat and saves power)
  • Light Pattern: Which LEDs are active. Adjust to reduce glare on shiny surfaces
  • Light Intensity: Start low and increase until the image is well-lit without hot spots

Other useful settings

SettingWhat it doesWhen to adjust
White BalanceAdjusts color temperatureAuto for variable lighting, manual for consistent setups
GammaAdjusts mid-tone brightnessWhen image is too dark in shadows but highlights are fine
Image RotationRotates the image 0 or 180 degreesWhen the camera is mounted upside down
Photometric ControlMultiple captures with different LED angles, combinedFor detecting subtle surface defects on reflective parts
Use live preview to verify image quality

A good rule of thumb: if you cannot clearly see the defect or feature in the camera image, the AI will not be able to learn it either. Zoom in on the areas you plan to inspect and confirm the detail is visible before moving on.

Changing image settings after capturing a template requires rework

If you change image settings after capturing a template, you must recapture the template and redo alignment. Your inspection regions and trained model may also need to be redone. This is the waterfall principle in action. Get image settings right before proceeding.

Verify before moving on

  1. Click Live Preview

  2. Capture several images

  3. Check that every image is:

    • Sharp (not blurry)
    • Well-lit (no dark areas or hot spots)
    • Consistent (each capture looks similar to the last)
    • The part fills most of the frame
  4. Click Save Imaging Settings

Image settings checklist

Before moving on, confirm:

  • Focus is sharp: edges look crisp in Live Preview
  • Exposure is set: image is properly lit without motion blur
  • Gain is minimal: brightness comes from lighting, not digital boost
  • Lens distortion correction enabled (if using wide-angle lens)
  • LED settings configured: no glare or hot spots
  • Live Preview shows consistent results shot to shot
  • Settings saved

Image looks good? Move to Step 2: Alignment.