Read Barcodes in Images
Use the Barcode Reader function to decode a 1D barcode.
Main Tab
- In the Step Name control, enter a descriptive name for the step.
- Verify that the Reposition Region of Interest option is enabled if you want to link the region of interest specified in this step to a previously defined coordinate system.
Link the region of interest to a coordinate system if the position of the object under inspection changes from image to image, and you need to adjust the position of the region of interest to match the new location of the object.
Read 1D Barcode Tab
- Draw a region of interest (ROI) around the barcode. Make sure the ROI contains all of the bars.
- Select the Barcode Type you want to read.
If the barcode type is Codabar, Code 39, or Interleaved 2 of 5, you can enable the Validate control to use the encoded error correction information to validate the results. If the validation fails, the step also fails.
If the barcode type is Codabar, Code 128, EAN 8, EAN 13, or UPCA, you can enable the Add Special Character to Code control to add the special characters of the code to the encoded data. You also can add the checksum to the encoded data by checking the Add Checksum to Code control.