Resources · Technology

What goes into a vision system

Every One Box Vision system is built from commercial off-the-shelf components in an open system. This guide explains the choices: cameras, optics, lighting and software.

CamerasOptics and lensesLightingSoftware

Cameras

Area scan, line scan, 3D and non-visible cameras, selected and configured for your material, speed and defect size.

2D Area Scan Cameras

The workhorse of machine vision

The most common type of machine vision camera. Area scan cameras capture an entire two-dimensional grid of pixels in a single, instantaneous exposure — exactly like a standard digital camera taking a complete snapshot.

How it works and when to use it

Area scan cameras capture a full rectangular image (width × height) in one exposure. Every pixel in the sensor array is read simultaneously, producing a complete 2D image per trigger event. This makes them ideal for stop-and-inspect or triggered acquisition workflows.

They function exactly like a smartphone or digital camera — taking a complete snapshot in one go.

Best for

  • Inspecting stationary or indexed objects
  • Scanning defined areas in a single acquisition
  • Barcode and 2D code reading
  • Pick-and-place guidance
  • Applications requiring fixed, predictable resolution

Key specs

  • Resolutions from VGA to 150+ megapixels
  • GigE Vision, USB3 Vision, CoaXPress, Camera Link interfaces
  • Global and rolling shutter options
  • Frame rates from 10 fps to 1,000+ fps
  • Monochrome and color sensor variants

2D Line Scan Cameras

Continuous imaging for moving materials

Line scan cameras build complete 2D images one row of pixels at a time as the target moves past the camera. This makes them uniquely suited to high-speed continuous manufacturing where the material never stops.

How it works and when to use it

Instead of capturing a full rectangle of pixels, line scan cameras contain a single, narrow horizontal row of pixels. They build a complete 2D image row-by-row as the target object moves through the field of view — much like a document scanner stitching a copy together one strip at a time.

The capture process operates like a traditional document scanner or photocopier, building the image one narrow strip at a time.

Best for

  • High-speed web inspection (paper, film, foil, textiles)
  • Continuous steel, glass, and nonwoven material inspection
  • Inspecting rotating cylindrical objects
  • Applications requiring unlimited length resolution
  • Print quality inspection on continuous rolls

Key specs

  • Line widths from 1K to 16K+ pixels
  • Line rates up to 300 kHz+
  • Single-line, dual-line, and TDI sensor architectures
  • GigE Vision and CoaXPress high-bandwidth interfaces
  • Monochrome, color (trilinear), and multispectral variants

3D Machine Vision Cameras

Adding depth to inspection

3D vision systems capture volumetric data, adding a depth dimension (Z-axis) to standard 2D images. This enables measurement of height, volume, shape, and surface topology that flat imaging simply cannot achieve.

How it works and when to use it

3D cameras generate point clouds or height maps by measuring the distance from the sensor to every point on the object's surface. Different technologies achieve this in distinct ways, each with trade-offs in speed, resolution, and range.

Best for

  • Volume and fill-level measurement
  • Surface flatness and warp inspection
  • Robotic bin picking and depalletizing
  • Weld seam tracking and guidance
  • 3D shape matching and assembly verification

Key specs

  • Z-axis resolution down to single-digit microns
  • Measurement ranges from millimeters to meters
  • Profile rates up to 45 kHz+ (laser profilers)
  • GigE Vision and GenICam-compliant interfaces
  • IP65/67-rated industrial housings available

1D Machine Vision Systems

Specialized single-line analysis

Highly specialized systems that analyze digital signals one single line at a time. Rather than building a 2D image, they process each scan line independently for real-time continuous defect detection.

How it works and when to use it

1D systems capture and process a single row of pixel data per scan event. Each line is analyzed individually in real time — detecting defects, edges, or material variations as the web passes through at full production speed. There is no image reconstruction; the intelligence operates on the signal level.

Best for

  • Detecting continuous defects on fast-moving web materials
  • Edge detection and width measurement on webs
  • Real-time streak and line defect detection
  • Ultra-high-speed inspection where 2D imaging is not required

Key specs

  • Line rates exceeding 100 kHz
  • Real-time per-line signal processing
  • Purpose-built for web and roll-to-roll applications
  • Extremely low latency for real-time reject triggering

Smart Cameras

Vision intelligence on the device

Smart cameras integrate the image sensor, processor, and analysis software directly into a single compact device. They perform inspection, measurement, and decision-making autonomously — without streaming images to an external PC.

How it works and when to use it

Smart cameras combine an imaging sensor with an onboard processor running embedded vision software. They acquire, process, and analyze images internally, outputting only pass/fail decisions, measurement data, or decoded strings over industrial fieldbus protocols.

Best for

  • Space-constrained installations
  • Standalone pass/fail inspection stations
  • Barcode and 2D code reading
  • Simple dimensional measurement
  • Applications requiring real-time autonomous decisions

Key specs

  • Integrated sensor, processor, and I/O in one housing
  • Built-in LED illumination on some models
  • Industrial protocols: Ethernet/IP, PROFINET, Modbus TCP
  • Web-based configuration interfaces
  • Compact form factors (< 50mm cube bodies available)

Non-Visible & Spectral Cameras

Seeing beyond the visible spectrum

Spectral cameras operate outside the visible light range, revealing material properties, chemical composition, and thermal characteristics invisible to conventional cameras. They unlock inspection capabilities that standard RGB imaging cannot achieve.

How it works and when to use it

These systems use specialized sensors sensitive to specific wavelength bands — from short-wave infrared through long-wave thermal. By capturing how materials interact with non-visible radiation, they extract information about composition, temperature, and subsurface features.

Best for

  • Temperature monitoring and thermal profiling
  • Seeing through silicon, plastics, and opaque materials
  • Chemical composition and material sorting
  • Moisture detection and coating thickness measurement
  • Food safety and pharmaceutical inspection

Key specs

    How to choose

    Object motion

    Stationary objects suit area scan; moving webs and conveyors are ideal for line scan or 1D systems.

    Dimensional requirements

    If you need height, volume, or surface topology data, 3D technologies are essential.

    Speed & throughput

    Production line speed dictates whether you need high frame rate area scan, high line rate line scan, or real-time 1D processing.

    Resolution & field of view

    The smallest defect or feature you need to detect determines sensor resolution and optics selection.

    Material properties

    Some materials are transparent, reflective, or invisible under standard lighting — spectral cameras can reveal what visible light cannot.

    Integration complexity

    Smart cameras minimize integration effort for simpler applications; PC-based systems offer maximum flexibility for complex inspections.

    Optics and lenses

    The lens sets what the camera can see. We select and design optics for working distance, field of view, depth of field and measurement accuracy.

    Standard (Entocentric) Lenses

    The foundation of machine vision optics

    Standard entocentric lenses are the most widely used optics in machine vision. They have an angular, diverging field of view — objects further from the lens appear smaller, just like the human eye or any consumer camera.

    How it works and when to use it

    Light rays enter the lens at diverging angles defined by the focal length and aperture. As an object moves further away, its magnification decreases proportionally. This perspective projection makes distant objects appear smaller relative to near objects within the same frame.

    They operate exactly like the human eye or a standard camera lens. If you look down a long hallway, the walls appear to converge in the distance — that's perspective distortion, and entocentric lenses exhibit the same behavior.

    Best for

    • General-purpose machine vision imaging
    • Presence/absence detection
    • Standard barcode and 2D code reading
    • Color and texture inspection
    • Applications where precise dimensional measurement is not critical

    Key specs

    • Focal lengths from 4 mm to 100 mm+
    • C-mount and CS-mount interfaces
    • Fixed focal length and varifocal options
    • Manual and motorized iris control
    • Megapixel-rated for high-resolution sensors

    Telecentric Lenses

    Zero-distortion precision optics

    Telecentric lenses use a complex parallel-ray optical design that completely eliminates perspective distortion (parallax). They maintain constant image magnification regardless of the object's distance from the lens, within the depth of field.

    How it works and when to use it

    By placing an aperture stop at the rear focal point, only light rays entering parallel to the optical axis reach the sensor. This parallel-ray architecture means an object's apparent size does not change as it moves closer to or further from the lens — magnification remains constant across the entire depth of field.

    Imagine watching a train recede into the distance, but it never appears to shrink — it stays exactly the same size no matter how far away it gets. If you look straight down at a cylindrical pipe through a telecentric lens, you will only see the top rim, with no view of the inner or outer walls.

    Best for

    • High-precision dimensional metrology
    • Accurate gauging with micrometer tolerances
    • Edge detection on parts that vibrate or shift on a conveyor
    • Flat-panel and wafer inspection
    • Measurement applications requiring calibrated magnification

    Key specs

    • Telecentricity error < 0.1°
    • Magnification from 0.1× to 10×+
    • Distortion < 0.1% across the field
    • Large front element diameters for wide fields of view
    • Fixed magnification (object-side telecentric) or bi-telecentric designs

    Liquid Lenses

    Dynamic focusing without moving parts

    Liquid lenses abandon mechanical glass movement entirely. They use electrowetting technology — two immiscible liquids enclosed in an elastic polymer membrane — to change focal length electronically in milliseconds, with no mechanical wear.

    How it works and when to use it

    An electrical current applied to the lens cell changes the electrostatic pressure on the interface between two immiscible liquids (typically oil and water). This instantly alters the curvature of the liquid meniscus, shifting the focal length without any moving glass elements. Response times are typically under 10 ms.

    They function almost exactly like the crystalline lens inside the human eye, which relies on ciliary muscles to instantly reshape itself and shift focus from a book in your hands to a mountain in the distance — but driven by electrical signals rather than muscle contractions.

    Best for

    • High-speed logistics and package sorting
    • Inspecting objects at varying heights on a conveyor
    • Multi-focal-plane inspection in a single station
    • Barcode reading across varying working distances
    • Any application requiring rapid, wear-free autofocus

    Key specs

    • Focus response time < 10 ms
    • No mechanical moving parts — zero wear
    • Diopter range typically ±10 D or more
    • Millions of focus cycles without degradation
    • Compact form factor integrates into standard lens tubes

    Hypercentric (Pericentric) Lenses

    See the top and sides simultaneously

    Hypercentric lenses use converging light rays instead of parallel or diverging ones. This unique optical geometry allows the lens to capture the top surface and all sides of an object simultaneously in a single image — from a single camera position.

    How it works and when to use it

    By designing the entrance pupil to be larger than the object itself and positioning it in front of the object, light rays converge rather than diverge. This means the lens can 'see around' the object, capturing the top face and the full circumference of the side walls in one exposure without needing mirrors or additional cameras.

    Imagine being able to wrap your field of vision entirely around a soup can — reading the label on all sides and seeing the top lid at the exact same time, from a single vantage point directly above.

    Best for

    • Inspecting cylindrical objects (batteries, vials, bottles)
    • Threaded cap and closure inspection
    • Simultaneous top and side surface inspection
    • Replacing multi-camera and mirror setups with a single camera
    • Pharmaceutical container and label verification

    Key specs

    • Converging (negative) viewing angle
    • Object diameter determines maximum field of view
    • Fixed working distance and magnification
    • Designed for specific object size ranges
    • Telecentric on the image side for sensor compatibility

    Borescopes & Endoscopes

    Inspecting what you cannot see

    Borescopes and endoscopes are long, thin optical instruments — rigid or flexible — with a specialized lens system and integrated illumination at the tip. They allow visual inspection deep inside cavities, bores, and enclosed spaces that are otherwise impossible to reach.

    How it works and when to use it

    A miniaturized lens system at the distal tip captures the image, which is relayed through the tube body via a series of relay lenses (rigid) or a coherent fiber optic bundle (flexible). Integrated LED illumination at the tip provides the necessary lighting inside dark cavities. The image is delivered to an eyepiece, camera adapter, or directly to a digital sensor.

    Very similar to the medical endoscopes a doctor uses to look inside the human body — but engineered with hardened optics and housings to withstand industrial fluids, high temperatures, and harsh environments.

    Best for

    • Non-destructive testing of internal cavities
    • Inspecting machined engine cylinders and bores
    • Aerospace turbine blade and weld inspection
    • Internal pipe and tube surface inspection
    • Quality verification inside assembled components

    Key specs

    • Tube diameters from 0.5 mm to 12 mm+
    • Working lengths from 50 mm to several meters
    • Rigid, semi-rigid, and fully flexible configurations
    • Integrated LED illumination at the tip
    • Field of view from 40° to 120° with side-view and forward-view options

    How to choose

    Measurement accuracy

    If sub-pixel or micrometer precision is required, telecentric optics eliminate the perspective errors that standard lenses introduce.

    Working distance

    The physical space between the lens and the object constrains your lens choice. Borescopes solve tight-access problems; telecentric lenses require specific working distances.

    Field of view

    The area you need to image determines focal length for standard lenses, or the front element diameter for telecentric optics.

    Depth of field

    Objects at varying distances need either telecentric optics (constant magnification across DOF) or liquid lenses (rapid refocusing).

    Object geometry

    Cylindrical, recessed, or enclosed objects may require hypercentric or borescope optics to capture surfaces that standard lenses simply cannot see.

    Speed & dynamic focus

    Applications with rapidly changing object distances benefit from liquid lens technology — millisecond refocusing with zero mechanical wear.

    Lighting

    Illumination makes the defect visible before any algorithm runs. Our Lotus and Corona LED lights and the geometries below cover clear film to glossy foil.

    Ring Lights

    Uniform, shadow-free direct illumination

    Ring lights mount directly around the camera lens, projecting light along the optical axis. This geometry delivers uniform, shadow-free illumination on flat and low-profile surfaces — the most common starting point for machine vision lighting.

    How it works and when to use it

    An annular array of LEDs surrounds the lens aperture, directing light straight down onto the object from all radial directions simultaneously. Because the light source encircles the lens, shadows cast by surface features are filled from every angle, producing extremely even illumination with minimal shadowing on flat targets.

    Picture a ring of stadium floodlights arranged in a circle directly above a football pitch. Every point on the field is lit from all sides equally, eliminating the long shadows you would get from a single spotlight on one side.

    Best for

    • Flat surface inspection and scratch detection
    • PCB and electronic component inspection
    • Barcode and label reading at close range
    • Color and print quality verification
    • Low-angle variants for highlighting surface texture

    Key specs

    • Inner diameters from 10 mm to 150 mm+
    • High-angle (direct) and low-angle (dark field) variants
    • White, red, blue, green, and IR wavelengths
    • Continuous and strobe (overdrive) operation
    • Diffuse and spot models available

    Bar (Linear) Lights

    High-intensity directional illumination

    Bar lights are elongated, linear LED arrays that provide a concentrated curtain of light along a single axis. They are the standard illumination choice for line scan camera applications and any setup requiring directional, high-intensity lighting across a wide field.

    How it works and when to use it

    A dense row of LEDs is arranged in a linear housing with integrated optics (lenses or reflectors) that collimate or focus the light into a narrow, high-intensity stripe. Multiple bars can be angled and positioned around the target to create bright field, dark field, or directional lighting geometries.

    Think of the fluorescent tube lights above a workbench — except engineered to concentrate all their output into a thin, precise curtain of light rather than flooding the entire room.

    Best for

    • Line scan camera illumination on web inspection systems
    • Wide-field area scan applications
    • Directional side-lighting for surface defect detection
    • High-speed conveyor and sortation systems
    • Multi-bar setups for complex lighting geometries

    Key specs

    • Lengths from 50 mm to 2,000 mm+
    • Spot and flood beam angle variants
    • High-intensity strobe capable (up to 10× continuous brightness)
    • White, red, blue, green, IR, and UV wavelengths
    • IP65/67 washdown-rated housings available

    Backlights

    Silhouette imaging for edge and profile measurement

    Backlights are uniform, flat-panel LED sources placed behind the object, directly opposite the camera. They turn the object into a high-contrast silhouette, making edges, holes, profiles, and dimensional features stand out with maximum sharpness.

    How it works and when to use it

    A dense LED array behind a diffusion panel produces an extremely uniform, flat illumination surface. The object is placed between this light source and the camera, blocking the light and creating a crisp, high-contrast shadow. The camera sees only the object's outline against a bright, featureless background.

    The same principle as shadow puppets — you place an object between a bright wall and your eyes, and you see a perfectly sharp outline. The brighter and more uniform the wall, the sharper and more precise the silhouette.

    Best for

    • Dimensional gauging and profile measurement
    • Edge detection with sub-pixel precision
    • Hole, slot, and feature presence/absence checks
    • Threaded fastener and pin inspection
    • Telecentric lens pairings for precision metrology

    Key specs

    • Sizes from 10 × 10 mm to 600 × 600 mm+
    • Uniformity > 95% across the active area
    • Telecentric backlight variants for parallel-ray illumination
    • Collimated and diffuse models
    • Red, white, blue, green, and IR wavelengths

    Dome Lights

    Diffuse, omnidirectional illumination

    Dome lights create the most uniform, shadow-free illumination possible by bouncing LED light off the interior of a hemispherical dome. They completely surround the object in diffuse light from every angle, eliminating specular reflections and hot spots on shiny or curved surfaces.

    How it works and when to use it

    LEDs mounted inside a hemispherical housing project light upward onto the dome's white interior surface, which acts as a diffuse reflector. The light bounces down onto the object from every conceivable angle simultaneously. A port at the top allows the camera to image through the dome. This geometry is sometimes called "cloudy day" illumination.

    Imagine placing an object under a perfectly overcast sky — light arrives equally from every direction with no direct sun, so there are no harsh shadows or glare spots. A dome light recreates this effect in a compact, controlled enclosure.

    Best for

    • Inspecting highly reflective surfaces (metals, foils, glass)
    • Curved and irregularly shaped objects
    • Label and print reading on glossy packaging
    • Solder joint inspection on PCBs
    • Any application where specular glare must be eliminated

    Key specs

    • Dome diameters from 50 mm to 400 mm+
    • Internal white diffuse coating for maximum uniformity
    • Integrated camera port at the apex
    • White, red, blue, green, and multi-color variants
    • Flat dome and deep dome profiles for different working distances

    Dark Field Illumination

    Revealing surface defects through grazing angles

    Dark field lighting projects light at extremely low angles — nearly parallel to the object surface. Only light scattered by surface irregularities (scratches, edges, particles, texture changes) reaches the camera, while smooth surfaces remain dark. Defects glow against a black background.

    How it works and when to use it

    The light source is positioned at a very low angle relative to the surface plane (typically < 15°). On a smooth, flat surface, the light reflects away from the camera, leaving the image dark. But where there is a scratch, raised edge, contaminant, or surface texture change, the light is scattered upward toward the camera, making the defect appear bright against the dark background.

    The same effect as running a flashlight across a wooden table at a very low angle late at night. The surface looks dark and uniform, but every scratch, dust particle, and grain imperfection suddenly glows brightly because it scatters the grazing light toward your eyes.

    Best for

    • Scratch and micro-crack detection on polished surfaces
    • Particle and contamination detection
    • Surface texture and roughness analysis
    • Wafer edge and flat-panel defect inspection
    • Detecting raised or recessed features on flat parts

    Key specs

    • Illumination angles typically 5° to 15° from the surface
    • Implemented via low-angle ring lights, bar lights, or custom fixtures
    • High-intensity strobe for fast-moving targets
    • Works with both area scan and line scan systems
    • Often combined with bright field in multi-angle setups

    Coaxial (On-Axis) Lights

    Specular reflection for mirror-like surfaces

    Coaxial lights project illumination along the exact same axis as the camera lens using a beam splitter. This creates perfectly even lighting on flat, mirror-like surfaces — making surface defects, etchings, and markings on highly reflective materials visible where other lighting techniques fail.

    How it works and when to use it

    An LED light source projects through a half-mirror (beam splitter) mounted at 45° between the lens and the object. The light travels straight down along the optical axis, reflects off the flat, specular surface directly back through the beam splitter into the camera. Any surface deviation — a scratch, etched mark, or height change — scatters light away from the axis and appears dark against the bright, uniform background.

    Like looking straight down at a calm lake — you see a perfect, bright reflection of the sky. But any ripple, oil slick, or floating debris disrupts the mirror surface and becomes immediately visible as a dark disturbance.

    Best for

    • Inspecting polished metal, glass, and wafer surfaces
    • Reading laser-etched marks and engravings on shiny parts
    • Detecting scratches and pitting on specular surfaces
    • Flat surface uniformity verification
    • BGA and flip-chip solder inspection

    Key specs

    • Integrated beam splitter for true on-axis illumination
    • Field sizes from 5 × 5 mm to 100 × 100 mm+
    • High uniformity across the illuminated area
    • White, red, blue, and IR wavelengths
    • Compact housings designed to mount between lens and camera

    Structured & Pattern Projection

    Active illumination for 3D and special applications

    Structured light projectors emit precisely defined patterns — laser lines, grids, dot arrays, or coded stripe sequences — onto the object surface. By analyzing how these patterns deform, the vision system extracts 3D shape, height, and surface topology information.

    How it works and when to use it

    A laser or LED projector casts a known geometric pattern onto the target. An angled camera observes how the pattern deforms across the surface. Triangulation algorithms convert the measured distortion into a dense 3D point cloud or height map. For laser line profiling, a single line sweeps across the object as it moves, building a 3D profile scan line by line.

    Imagine projecting a perfectly straight grid of lines from an overhead projector onto a crumpled piece of paper. Where the paper rises or dips, the lines bend and distort. By measuring exactly how each line bends, you can reconstruct the 3D shape of the paper's surface.

    Best for

    • 3D surface profiling and height measurement
    • Weld seam tracking for robotic welding
    • Volume and fill-level inspection
    • Robot guidance and bin picking
    • Surface flatness and warp measurement

    Key specs

    • Laser wavelengths: 405 nm, 450 nm, 520 nm, 660 nm, 830 nm
    • Line, multi-line, dot matrix, and coded pattern options
    • Fan angles from 5° to 120°
    • Class 1, 2, or 3R laser safety ratings
    • Integrated with 3D cameras or standalone projection units

    Multi-Wavelength & UV Lighting

    Spectral control for material-specific contrast

    By choosing specific LED wavelengths — from deep UV through near-infrared — lighting can be tuned to maximize contrast on specific materials, reveal hidden features, or excite fluorescence. Multi-channel controllers allow switching wavelengths dynamically within a single inspection station.

    How it works and when to use it

    Different materials absorb and reflect light differently at each wavelength. By selecting a wavelength that maximizes the contrast between the feature of interest and the background, defects or markings that are invisible under white light become clearly visible. UV lighting additionally excites fluorescent materials, making coatings, adhesives, and contaminants glow brightly.

    Like using a blacklight at a crime scene — substances invisible under normal room lighting suddenly fluoresce and glow vividly when exposed to ultraviolet light, revealing exactly where they are.

    Best for

    • Fluorescence inspection (adhesives, coatings, lubricants)
    • Maximizing contrast on specific colored defects
    • Pharmaceutical and food safety inspection
    • Detecting invisible UV-cured coatings and markings
    • Multi-spectral imaging with wavelength-switching controllers

    Key specs

    • UV (365 nm, 395 nm), visible (red, green, blue, white), IR (850 nm, 940 nm)
    • Multi-channel controllers for dynamic wavelength switching
    • Strobe and continuous operation modes
    • Available in ring, bar, backlight, and dome form factors
    • High-intensity UV options with proper safety shielding

    How to choose

    Surface finish

    Matte surfaces work well with direct lighting; shiny or reflective surfaces require dome, coaxial, or dark field techniques to control specular reflections.

    Defect type

    Surface defects (scratches, particles) are best revealed by dark field. Profile and dimensional features need backlighting. Print and color require diffuse, even illumination.

    Object geometry

    Flat parts suit bar and ring lights. Curved or cylindrical surfaces need dome lights. Internal features may require coaxial or structured light.

    Speed & strobing

    High-speed lines benefit from strobe illumination, which can overdrive LEDs to 10× continuous brightness during short exposures — freezing motion without blur.

    Wavelength

    Choosing the right wavelength maximizes contrast. Red on green defects, blue for surface features, UV for fluorescence, IR for seeing through certain materials.

    Working distance & coverage

    The distance between the light and the object, combined with the field of view, determines whether you need a compact ring light or a multi-meter bar light array.

    Image processing software

    From deterministic rule-based tools to deep-learning classifiers: how ImageFlow and Roll Grader apply each, and when.

    Traditional Rule-Based Vision

    Deterministic precision through hard-coded logic

    Rule-based vision relies on explicitly programmed geometric and mathematical rules — measure pixel distances, count features, threshold intensities. It is highly deterministic and repeatable, but requires controlled conditions and identical parts.

    How it works and when to use it

    An engineer manually defines strict processing steps: find edges using gradient operators, measure the pixel distance between Edge A and Edge B, compare the result to a tolerance band. Every decision is an explicit mathematical operation with no ambiguity. The system either passes or fails a part based on exact numerical thresholds.

    Like using a rigid metal stencil to check a manufactured part. If the part fits perfectly inside the stencil, it passes. If the part is slightly warped or the lighting shifts a shadow, it fails immediately because it doesn't match the exact mathematical rules.

    Best for

    • Ultra-precise dimensional measurement and gauging
    • Alignment and positioning with known geometries
    • Go/no-go checks on identical parts
    • Applications with tightly controlled lighting and presentation
    • Regulatory environments requiring deterministic, auditable logic

    Key specs

    • Sub-pixel measurement accuracy (1/10th to 1/50th pixel)
    • Deterministic, repeatable results — no inference variability
    • Processing times typically < 5 ms per frame
    • No training data required — rules defined by engineers
    • Full auditability of every pass/fail decision

    Deep Learning (Neural Networks)

    Learned intelligence from example images

    Instead of writing explicit rules, deep learning systems are trained on hundreds or thousands of labeled example images. The algorithm autonomously learns the abstract features that distinguish a defect from an acceptable variation — handling complexity that no hand-written rule can capture.

    How it works and when to use it

    A neural network is fed labeled training images ("good" and "bad" examples). Through iterative optimization, the network adjusts millions of internal parameters to learn statistical patterns that correlate with each class. Once trained, it classifies new, never-before-seen images by recognizing the same learned patterns — generalizing from examples rather than following explicit instructions.

    Like training a new employee on an assembly line by handing them a stack of flashcards. You show them 50 pictures of bruised apples and 50 pictures of healthy apples. Eventually they develop an intuitive "gut feeling" for what a bruise looks like, even if the next bruise is a completely different shape.

    Best for

    • Complex, unpredictable, or organic defect detection
    • Scratches on textured metal or fabric weave defects
    • Classification tasks with high visual variability
    • Applications where writing mathematical rules is impractical
    • Anomaly detection with "good-only" training data

    Key specs

    • Training on 50–5,000+ labeled images per class (application-dependent)
    • Inference times from 5 ms to 100 ms per image (GPU-dependent)
    • Confidence scoring for every classification decision
    • Transfer learning from pre-trained models reduces data needs
    • Continuous retraining as new defect types emerge

    Convolutional Neural Networks (CNNs)

    Localized feature extraction at scale

    CNNs are a specific deep learning architecture purpose-built for image data. They slide small mathematical filters across the image to detect local features — edges, corners, textures — and progressively combine them in deeper layers to recognize complex objects and defects.

    How it works and when to use it

    A series of convolutional layers apply small, learned filter kernels (typically 3×3 or 5×5 pixels) that scan across the entire image. Early layers detect primitive features like edges and gradients. Deeper layers combine these into increasingly abstract representations — corners become shapes, shapes become objects. Pooling layers reduce spatial resolution between convolutions, making the network efficient and translation-invariant.

    Imagine inspecting a massive wall painting by holding a small magnifying glass and scanning it inch by inch, top to bottom. You note down local details — a brush stroke here, a color gradient there — and piece them together later to figure out what the entire painting depicts.

    Best for

    • Fast inference on standard image resolutions
    • Detecting localized defects (pinholes, cracks, blobs)
    • Real-time classification on production lines
    • Object detection and instance segmentation
    • Applications requiring embedded/edge deployment

    Key specs

    • Architectures: ResNet, EfficientNet, YOLO, U-Net
    • Inference < 10 ms on modern GPUs
    • Scales from embedded edge devices to multi-GPU servers
    • Supports classification, detection, and segmentation tasks
    • Well-suited for fixed-resolution, consistent image inputs

    Vision Transformers (ViTs)

    Global context through self-attention

    Adapted from natural language processing, Vision Transformers divide an image into discrete patches and use self-attention to compare every patch to every other patch simultaneously. This gives them an immediate understanding of global context that CNNs build only gradually through depth.

    How it works and when to use it

    The image is split into a grid of fixed-size patches (e.g., 16×16 pixels). Each patch is flattened into a vector and passed through a transformer encoder. The self-attention mechanism computes a weighted relationship between every pair of patches, allowing the network to understand how a feature in one corner of the image relates to a feature in the opposite corner — in a single layer, without sequential scanning.

    Imagine cutting a photograph into a jigsaw puzzle and spreading all the pieces on a table. Instead of examining one piece at a time, you look at every piece simultaneously and instantly understand how a dark piece in the bottom-left corner relates to a bright piece in the top-right corner.

    Best for

    • Complex scenes requiring global spatial understanding
    • Finding anomalies hidden in cluttered or textured backgrounds
    • Large image analysis where distant features are correlated
    • Multi-object relationship reasoning
    • State-of-the-art accuracy on challenging classification benchmarks

    Key specs

    • Architectures: ViT, DeiT, Swin Transformer
    • Self-attention over all image patches simultaneously
    • Typically requires larger training datasets than CNNs
    • Higher compute requirements — best on GPU/accelerator hardware
    • Excels when global context matters more than local features

    Sub-Pixel Edge Detection

    Measurement beyond the physical pixel grid

    Sub-pixel algorithms use mathematical interpolation to estimate the true position of an edge to 1/10th or even 1/50th of a physical pixel. This breaks through the resolution limit of the camera sensor, delivering micrometer-level accuracy without needing excessively expensive, ultra-high-resolution hardware.

    How it works and when to use it

    When an edge falls between physical pixels, the camera records a gradual brightness transition across several pixels rather than a sharp step. Sub-pixel algorithms model this blur profile mathematically — fitting a curve (typically Gaussian or error function) to the intensity gradient — and calculate the precise fractional pixel position where the true edge lies.

    Imagine trying to measure the exact edge of a fuzzy, blurry shadow using a school ruler. Instead of just picking the grayest part, you use an advanced math formula to calculate exactly where the light ends and the dark begins — giving you a measurement far more precise than the lines on your ruler.

    Best for

    • High-precision industrial metrology
    • Semiconductor pin and lead measurement
    • Gear tooth and micro-feature gauging
    • Achieving micrometer accuracy with standard camera hardware
    • Telecentric lens pairings for calibrated measurement

    Key specs

    • Edge position accuracy to 1/10th–1/50th of a pixel
    • Gaussian, parabolic, and moment-based interpolation methods
    • Works with both area scan and line scan image data
    • Processing time typically < 1 ms per edge measurement
    • Pairs with calibrated telecentric optics for traceable metrology

    Geometric Pattern Matching

    Find, locate, and align with invariance

    Pattern matching searches a live camera image for a known reference template, locating it regardless of rotation, scale, partial occlusion, or lighting variation. It returns the precise position and orientation of the found object — the foundation of robot guidance and part alignment.

    How it works and when to use it

    A reference template (or "model") of the target is created from a training image. The algorithm encodes the geometric features of this template — edge gradients, contour shapes, spatial relationships — into a compact descriptor. At runtime, it searches the full image for regions that best match this descriptor, scoring candidates by geometric similarity rather than raw pixel intensity.

    The machine vision equivalent of playing "Where's Waldo?" — you know exactly what Waldo looks like, and you scan a chaotic, crowded scene to find him, even if he's standing upside down or partially hidden behind a building.

    Best for

    • Robotic pick-and-place guidance
    • Part localization on moving conveyors
    • Alignment and registration for multi-step inspection
    • Locating features of interest before detailed measurement
    • Identifying parts in cluttered or overlapping scenes

    Key specs

    • Rotation invariant (0°–360°)
    • Scale invariant across defined ranges
    • Robust to partial occlusion (up to 40–60%)
    • Sub-pixel position and angle accuracy
    • Search times typically < 5 ms for single-model matching

    Visual Programming (No-Code Interfaces)

    Drag-and-drop vision system configuration

    Visual programming environments replace complex code with drag-and-drop flowchart interfaces. Operators build inspection sequences by connecting algorithm blocks — Find Edge, Measure Distance, Classify Defect — without writing a single line of C++ or Python.

    How it works and when to use it

    The software provides a library of pre-built processing blocks, each representing a specific algorithm or I/O operation. Users drag blocks onto a visual canvas and connect them in sequence — defining the data flow from image acquisition through processing to pass/fail output. Parameters are configured through graphical dialogs rather than code. The underlying engine compiles and optimizes the flowchart for real-time execution.

    Like building a complex machine out of digital LEGO blocks, or drawing a flowchart on a whiteboard. You snap the processing steps together in the order you want them to happen — no programming degree required.

    Best for

    • Enabling line operators to configure and adjust inspections
    • Rapid prototyping and proof-of-concept development
    • Applications requiring frequent recipe changes
    • Training and maintenance by non-programming staff
    • Reducing dependence on specialized software engineers

    Key specs

    • Drag-and-drop flowchart-based interfaces
    • Pre-built algorithm libraries (edge detection, measurement, OCR, barcode)
    • Integrated deep learning training tools in modern platforms
    • Real-time execution with hardware-optimized backends
    • Platforms: HALCON, VisionPro, MERLIC, NeuroCheck, In-Sight

    How to choose

    Defect predictability

    If defects are consistent and well-defined, rule-based methods offer speed and auditability. If defects are variable or organic, deep learning adapts where rules cannot.

    Training data availability

    Deep learning requires labeled examples. If you have few samples, rule-based or anomaly detection approaches may be more practical initially.

    Accuracy requirements

    Sub-pixel edge detection and calibrated measurement pipelines deliver micrometer-level precision. Classification tasks may tolerate lower spatial accuracy.

    Processing speed

    Rule-based algorithms and CNNs run in single-digit milliseconds. Vision Transformers and complex deep learning may need GPU acceleration to meet cycle time.

    Auditability & regulation

    Regulated industries may require deterministic, fully traceable decision logic — favoring rule-based methods over black-box neural networks.

    Team skillset

    Visual programming platforms empower operators directly. Custom deep learning pipelines require data science expertise. Match the tool to your team.