Jump to content
heng1991

Barcode decoder by using Labview

Recommended Posts

I'm using about the same code for QR and everything is working just fine.

Lately I got rectangle DataMatrix that Zxing should be able to deal with but I have no luck.

Could one of you try to run the attached image in your code and tell me if there is any success?

Thanks in advance.

closer1.bmp

Share this post


Link to post
Share on other sites

I don't know about Zxing but the LabVIEW bar code reader reports it is a Pharmacode with the string "1314"

Share this post


Link to post
Share on other sites

It is in DataMatrix format and it should say: LOC-909A094-0014   Z650-1.25

I use OpenCV with Zxing.net instead of Vision mainly because each deploy costs about 500$ with Vision while OpenCV is free.

Share this post


Link to post
Share on other sites

I thought I replied to your DM but I don't see it in my mailbox now.

From what I can tell, the rectangular bar code in your image is classified as Data Matrix, ECC200, DMRE.

I used Bartender to create an ECC200 type label and could NOT decode it with ZXING or the on-line decoder. ( https://zxing.org/w/decode.jspx )

I WAS able to decode both your image and my Bartender rectangular bar code with a Datalogic GD4400 scanner.

I tried updating my ZXING assembly from the old 14.0 version to the latest I could easily find (16.4) but it still didn't decode.

Share this post


Link to post
Share on other sites

I found the solution. It was a resolution issue.

I resized x2 and smoothed/sharpened the image with linear interpolation and it works now.

Thanks!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.