To choose a machine vision camera, start from the inspection, not the camera. The smallest feature you must see and the field of view set the resolution. The part’s speed sets the frame rate and exposure. The defect sets the sensor type: monochrome, color, area scan, line scan, 3D or a wavelength beyond visible light. Only then pick the interface, the lens mount and the brand.
This article is part of our machine vision guide. It is written for engineers specifying a camera for an inspection, measurement or guidance system, and for anyone checking whether the camera in a quote is the right one.
In short
- Resolution comes from the smallest feature and the field of view: plan at least 3 pixels across the smallest defect.
- Monochrome sensors give more sensitivity and sharper edges; use color only when color is the defect.
- Area scan suits discrete parts; line scan suits continuous webs, cylinders and very wide parts.
- Moving parts need short exposures or strobed lighting, or the image blurs.
- The interface (GigE, USB3, CoaXPress, Camera Link) is chosen last, from data rate and cable length.
The machine vision camera types
| Camera type | How it images | Best for | Watch-outs |
|---|---|---|---|
| Area scan (2D) | Captures a full 2D frame at once | Discrete parts: presence, dimensions, surface defects, assembly checks | Moving parts need short exposure or strobed light |
| Line scan | Builds an image one line at a time as the part moves | Continuous webs, film, paper, cylinders unwrapped as they rotate, very wide parts | Needs steady motion and an encoder to keep pixels square |
| Smart camera | Camera, processor and vision software in one housing | Simple single-camera checks at a station | Limited processing and locked to the vendor’s tools |
| 3D camera or sensor | Measures height using laser triangulation, structured light, stereo or time-of-flight | Height, volume, flatness, warpage, robot guidance | Shiny and dark surfaces, and lower lateral resolution |
| Beyond visible light | Thermal, SWIR, UV, multispectral or hyperspectral sensors | Defects invisible to the eye: moisture, voids, heat, material type | Special optics, lighting and higher cost |
Compare line scan vs area scan, smart camera vs PC-based vision, and the 3D methods in structured light vs laser triangulation.
Step 1: Resolution from the smallest feature
Divide the field of view by the smallest feature, then multiply by the pixels you need across that feature. Three pixels is a practical minimum for detection; measurement usually needs more, or sub-pixel tools with a stable setup.
| Field of view | Smallest defect | Pixels across defect | Pixels needed across | Typical sensor class |
|---|---|---|---|---|
| 50 mm | 0.25 mm | 3 | 600 | 0.3 to 0.5 MP |
| 100 mm | 0.1 mm | 3 | 3,000 | 8 to 12 MP |
| 300 mm | 0.5 mm | 3 | 1,800 | 3 to 5 MP |
| 300 mm | 0.05 mm | 3 | 18,000 | Line scan or several cameras |
The worked math, including measurement accuracy, is in machine vision camera resolution. More pixels are not free: they slow transfer and processing, and smaller pixels collect less light.
Step 2: Monochrome or color
- Monochrome is the default. Every pixel sees all the light, so it is more sensitive and resolves edges more sharply.
- Color is worth it when the defect is a color: wrong part color, discoloration, mixed product, color-coded wires. A color filter array makes each pixel see only part of the spectrum, so effective resolution drops.
- A colored light on a monochrome camera often beats a color camera for a single color contrast. See light colors and wavelengths in machine vision.
Step 3: Speed, exposure and shutter
Motion blur is the speed of the part times the exposure time. Keep blur under about one pixel. A part moving at 500 mm/s imaged at 0.05 mm per pixel needs an exposure of about 100 microseconds or less, which usually means strobed lighting.
- Global shutter exposes every pixel at once and is the safe choice for moving parts.
- Rolling shutter exposes row by row; moving parts skew unless a strobe freezes the motion.
- Frame rate must cover the parts per second plus any retakes. Check it at the resolution and bit depth you will actually use.
Step 4: Sensor size, pixel size and the lens
Larger pixels gather more light and tolerate lower light levels; smaller pixels give more resolution in a smaller sensor but demand a sharper lens. The sensor format decides the lens: its image circle must cover the sensor, and its resolving power must match the pixel size. See machine vision lenses and optics.
Step 5: Interface and cable length
| Interface | Approximate bandwidth | Typical cable length | Notes |
|---|---|---|---|
| GigE Vision (1 GbE) | About 115 MB/s | Up to 100 m | Standard Ethernet; power over Ethernet available |
| 10GigE | About 1 GB/s | Up to 100 m (copper or fiber) | More host and network tuning |
| USB3 Vision | About 350 MB/s | 3 to 5 m passive | Simple; short cables |
| Camera Link | About 255 to 850 MB/s | Up to about 10 m | Needs a frame grabber; mature standard |
| CoaXPress | About 1.2 GB/s per CXP-12 link | Tens of meters, longer at lower speeds | Needs a frame grabber; scales by adding links |
The trade-offs are covered in machine vision camera interfaces.
Common camera mistakes
- Choosing megapixels before working out the field of view and the smallest defect.
- Choosing color when a monochrome camera with the right light would show the defect better.
- Ignoring exposure time, then fighting motion blur on the line.
- Pairing a high-resolution sensor with a lens that can’t resolve its pixels.
- Testing on perfect samples instead of the full range of production parts.
Most camera problems are really lighting or presentation problems. Lighting is covered in machine vision lighting techniques.
Not sure which camera your inspection needs?
Send us sample parts. Sciotex tests them free of charge and recommends the camera, lens and lighting that show your defects, from any brand.
Frequently asked questions
Start from the smallest feature and the field of view to set resolution, then the part speed to set exposure and frame rate, then the defect to choose monochrome, color, line scan, 3D or another wavelength. Choose the interface and brand last.
Divide the field of view by the smallest defect and multiply by at least 3 pixels. A 100 mm field of view and a 0.1 mm defect need about 3,000 pixels across, which is an 8 to 12 MP sensor.
Monochrome is usually better: it is more sensitive and resolves edges more sharply. Use color when the defect is a color difference that a single colored light can’t reveal.
An area scan camera captures a full frame at once and suits discrete parts. A line scan camera captures one line at a time as the part moves, which suits continuous webs, cylinders and very wide parts.
For moving parts, usually yes. A global shutter exposes every pixel at once, so moving parts don’t skew. A rolling shutter can work with strobed lighting that freezes the motion.