Vision Barcode Scanning Guidelines and Limitations
  • 06 Feb 2023
  • 3 Minutes to read
  • Contributors

Vision Barcode Scanning Guidelines and Limitations


Article Summary

Learn the requirements and limits of using Tulip Vision to scan barcodes.

Using Vision to scan barcodes adds additional functionality to an existing workstation camera that performs visual detection. Scanning barcodes is as simple as enabling the barcode detector on the camera configuration for a given region. Here is our guide on how to enable the functionality: Using the Datamatrix and Barcode Detectors

Optical barcode scanning relies on detecting the barcode pattern in the camera, which depends on the distance of the camera from the document, the resultion setup of the camera, as well as the angle of the barcode with respect to the image.

To this end we provide this guidline, which helps you build a barcode scanning step that works consistently with high accuracy. We provide tested guidelines for setting the distance and resolution of the camera to ensure a successful scan.

Physical Setup

The diagram below shows an approximate physical layout of a barcode scanning workstation.
image.png

Physical setup guidelines:

  • The angle between the camera and the barcode surface should be minimized, both in vertical and horizonal angles (). Up to is acceptable. For horizontal alignment () there may be more felixibility, see the guideline below.
  • The distance of the camera from the scanning sufrace () varies and it largely depends on the resolution of the camera. However, keeping the camera at most 3' / 90cm from the surface will produce the best reults. See the guideline below for recommendations.
  • The size of the printed barcode () should not be smaller than 1" / 2.5cm for long distance scanning. The barcode should occupy at least 100 pixels in the visible image, if the image is size in pixels.

Barcode scanning guideline table

Below is a table of tested scanning parameters that show how the parameters affect the success of scanning. Maintain the scanning setup to stay well within the success boundary and do not attempt extreme parameters.

There are three categories for scanning success:

  • Pass: All barcodes are expected to scan at this height and resolution regardless of angle ().
  • Partial: Intermittent scanning success or limited-angle success. This setup may be useful for particular barcodes like QR codes, but avoided for others.
  • Fail: No barcodes are expected to be read at this distance or resolution. This setup should be avoided entirely.
ResolutionDistance from camera in inchesQRCodeCode128EAN8EAN13UPCEUPCA
640x4804PassPassPassPassPassPass
8PassPassPassPassPassPass
10PassFailPassPassPassPass
12PassFailFailFailFailFail
16PassFailFailFailFailFail
QRCodeCode128EAN8EAN13UPCEUPCA
1280x7204PassPassPassPassPassPass
8PassPassPassPassPassPass
10PassPassPassPassPassPass
12PassFailPassPartialPassPartial
16PassFailFailFailFailFail
QRCodeCode128EAN8EAN13UPCEUPCA
1920x10804PassPassPassPassPassPass
8PassPassPassPassPassPass
10PassPassPassPassPassPass
12PassPassPassPassPassPass
16PassPassPassPassPassPass
20PassFailFailFailFailFail
QRCodeCode128EAN8EAN13UPCEUPCA
2560x14724PassPassPassPassPassPass
8PassPassPassPassPassPass
10PassPassPassPassPassPass
12PassPassPassPassPassPass
16PassPassPassPassPassPass
20PassPartialFailPassFailPass
24PassFailPartialFailFailFail

Did you find what you were looking for?

Head to community.tulip.co to post your question or see if others have had a similar question!


Was this article helpful?