MarketplaceStudioActivityBarcode Activities

Create your first automation in just a few minutes.Try Studio Web

Barcode Activities

Barcode Activities

by Internal Labs

StarStar

3

Activity

Downloads

6.1k

Quentin UiPath
Posted 3 years ago ago

Thank you for the suggestion. I quickly tested their nupkg (it works!) but it seems the user needs to purchase a license. I'll pass the information on to our partner team.

David Martin
Posted 3 years ago

Hi,

I have installed and used from Studio latest Community Edition 2022.4.3

the activity to extract a single bar code works for Code_39, but is not working for Code 128, nor UPC-A, nor Interleaved 2 of 5.

Any suggestions as to what could be wrong?

I have also tried the "multiple Barcode" activity with images that have multiple Code_39 values, but it always fails to extract anything. If I use a single Code_39 barcode in the image, it works fine.

Any ideas what I could be doing wrong?

Thanks, Dave

Quentin UiPath
Posted 3 years ago ago

Hi Dave,

It doesn't sound like you are doing anything wrong: as you can confirm on ZXing's website, the library should be able to process CODE_128.

https://zxing.github.io/zxing/apidocs/com/google/zxing/BarcodeFormat.html

One known limitation that comes up often is that ZXing is not very good at handling images with limited resolution.

I have been looking around for other libraries that might give better results, but not many are .Net native, so the search continues.

maxim pechura
Posted 3 years ago

Hello.

Could you add .NET 5 support?

When you create a new project in UiPath Studio, there's a choice between 'Windows' and 'Windows - Legacy'.

'Windows' uses .NET 5 and so this package can't be added to this type of project.

https://docs.uipath.com/studio/docs/about-automation-projects

Quentin UiPath
Posted 3 years ago ago

Hi,

Since this is a library project, I don't have an easy way to publish a single library that targets both .Net Framework and .Net 5

I have a test build for you to try though if you would like. Please reach out on the forum's Marketplace category: https://forum.uipath.com/c/build/marketplace/81 (my handle is @qbrandon)

Gaurav Dixit
Posted 3 years ago

Hi, I tried this.

Its working fine for  simple barcodes but when i am trying to use some complex bar codes (for ex- Codablock). Its not returning proper response. type is coming as 0 and output is blank.

ANy solution for this

Quentin UiPath
Posted 3 years ago ago

Indeed, the underlying ZXing library does not appear to support Codablock.

Please find the enum of supported formats here: https://zxing.github.io/zxing/apidocs/com/google/zxing/BarcodeFormat.html

I would be interested to know which industry/use case this need is coming from, if you care to share that information. I have received some feedback about poor performance of ZXing in handling low resolution images and it might be good to look into more barcode / QR code libraries as dependencies.

Horst Kirchberg
Posted 4 years ago

I cant decode Code39 Barcodes but Code39 is listed in the Barcode Format Table. Other Barcode Formats works. Waht can I do?

Quentin UiPath
Posted 4 years ago ago

Hello, I just tested a bunch of Code39 barcodes from wikipedia and this page, and all seem to be decoded just fine.

Could you share a sample barcode image that does not work?

Please reach out on the forum's Marketplace category if you would like to start a discussion thread: https://forum.uipath.com/c/build/marketplace/81

Praveen G
Posted 4 years ago

I am trying  to decode the image which has barcode using Decode Image activity. The program is running without any errors, but the Output string is empty. Below are the input parametrers :

Charset: "UTF-8"

Output: someString variable

Do i need to input Format as well? If yes, what is the value of Format? I used BarcodeFormat.All_1D, but getting invalid expression. 

Could you please advise. thanks.

Quentin UiPath
Posted 4 years ago ago

Format is an (optional) output argument, so that should not be necessary (and if you set it, it needs to be a variable, not a value)

Sometimes, you may get an empty output when the library was not able to pick up the barcode (it could be because of image quality issues)

Can you please pick up a couple of sample barcode searching online and try them out to figure out if the issue could be with the input?

Claudio Bertini Batista
Posted 4 years ago

Hi, i have installed but have a problem: NU1101: Unable to find package ZXing.Net. No packages exist with this id in source(s): C:\Users\claudio.bertini\AppData\Local\UiPath\app-20.10.2-beta0004\.\Packages, Connect, https://gallery.uipath.com/api/v2, https://www.myget.org/F/workflow/, Local, Official.

how do i solve this?

Quentin UiPath
Posted 4 years ago ago

Hello,

You are probably missing a nuget feed that offers ZXing.Net. I would suggest adding the nuget.org feed in the Sources of your Package Manager: https://api.nuget.org/v3/index.json

balaganesh chakrahari
Posted 5 years ago

I tried to decode a pdf417 from a driver license. I got the result as text. How do i seperate the text as key value pair? Are there any tools? please advise.

Quentin UiPath
Posted 5 years ago ago

It would depend on the structure of the text, but most of the time you can use string manipulation to parse it according to your needs.

This is beyond the scope of the barcode activities, but how about creating a thread on our forum to get the support of the community in how to deal with string manipulation? (my tag is @qbrandon)

Venkat kumar
Posted 5 years ago

is it able to identify barcode and read in image page pdf?

Quentin UiPath
Posted 5 years ago ago

I did a quick test with a sample invoice featuring a QR Code:

1. "Export PDF Page as Image" from the UiPath.PDF.Activities package to convert the specific PDF page to PNG

2. "Load Image" to load the PNG

3. "Decode Image" to read the code

I have to admit, I have not tested what happens when there are more than 1 barcode in the page though, I guess you might need to manipulate the image object to extract specific areas of the page.

Publisher

Internal Labs

Visit publisher's page

License & Privacy

License Agreement

Privacy Terms

Technical

Version

1.0.9

Updated

May 4, 2022

Works with

Studio: 21.10 - 22.10

Certification

Silver Certified

Support

UiPath Community Support

Resources