Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, April 11, 2012 2:54:47 AM(UTC)

mattie  
mattie

Groups: Registered
Posts: 37



i'm trying to read datamatrix and code128 simultaneously with one call like this:


rc = L_BarCodeRead(bitmapHandle,
roi,
BARCODE_DM_READ_RECTANGLE | BARCODE_DM_READ_SMALL | BARCODE_DM_READ_SQUARE | BARCODE_1D_CODE_128,
BARCODE_SCANLINES_PER_PIXELS,
0, //default, no special flags
10,
&BarCode1D,
NULL,
NULL, //&BarColor,
&pBarCodeData,
sizeof(BARCODEDATA));


However, I'm only getting the code128 barcode recognized. If I leave
out the BARCODE_1D_CODE_128, the datamatrix barcodes are recognized.

Is it possible to recognize simultaneously, if so, what's the best way?

greets
matthias


 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, April 11, 2012 6:02:19 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

Matthias,

The documentation for the ulSearchType parameter of L_BarCodeRead function states that you "... can combine values when appropriate among the same group values..."
This means you cannot OR search types from different groups such as 1D and datamatrix.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#3 Posted : Thursday, April 12, 2012 8:18:33 AM(UTC)

mattie  
mattie

Groups: Registered
Posts: 37


thanks for clarifying
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.098 seconds.