AutomateDirectUSAMotion LibraryIndustrial monitors & PCsMain store

Selection guide

Conveyor belt color for machine vision: contrast decides

Sensors, encoders and machine vision on the machine Published 10 min read By AutomateDirectUSA engineering team

Short answer

Pick the belt that gives the largest gray-level gap between part and belt under the light you will run. Use a dark matte belt for light or shiny parts and a light matte belt for dark parts. For colored parts, use a belt that the chosen LED color makes dark while the part stays bright; confirm it with belt samples and real parts across the full belt width.

A short belt conveyor on aluminium legs with a side-mounted gearmotor and one carton on the belt.
On this page
  1. Belt choice by part type
  2. Green or black: what the LED color changes
  3. Matte finish matters as much as color
  4. Lighting a belt 800 mm wide
  5. Worked example: black matte against glossy green on an 800 mm belt
  6. Running the bench test with belt samples
  7. Color filtering when one belt cannot suit every product
  8. Locking in the belt and light
  9. Questions asked

No single belt color is right for every product. The right belt is the one that gives the largest gray-level difference between the part and the belt under the light you will actually run, across the whole field of view. In practice that means a dark matte belt for light, white or shiny parts, and a light matte belt for dark parts. For colored parts, use a belt that the light makes dark while the part stays bright. Green and black both work for light-colored parts, but they behave differently once you pick an LED color. Choose the belt and the light together. Then prove the pair with belt samples and real parts under the camera before you order.

Belt choice by part type #

Start from the part, not the belt. The table gives a belt and light to try first for each kind of product. The bench test later in this article decides between close candidates.

Part on the belt Belt to try first Light What breaks it
White, pale or bright metal parts Black or dark gray, matte top Diffuse bar light across the belt, any LED color A glossy belt throws a glare line as bright as the part
Dark parts such as black rubber or dark plastic White or light gray, matte top Diffuse front light Dirt and residue darken a light belt during the shift
Red, orange or yellow parts Green, or black Red LED White or ambient light brightens the green belt toward the part
Green or blue parts Black, or a red or orange belt LED in the part's own color Any light that the belt also reflects
Many colors on one line Black or gray, matte top White light, color camera and color filter Changes in ambient light shift the colors
Flat or thin parts where only the outline matters Translucent belt Backlight from below Surface features vanish in the silhouette
Shiny, curved or foil-wrapped parts Dark matte belt Dome or diffuse light Hot spots on the part split its outline

Green or black: what the LED color changes #

In vision software, contrast means the gray-level difference between the feature and the background, on the 0 to 255 scale of an 8-bit image. That is the definition in Cognex's machine vision lighting guide. The belt color matters only through that number, and the light color moves it more than the belt does. The same guide repeats the industry rule of thumb that about 80% of a vision application's success comes from lighting. It is a rule of thumb, not a measurement, but it is a good reason to plan the belt and the light as one purchase.

A surface reflects light of its own color and absorbs the complementary color. Keyence's machine vision lighting selection guide gives the direct example: under red light, a red object looks bright and a green object looks dark. So, on a monochrome camera:

  • A black belt reads dark under any LED color. It is the forgiving choice for light, white and warm-colored parts, and useless for black or dark-brown parts.
  • A green belt reads dark under red light, almost as dark as a black one. Under green or white light it reads mid-gray or brighter. Under red light it suits red, orange, yellow and pale parts. Under white light it loses much of the contrast a black belt would give.
  • A dark part on either belt under red light is a dark part on a dark background. Neither belt color can fix that. It needs a light belt or a backlight.

The decision between green and black: if you will light white, or if the product range will change, order black. Order green only when the light is red (or another color the belt absorbs) and every product reflects that color. The Cognex guide also describes the reverse approach: light from the opposite side of the color wheel darkens a colored feature, so it stands out against a lighter background.

Matte finish matters as much as color #

Keyence's guide makes the type of reflection the first lighting decision: specular, diffuse or transmitted. A glossy belt acts as a mirror. Wherever the light, the belt and the lens line up, it reflects a bright stripe or patch straight into the lens, and that patch can read brighter than the part. A matte top cover scatters the light. The belt then reads the same gray everywhere, and the part stays the brightest thing in the image.

Shiny parts cause the same problem from the other side. A polished or wrapped part shows hot spots and dark folds, and the software sees a broken outline. The standard fix for glare on shiny surfaces is diffuse or dome lighting, which lights the part from many angles at once. Laser light on polished metal behaves the same way, as covered in glare in stainless T-joint seam tracking. When you ask for belt samples, ask for both the matte and the glossy version of each color. The finish often matters more than the color.

Lighting a belt 800 mm wide #

A ring light around the lens works on a small field. Across a wide belt it lights the center well and leaves the edges darker. A part near the side rail then reads dimmer than the same part in the middle, so a threshold that works in the center fails at the edges. For a belt that wide, use a bar or line light that spans the full width, mounted across the belt, or a pair of bars lighting from both sides. For shiny product, use a tunnel or dome over the pick zone.

Two more choices protect the contrast the belt gives you:

  • Strobe the light and fit an optical bandpass filter matched to the LED color. The filter passes the LED's color and blocks most ambient light, so skylights and hall lighting stop changing the image.
  • Use a short strobed exposure. On a moving belt, a long exposure smears the part outline, and a short flash freezes it.

Choose the light in Keyence's three steps: first the reflection type, then the shape and size (ring, low-angle, coaxial or dome), then the color, based on the material and color of both the part and the belt.

Worked example: black matte against glossy green on an 800 mm belt #

This is a hypothetical bench test. The belt width is a typical robot picking line width, and the scale is the 8-bit contrast scale defined above. The gray readings are examples of what you read with the vision software's pixel or histogram tool. They are not measured results.

Inputs:

  • An 800 mm belt carrying light-beige plastic parts, a monochrome 8-bit camera, and a red bar light across the full width.
  • Part: 190 gray levels at the belt center, and 150 at the edge, where the bar light falls off.
  • Black matte belt sample: 25 at the center, and 35 at its brightest point anywhere in the field.
  • Glossy green belt sample: 55 at the center, and 170 in the stripe where the bar light reflects off the cover.

Rule: one fixed threshold can separate part from belt only if the darkest part reading is brighter than the brightest belt reading anywhere in the field. The margin is the darkest part reading minus the brightest belt reading. It must be above zero, and a larger margin can absorb more drift in the light and the product.

Arithmetic:

  • Black matte: margin = 150 - 35 = 115 gray levels. A threshold in the middle of the gap is (150 + 35) / 2 = 92.5, set to 93. That leaves 57 levels from the threshold up to the darkest part, and 58 levels down to the brightest belt reading.
  • Glossy green: margin = 150 - 170 = -20 gray levels. The glare stripe is brighter than the part at the edge, so no single threshold works.
  • Glossy green, center only: 190 - 55 = 135 gray levels. A test that looked only at the middle of the belt would have passed this sample.

Result: the black matte belt separates part from belt with 115 gray levels of margin, about 45% of the 8-bit range (115 / 255 = 0.45). The glossy green belt fails by 20 levels.

Decision: order the black matte belt and set the threshold in the middle of the gap. To pass, a belt needs a margin above zero at every point across the belt width, including the edges and the line where the light reflects. When two samples pass, take the one with the larger margin. A matte green sample is still worth testing under the same red light, because the green belt failed on its gloss, not its color.

Running the bench test with belt samples #

  1. Ask the conveyor supplier for samples of each candidate color, in matte and glossy finish, large enough to fill the camera's field of view.
  2. Set up the production camera, lens and candidate light at the real working distance and angle, with the exposure you will use at line speed.
  3. Lay real parts on each sample at the center and at both edges. Include the worst cases: the darkest, the shiniest and the smallest product, plus any with printed labels.
  4. For each sample, read the darkest part value and the brightest belt value, and work out the margin as in the example.
  5. Repeat the readings with the hall lights on and off. If the margin drops to near zero with the lights on, add the strobe and bandpass filter before you judge the belt.
  6. Keep the belt and light pair with the largest margin. Then run the recognition tool on moving parts until it finds every part, and only then move on to gripper and vacuum cup design.

If you run the test on an installed line, lock out the conveyor and the robot before anyone reaches in to place samples. Follow the cell's lockout procedure and risk assessment.

Color filtering when one belt cannot suit every product #

When products of several colors share one belt, a color camera with a color filter can turn the product into white pixels and the belt into black pixels before the locating tool runs. ABB's robot picking application manual (document 3HAC080435-001, in its section on using color vision) describes the setup:

  • In the PatMax or Blob configuration dialog, tick Color Filter. The Color Filter Settings tab opens with a live color video window.
  • Choose the RGB or HSI color space. Click Define, place the rectangle over the product color, and click Get color to store the range. Matching colors become white in the grayscale image passed to PatMax or Blob, and the belt and other colors become black.
  • Under Manual color filter, each channel has Low and High limits from 0 to 255, except Hue, which uses an angular scale.
  • Do the white balance first. Cover the whole field of view with white paper and adjust the light, aperture and exposure until the image is medium gray with few saturated pixels. Then click Calculate, Apply and Save on camera.

The manual asks for uniform, stable lighting, because color filtering is sensitive to changes in ambient light. Shielding the pick zone and strobing the light therefore matter even more here. A narrow bandpass filter does not suit a color camera, though, because it removes the colors the filter depends on. For the belt, black or gray is the easiest to exclude. It has almost no color saturation, so in HSI space it sits well away from any strongly colored product.

Locking in the belt and light #

Commit to a belt only after the bench test shows a margin above zero across the full width with the light you will install. Buy the light at the same time, because the margin belongs to the belt and light as a pair. If you change the light color, the belt finish or the light position, run the test again. Once recognition is reliable, the next design decision is the tracking setup, discussed in whether integrated vision plus conveyor tracking is enough for one robot.

Questions asked

Is a blue conveyor belt a good choice for machine vision?

Often, for products that contain little blue. Under red light a blue belt reflects little and reads dark, so warm-colored and pale products stand out on a monochrome camera. Under blue or white light the same belt reads much brighter and the contrast against pale products drops. Treat it like a green belt: it works when the light color is chosen to suit it and the bench test shows a positive margin.

How often should I recheck the contrast after the line is running?

Recheck it whenever the belt, the light, the lens aperture or the exposure changes, and again once a new belt has run in, because a matte cover can wear smooth or pick up product residue. On a color system, redo the white balance after any of those changes. The quick check is to read the brightest belt area and the darkest part again and confirm the margin is still above zero.

Does belt speed change the belt color choice?

It does not change the color, but it changes the lighting. A faster belt needs a shorter exposure to keep the part outline sharp, so the field needs more light, usually from a strobe. With less light reaching the sensor, the gray levels bunch together, and a margin that looked comfortable in a static bench test can shrink at line speed. Run the final test with the belt moving at production speed.

What if the parts and the belt look the same color to the eye?

Then the light color will not separate them, because both reflect and absorb the same wavelengths. Change the belt, or use a translucent belt with a backlight so the part shows as a silhouette whatever its color. If neither is possible, look for a difference in height or texture and use a low-angle light so the part edges cast shadows the camera can find.

Keep reading

  • Selection guide

    Selecting an Infrared Pyrometer for Conveyor Product Temperature

    For a 40-50 °C sintered-ore bed on a rubber belt, choose a fixed long-wavelength infrared pyrometer, not a disappearing-filament optical pyrometer. Mount it so the spot stays inside the bed across the full bed-depth swing, set emissivity against a contact probe near 0.95, and steam-test the installed sensor before arming the high-temperature alarm.

    Sensors, encoders and machine vision on the machine

  • Explainer

    When integrated vision plus conveyor tracking is enough for one robot

    For one robot picking from one conveyor, the controller's integrated vision option plus its conveyor tracking option are enough; the dedicated picking package is not mandatory, it only supplies calibration, queueing and multi-robot distribution that a single-robot cell can do without. The decision comes from dividing the tracking window length by the belt speed and comparing that time with your measured vision-plus-motion cycle.

    Sensors, encoders and machine vision on the machine

  • Explainer

    Why work numbers decide which vision pick tracks the conveyor

    Keep the work number that arrives with each vision location and pair it with that item's own conveyor tracking value before the robot picks; receiving data in real time does not by itself match each coordinate to the right workpiece. A monitor that shows only the first item's conveyor value proves nothing about the later items, so the association must live in your program's records.

    Sensors, encoders and machine vision on the machine