Document Understanding - Barcode & QR-Codes

Hello,

I have a use case where I want to read barcodes and QR codes from a document. The document is processed with document understanding (ML extractor).

According to the release notes (October 2022) “A new feature is now available for barcodes and QR codes detection.”.

What does this mean? What was implemented? When i use the UIPatch OCR in the document manager barcodes and QR codes are detected (can be selected), but the text is always “¿”.

Hello @Dennis0!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

  5. Meet us and our users on our Community Slack and ask your question there.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly
Forum_Staff

Hello Dennis,

did you figure something out in this matter?

Thanks!

Not really.
For this use case we have decided to NOT use UiPath Document Understanding.

Hi,

Document Understanding has QR code/barcode detection through OCR. The general flow is that Document OCR is used to detect the location of the barcode / qr code / whatever code on the page. Note that this is the OCR / Digitize step, and no the Extract step. You can parse the Document Object Model returned by the Digitize Document Scope to find the QR code item. This item is then isolated in an image and then passed to the decoder library. That could be the marketplace activity or any third-party library, although of course the marketplace activity will be the easiest to use.

3 Likes

Is there an example project available?

I have testet it, but i am unsure how to extract the image with the information given in the DOM.

The “Extract Images from PDF” Activity does not seem appropriate to me and only works for native PDF files.

Hi, same question that Dennis0, how to isolate this item and save as an image ?

@Ioana_Gligan do we have a sample workflow for extracting QR codes and saving them as images?

Yes. Here is a sample workflow doing exactly this.

ImageCroppingOfResults.zip (3.9 MB)

Thanks.

The example not exactly extracts the qr code but the code is transferable.
Would be nice if this is a out of the box feature.

Note: You have exposed your API key for DU. You should invalide this key.

Best Regards

Dennis

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.