Lighting Setup Checklist for AI Visual Inspection

By Johnson on July 20, 2026

lighting-setup-checklist-ai-visual-inspection

Lighting is the single largest lever in an AI visual inspection system — the right source improves contrast more than any model change and cuts training data needs by half. Bad lighting produces images no neural network can rescue, and the failure looks like a model problem when it is physics. This checklist covers 66 action items across eight phases — pre-setup, technique, positioning, intensity, wavelength, ambient control, controller, and sign-off. Walk it before power-on — book a walkthrough for an engineer to review the completed form.

Deployment Checklist · 66 items · 8 phases

Lighting Setup Checklist for AI Visual Inspection

A step-by-step verification checklist for machine-vision lighting design. Type, angle, intensity, uniformity, color temperature, ambient control, and controller integration — every illumination decision that anchors AI inspection accuracy on the production line.

How to Use This Checklist

1

Print or Assign

Print for the vision integrator or assign as a CMMS task against the inspection station ID.

2

Walk Each Phase in Order

Technique selection feeds positioning, which feeds intensity. Skipping ahead forces expensive rework.

3

Prove With a Test Image

Every phase produces a saved captured image, a lux reading, or a signed line item.

4

Sign, File, Handover

Installer and line supervisor sign at completion. Only then does model training begin.

Phase 01

Pre-Setup Planning & Requirements

10 items
Everything decided here reduces trial-and-error during physical setup. Skip this phase and technicians spend a shift moving lights around trying to find contrast.

1.1 Defect class documented in writing

Surface, dimensional, color, presence, texture, or 3D profile — each drives a different lighting choice.


1.2 Part material and surface finish characterized

Reflective, matte, translucent, or textured — noted with sample photos before any light is selected.


1.3 Camera position, WD, and FOV finalized

Phase 03 of the camera placement checklist complete. Lighting geometry is derived from camera geometry.


1.4 Line speed and exposure budget known

Max exposure time calculated from line speed and pixel-per-mm target. Drives strobe or continuous decision.


1.5 24-hour ambient light audit scheduled

Every shift, sunrise, sunset, and machinery cycle mapped for its impact on the inspection zone before ordering hardware.


1.6 Compliance requirements verified

Food-safe housing, IP rating, ATEX certification, or eye-safety class documented per site regulation.


1.7 Electrical supply confirmed at station

24VDC, 48VDC, or mains — voltage, current, and connector type verified before controller ordering.


1.8 Thermal load and cooling path assessed

High-power LEDs and structured light sources need airflow or heatsinking. Placement respects thermal envelope.


1.9 Bench proof-of-concept on real parts

Sample defects imaged under candidate lighting techniques before any purchase. Photos filed in the deployment record.


1.10 Lifecycle cost and LED lifetime budgeted

Replacement cadence, spares stocking, and mean-time-between-failure included in the deployment cost model.

Phase 02

Lighting Technique Selection

10 items
Match the technique to the defect physics, not to what is already on the shelf. Wrong technique is the top cause of persistent low contrast.

2.1 Brightfield ring or bar for flat matte surfaces

High-angle front lighting, LED bar or ring, general-purpose. Baseline choice when the part is matte and flat.


2.2 Darkfield low-angle for scratches and texture

Light angle between 0 and 45 degrees to the surface — reveals scratches, engravings, and micro-texture defects.


2.3 Backlight for silhouette and dimensional

Diffuse backlight behind the part. Produces black-on-white silhouette for presence, edge, and dimensional gauging.


2.4 Coaxial on-axis for flat reflective parts

DOAL through a beam splitter — wafers, PCBs, display panels, mirrored surfaces. Only works with truly flat parts.


2.5 Diffuse dome for curved reflective parts

Salad-bowl geometry, camera through top opening. Removes glare on automotive parts, plastics, and shiny curved bodies.


2.6 Line light for line-scan or high-speed conveyors

Narrow high-intensity strip synchronized with a line-scan camera or short exposure on a fast area-scan.


2.7 Structured laser line for 3D profile

Laser line projected across the part surface — used to detect dents, warp, or dimensional variation in 3D.


2.8 Multispectral or RGB for color-critical work

Separate red, green, blue, or near-IR channels used to increase contrast between materials or spot dye defects.


2.9 Multi-technique controller if defect classes vary

Multiple lights on one station, individually addressable per inspection cycle. Reduces cost of second station.


2.10 Selected technique validated against test parts

Defect visibility confirmed on real production samples — good and defective — before mounting hardware.

Phase 03

Positioning, Angle & Mounting

10 items
Physical placement of the light relative to the camera and part. Measurements, not judgment — every angle documented.

3.1 Angle set per lighting technique

0° for coaxial, 15–30° for darkfield, 45° for brightfield, 90° for backlight — measured with a digital protractor.


3.2 Light-to-part distance optimized for contrast

Distance adjusted until defect visibility peaks. Distance recorded on the setup form with a photograph.


3.3 Light aimed perpendicular to critical defect axis

For linear defects like scratches, light comes from the side perpendicular to the scratch direction.


3.4 Rigid mount — no vibration transfer

Light mounted to the same rigid frame as the camera. Vibration blurs illumination the same way it blurs imaging.


3.5 Working envelope clear of part, robot, conveyor

Light body, cable, and heatsink confirmed clear of moving parts, product envelope, and safety zones.


3.6 Anti-glare shroud fitted around inspection zone

Baffles, tunnels, or matte-black shrouds installed to block operator view of the source and stray reflections.


3.7 No shadow zones on the inspection region

Test image checked for shadows cast by fixtures or the part itself. Second light or diffuser added if needed.


3.8 Contrast verified across full part travel

Part moved through the entire inspection window. Contrast holds across the full path, not just at trigger point.


3.9 Light-camera-part geometry photographed

Multiple-angle photos filed against the station ID so future service can restore the exact geometry.


3.10 Position locks engaged and witness-marked

Every adjustment axis locked and painted so any post-installation drift is immediately visible at inspection.

Phase 04

Intensity & Uniformity

8 items
Intensity and uniformity are what the sensor actually sees. Both measured with instruments, not by eye.

4.1 Intensity measured at part plane with lux meter

Actual illumination at the inspection surface recorded in lux. Not estimated from datasheet or ambient reading.


4.2 Uniformity under 10% variation across FOV

Lux readings taken at nine points across the field of view. Max-to-min ratio confirmed within 10 percent.


4.3 Exposure time minimized for motion tolerance

Exposure set as short as possible to freeze motion. Intensity raised to compensate rather than lengthening exposure.


4.4 Overdrive strobe configured for high-speed lines

LEDs pulsed at 2–20x continuous rating for microsecond-scale exposures. Only usable with a strobe controller.


4.5 Sensor histogram fills the mid-range

Captured image histogram sits between 20% and 80% of dynamic range. No clipped highlights or crushed blacks.


4.6 No hot spots or dark corners in captured image

Full-field image reviewed at 100 percent zoom. Any hot spot or vignette flagged for diffuser or repositioning.


4.7 20% intensity headroom reserved for LED aging

Light not run at maximum. LEDs lose 20–30% output over lifetime; headroom lets automatic compensation absorb it.


4.8 Cross-shift stability verified over 24 hours

Lux readings logged at multiple times across a full production cycle. Any drift beyond 5% investigated.

Stuck on lighting technique or angle?

Share sample parts, defect photos, and the current setup — an iFactory vision engineer proposes a corrected geometry within 24 hours.

Phase 05

Color Temperature & Wavelength

6 items
Wavelength is often the fastest contrast fix — the same defect can be invisible in red light and obvious in blue. Choose deliberately.

5.1 Wavelength matched to defect contrast physics

Blue reveals fine scratches on metal, red blends with red parts, green often best for text OCR. Tested on real defects.


5.2 Near-IR selected for through-package inspection

IR penetrates thin plastic, paper, and some food films — used to inspect content inside sealed packaging.


5.3 UV chosen for fluorescence and leak detection

UV excites fluorescent dyes in adhesives, leak indicators, and some contaminants. Eye and skin safety verified.


5.4 CRI above 80 for color-critical applications

Color rendering index checked when inspection involves matching or measuring color. Below 80, color reads shift.


5.5 Color temperature documented (2700K–6500K)

Warm white to cool white specified per application. Locked at controller and recorded on setup form.


5.6 Multispectral controller programmed if applicable

RGB or multi-channel light sequences programmed and sync'd to camera captures for each defect class.

Phase 06

Ambient Light Control

8 items
Ambient light changes across shifts, seasons, and weather. Contrast that holds at 2 AM will not hold at noon unless controlled.

6.1 24-hour ambient audit completed and logged

Lux readings taken at inspection zone every hour for a full production cycle including all shift changes.


6.2 Sunlight paths mapped through the year

Windows, skylights, and garage doors traced for the seasonal sun path — summer noon is the worst case.


6.3 Enclosure or tunnel installed around inspection zone

Matte-black shroud or full tunnel around the camera-part-light triangle. Ambient light does not reach the part.


6.4 Overhead factory light contribution measured

Overhead LEDs and HID lights measured with the inspection light off. Their contribution stays below 5% of source.


6.5 Nearby machinery lighting addressed

Welding arcs, torches, and inspection lamps on adjacent lines evaluated. Baffles or timing separation added if needed.


6.6 Reflective surfaces near the zone matted or covered

Stainless guards, polished chutes, or glossy signage matted with black film or repainted flat.


6.7 Contrast measured at worst-case ambient

Test images captured at the peak ambient condition. Contrast still meets threshold with worst-case interference.


6.8 Emergency lighting effect verified

E-stop and emergency lighting simulated. Confirmed not to falsely trigger inspection or blind the sensor.

Phase 07

Controller & Integration

8 items
The controller decides how consistent the light stays across a million inspections. Cheap drivers age fast and drift silently.

7.1 Constant-current LED driver specified

Constant-current — not voltage-regulated — driver used. Prevents thermal runaway and holds intensity as LEDs age.


7.2 Camera trigger sync verified on oscilloscope

Light pulse rising edge, width, and delay measured against camera exposure gate. Jitter under 10 microseconds.


7.3 Strobe timing tuned to line speed

Strobe duration set for the shortest exposure that captures the smallest defect at production line speed.


7.4 Dimming resolution matches inspection tolerance

Controller step size fine enough to hold intensity within measurement tolerance. Coarse dimming causes reject spikes.


7.5 Multi-channel controller for multi-light setups

Each light on its own addressable channel. Sequence programmed for defect-specific illumination cycles.


7.6 PLC or edge processor integration wired and tested

Trigger, dim, and enable signals wired through the automation layer and confirmed with a full production cycle.


7.7 Over-temperature protection active

Controller and light thermal cutout verified. LEDs auto-shutdown before permanent damage or color shift occurs.


7.8 Failure alarm routed to CMMS

Any light or controller failure raises an alarm in the CMMS against the station asset — no silent degradation.

Phase 08

Verification & Sign-Off

6 items
Final gate before model training begins. Every earlier phase produces evidence that gets checked off here.

8.1 Test parts imaged with defect visibility confirmed

Known-good and known-defect samples captured under final lighting. Defects clearly visible in the raw image.


8.2 Cross-shift ambient variation test passed

Inspection run through two shift changes minimum. Consistent contrast and no ambient-driven false rejects.


8.3 LED intensity baseline logged

Initial lux and controller setpoint archived. Future readings compare against this baseline for aging monitoring.


8.4 Cleaning access rehearsed

Technician confirms lights and diffusers can be wiped in under 30 seconds during a normal stoppage.


8.5 Lighting SOP posted at station

Cleaning schedule, adjustment lock-out policy, and failure-response steps posted at the station and filed in CMMS.


8.6 Installer and line supervisor sign the form

Both signatures on the lighting verification form. Archived against station ID with all measurements and photos.

Lighting Technique Quick Reference

Use this table as a first-pass technique picker during Phase 02. Always validate on real defect samples before purchase.

Defect / Inspection TypeRecommended TechniqueTypical AngleBest Wavelength
Scratches on metal / plastic Darkfield low-angle 15–30° Blue or white
Presence / edge / dimensional Diffuse backlight 180° (behind) Red or white
Reflective flat surface (wafer, PCB) Coaxial (DOAL) 0° on-axis White or green
Curved shiny parts (automotive) Diffuse dome Full hemisphere White
General flat matte inspection Brightfield ring or bar 45–60° White
3D profile / dent / warp Structured laser line 30–45° Red laser (typ. 660 nm)
Through-package content check Near-IR backlight 180° (behind) 850–940 nm IR
Adhesive or leak fluorescence UV flood 45° 365–395 nm UV

Frequently Asked Questions

Which lighting technique should I choose first?

Start from the defect physics — what makes the defect visibly different from a good surface. Scratches and texture need darkfield low-angle lighting. Silhouette and edge measurement need backlight. Shiny curved parts need a diffuse dome. Flat reflective surfaces need coaxial. General matte inspection uses brightfield ring or bar lights. If the defect is invisible to your eye at every angle, no lighting will help — the defect needs a different wavelength or a different inspection modality. iFactory publishes decision worksheets and sample images per technique at the support portal to shorten the selection process.

How much does ambient light really affect inspection accuracy?

Ambient light is the top cause of false-reject spikes correlated to time-of-day patterns. A single unfiltered window can add 500–2000 lux to the inspection zone at midday, easily overwhelming a 200-lux inspection light. Even overhead factory LEDs contribute enough contrast shift to move borderline defect readings across threshold. The fix is almost always mechanical — a matte-black shroud or tunnel around the inspection triangle. Software compensation with the same hardware never fully catches up. Every iFactory deployment specifies a shroud or tunnel by default and verifies contrast at worst-case ambient before sign-off.

Should I use continuous lighting or strobe?

Continuous lighting is simpler and appropriate for stationary parts, low-speed conveyors, and applications where exposure times over 5 milliseconds are acceptable. Strobe lighting is required when motion blur is a risk — high-speed conveyors, robot-mounted parts, or any inspection with an exposure budget under 1 millisecond. Strobe drivers can overdrive LEDs by 2–20 times their continuous rating for microsecond bursts, delivering more light with less heat. iFactory recommends strobe by default for any line moving faster than 100 parts per minute. Book a review to size the right strobe duration for your line speed.

How often do industrial LED lights need replacement?

Quality machine-vision LEDs are rated for 50,000–100,000 operating hours to L70 — the point where output has fallen to 70 percent of new. In a two-shift factory that translates to roughly 5–10 years of service. Actual replacement should happen sooner, driven by measured intensity drift rather than clock time. When the lux reading at the part plane drops beyond the 20 percent headroom reserved at commissioning, replace the light. Log lux readings quarterly against the deployment baseline. Full inspection and cleaning guidance is on the support site.

Can I retrofit lighting on an existing vision installation?

Yes, but retrofit lighting almost always exposes camera and mount decisions that need revision too. If a retrofit adds a diffuse dome, the camera has to look through the top — its position and working distance may need to shift. If backlight is added, part fixturing changes to expose the silhouette. Plan retrofits with the camera placement checklist alongside this one. iFactory retrofit projects walk both checklists together to catch dependencies before hardware is ordered, and the vision team publishes a combined retrofit worksheet on the support portal.

Get Your Lighting Setup Audited Before Model Training

Share your defect samples, current setup photos, and captured images — iFactory engineers validate technique, angle, intensity, and controller integration and return a signed sign-off pack before training data capture begins. Deployments across automotive, food, pharma, electronics, and heavy manufacturing.


Share This Story, Choose Your Platform!