Read two different barcodes.

Technical support for Spire.BarCode.

Moderator: iceblue support

Read two different barcodes.

Postby stein.stephan@gmx.de » Mon Apr 11, 2016 7:58 pm

Hi there

I would like to read a scanned document with two barcodes. The first one is a "2 of 5 Interleaved" and the second is a qr-Code. The first one is working fine. So I get the value of the 2o5 Barcode. But the is no value for the qr.

Why? The first is the document unique id and the second describes the doctype.

In my code I would like to decide, which kind of doctype will stored in a other location.

Can you say me, is it possible to read both codes in on recognition?

Maybe it's important, the code are next to each other. At first the 2o5 followed by the qr.

Br
Stephan
stein.stephan@gmx.de
 
Posts: 14
Joined: Sun Jan 17, 2016 12:10 pm

Re: Read two different barcodes.

Postby caroline.zhang » Tue Apr 12, 2016 8:09 am

Hello,

Thanks for your feedback.
Please provide your qr barcode image to help us to know the issue and investigate it..

Thank you in advance.
Caroline
E-iceblue support team
User avatar
caroline.zhang
 
Posts: 295
Joined: Mon Mar 07, 2016 9:22 am

Re: Read two different barcodes.

Postby stein.stephan@gmx.de » Tue Apr 12, 2016 10:59 am

Hi

here is the tiff with both barcodes
You do not have the required permissions to view the files attached to this post.
stein.stephan@gmx.de
 
Posts: 14
Joined: Sun Jan 17, 2016 12:10 pm

Re: Read two different barcodes.

Postby caroline.zhang » Wed Apr 13, 2016 3:31 am

Hello Stephan,

Thanks for your document. I tested the tiff image with Spire.BarCode for .NET Version: 1.2.5, and the code below. The scanned value is correct. Please try the version.

Code: Select all
//scan the barcode 
string[] datas = Spire.Barcode.BarcodeScanner.Scan(@"E:\ barcode_merge.tiff");

//show the scan result 
this.TextB_ScanResult.Text = datas[0];//This value is "1234567890"
this.TextB_ScanResult1.Text = datas[1];//This value is "THISISQR"

Sincerely,
Caroline
E-iceblue support team
User avatar
caroline.zhang
 
Posts: 295
Joined: Mon Mar 07, 2016 9:22 am

Re: Read two different barcodes.

Postby stein.stephan@gmx.de » Wed Apr 13, 2016 5:11 am

ok perfect!
I was already tried it, but there was an issue in my code.

Thank you very much.
stein.stephan@gmx.de
 
Posts: 14
Joined: Sun Jan 17, 2016 12:10 pm

Re: Read two different barcodes.

Postby caroline.zhang » Wed Apr 13, 2016 7:19 am

Hi Stephan,

Thanks for your reply.
I am glad to hear that your issue has been resolved.

Sincerely,
Caroline
E-iceblue support team
User avatar
caroline.zhang
 
Posts: 295
Joined: Mon Mar 07, 2016 9:22 am


Return to Spire.BarCode

Who is online

Users browsing this forum: No registered users and 0 guests