PDF417 recognition doesnt work

Discussions about barcode reading and writing
Post Reply
npits
Posts: 2
Joined: Fri May 23, 2014 12:39 pm

PDF417 recognition doesnt work

Post by npits » Fri May 23, 2014 1:13 pm

Hi,

Can you see if I'm doing something wrong with PDF417 recognition?
I'm sending you the sample image in the attachment.

The thing is that this image is successfully recognized as a PDF417 barcode with other software, but I would like to use gdpicture components...

This is the code I'm using:

Code: Select all

	string _hubFilePath = @"C:\Pictures\P0018.tiff";

	try
	{
		using (GdPicture10.GdPictureImaging oGdPictureImaging = new GdPicture10.GdPictureImaging())
		{
			int ImageID = oGdPictureImaging.CreateGdPictureImageFromFile(_hubFilePath);
			if (ImageID != 0)
			{
				try
				{
					string[] scanResult = null;
					int barcodeCount = 0;
					GdPicture10.GdPictureStatus status;
					
					// PDF417
					status = oGdPictureImaging.BarcodePDF417ReaderDoScan(ImageID, GdPicture10.BarcodePDF417ReaderScanMode.BestQuality, 1);
					if (status != GdPicture10.GdPictureStatus.OK)
						throw new ApplicationException("GDIPicture exception");

					barcodeCount = oGdPictureImaging.BarcodePDF417ReaderGetBarcodeCount();
					if (barcodeCount != 1)
						throw new ApplicationException("Barcode not found");
	
					scanResult = oGdPictureImaging.BarcodePDF417ReaderGetBarcodeValue(1);

				}
				finally
				{
					oGdPictureImaging.ReleaseGdPictureImage(ImageID);
				}
			}
		}
	}
	catch (Exception ex)
	{
		Console.WriteLine(ex.ToString());
	}
Attachments
P0018.tiff
sample PDF417 image
P0018.tiff (338.03 KiB) Viewed 15576 times

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: PDF417 recognition doesnt work

Post by SamiKharma » Sat May 24, 2014 5:01 pm

Hi,

The image is not a document image, which is what GdPicture is designed to detect barcodes in. Also, the image was taken in a very low dpi, and then scaled up, making it very low quality.

Best,
Sami

npits
Posts: 2
Joined: Fri May 23, 2014 12:39 pm

Re: PDF417 recognition doesnt work

Post by npits » Tue May 27, 2014 2:33 pm

Hi Sami,

What is document image?

Here is link to another sample image that ZXing.BarcodeReader can decode, but GdPicture10.GdPictureImaging can not.
https://dl.dropboxusercontent.com/u/4515169/TEST4.jpg
Image

Is there any tip on GdPicture10.GdPictureImaging configuration or something similar that could help me with PDF417 recognition?


Thank you

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: PDF417 recognition doesnt work

Post by SamiKharma » Tue May 27, 2014 4:18 pm

Hi,

I suspect the problem is with the low dpi of the image. Nonetheless, the issue has been reported internally for evaluation and resolution by the technical team.
We will let you know as soon as it is resolved.

Best,
Sami

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: PDF417 recognition doesnt work

Post by Loïc » Fri Jul 31, 2015 3:21 pm

Hello,

This barcode is correctly detected by our latest version.

Kind regards,

Loïc

EFernkaes
Posts: 36
Joined: Fri Jul 31, 2015 5:27 pm

Re: PDF417 recognition doesnt work

Post by EFernkaes » Thu Jan 23, 2020 9:01 pm

Hi Loïc,

I attached some documents, which we scanned in quite good Quality and your latest relaese does not recognisze them (but our old Software from 2005 does :-)

I can send you many more if you want.

When looking at the Images, on of the Problems seems to be, that you Need enough space araound the Barcode, that they are recognized properly.

Greetings Reinhard

loicaigon
Posts: 35
Joined: Mon Oct 21, 2019 9:11 am

Re: PDF417 recognition doesnt work

Post by loicaigon » Mon Jan 27, 2020 5:10 pm

Hi Reinhard,

Thanks for letting us know and for your offer of providing more input files. May I suggest that you create a ticket and join your files there?
https://orpalis.zendesk.com/hc/en-us/requests/new

Looking forward,

Loic Aigon
Customer Success Manager
Orpalis

Hugo
Posts: 227
Joined: Tue Dec 18, 2018 10:09 am

Re: PDF417 recognition doesnt work

Post by Hugo » Mon Feb 03, 2020 2:10 pm

Hi EFernkaes,

Due to your request, we have deleted the file you added to your message.

Regards,
Hugo Cudd
Technical Support

robertryan
Posts: 1
Joined: Tue Aug 09, 2022 5:32 pm

Re: PDF417 recognition doesnt work

Post by robertryan » Tue Aug 09, 2022 5:34 pm

Can you see if I'm doing something wrong with PDF417 recognition?
I'm sending you the sample image in the attachment.

The thing is that this image is successfully recognized as a PDF417 barcode with other software.
But I would like to use gdpicture components.

Bugarsky & Navarro, LLC

Hugo
Posts: 227
Joined: Tue Dec 18, 2018 10:09 am

Re: PDF417 recognition doesnt work

Post by Hugo » Wed Aug 10, 2022 3:28 pm

Hi Robertryan,

Thank you for your feedback.

Regarding this, I see no images attached to your message. Could you add this please?

If this is confidential we can further and more actively discuss this by contacting us here:
https://orpalis.zendesk.com/hc/en-us/requests/new

Feel free also to let me know which other software allows you to view this so I may also notice this on my end.

Regards,
Hugo Cudd
Technical Support

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest