Showing results for 
Search instead for 
Did you mean: 

Barcode Encoding and Decoding

Level 2
Can we Decode or Encode barcodes using BP?

Nripan Sudas
Systems Engineer
This asset on the Digital Exchange may help you to encode barcodes:

However, I'm not sure about decoding, as that portion is usually handled by some piece of hardware, for instance a barcode scanner, or mobile phone.  If what you mean is that you have an image of a barcode, then you'll have to develop your own Object to decode it, or use an online service that can perform it for you.

James Man
Professional Services
Blue Prism

Level 3
Which barcode formats do you need to support? While I have no expertise in this area, I do find barcodes to be very interesting. I also know that there are many more barcode formats in use than most people realize, so it's really important to understand which formats you need to support.

To read or generate a barcode, you'll probably need some kind of specialized software. There may be a workaround, though, for reading some types: Most barcodes encode an alphanumeric (often strictly numeric) string of characters. In UPC and other common barcodes, that character string is printed in human-readable form at the bottom of the barcode graphics. If all you have is an image of that barcode with its human-readable text, you may be able to use Surface Automation with OCR (Optical Character Recognition) to get that text value.

Just using OCR won't guarantee you reliable results: You must make sure that the image is at the right scale and orientation, and is free from stray marks. In particular, the adjacent barcode graphics may confuse the OCR software if you don't have enough empty space between the graphics and the text.

Good luck with this.

Mark Stallard
Software Developer
Raytheon Company

Hi Mark Stallard,

Can we know If we use Blueprism OCR functionality to scan barcodes?

Sujatha Chebrolu

Sujatha Chebrolu