Barcode from image is recognized on web demo but not 4.8 evaluation?

We recently acquired a temporary license to test the barcode recognition functionality against our documents.

The attached image was properly recognized on your live web demo found here:

http://www.aspose.com/demos/.net-components/aspose.barcode/csharp/barcode-reader/linear-2d-postal.aspx

as well as “Aspose.BarCode.Toolkit.exe” found in the 4.8 installer. However the provided DLLs in both downloads do not recognize the barcode. This is the download being used:

http://www.aspose.com/community/files/51/.net-components/aspose.barcode-for-.net/entry387224.aspx

The barcode in question is Interleaved2of5. The following code was used to test the image where “barcodetestscan.png” is the attached image.

using System;
using Aspose.BarCode;
using System.Drawing;
using Aspose.BarCodeRecognition;


namespace Recognition
{
	class Class1
	{
		[STAThread]
		static void Main(string[] args)
		{
            Aspose.BarCode.License lic = new Aspose.BarCode.License();
            lic.SetLicense("Aspose.BarCode.lic");
            Aspose.BarCodeRecognition.License lic2 = new Aspose.BarCodeRecognition.License();
            lic2.SetLicense("Aspose.BarCode.lic");

			// Create an Code39 image
			/*BarCodeBuilder bb = new BarCodeBuilder();
			bb.SymbologyType = Symbology.Code39Extended;
			bb.CodeText = "1234567812345678";
			bb.BarCodeImage.Save("test39.bmp");*/
     
			//Read from this image
            BarCodeReader br = new BarCodeReader("barcodescantest.png", BarCodeReadType.Interleaved2of5);
            br.ExpectedBarCodeCount = 1;
            br.OrientationHints = RecognitionHints.Orientation.NoRotate;
            br.CustomizedScanStrength = 200;
            
            //Tips: You can use Or "|" operator to read mulitiple types of barcodes.
            //eg. BarCodeReader br = new BarCodeReader("test39.bmp", BarCodeReadType.Code39Extended | BarCodeReadType.Code128)
            while (br.Read())
		    {
		        Console.Out.WriteLine("BarCode Found:" + br.GetCodeText());
		    }
		    br.Close();
            Console.Out.WriteLine("Done");
            Console.ReadKey(false);
		}
	}
}

Any idea why this might be happening? The DLLs used are the latest available on the download section (4.8).


Link to attached image for public viewing

After searching these forums and discovering a lot of issues are solved by trying older versions, I found that version 4.5 was able to read the barcode.

Not to come off rude, but I find it very unprofessional that your team does not properly test new versions to the point where problems like these pop up. New version should be able to read every previous barcode and more. Your customers are not your beta testers.

Hi Alex,


First of all, please accept our sincere apologies for your inconvenience.

Regarding the image that you have shared, I have tested it with the toolkit, online demo and the latest version of Aspose.BarCode for .NET v4.8.0. The latest assembly was unable to recognize the barcode symbol. For investigation purposes, I have logged a ticket (BARCODENET-33280) in our defect database and requested the development team to further look into this matter. As soon as some receive further news, we will update you here.

Regards,

Great.

Could you please tell me what assembly version your web demo is using so that I can use that in the mean time? Version 4.5 still doesn’t recognize nearly the range of barcodes your web demo can handle.

Edit:
It seems 4.2 handled all the barcodes I had.

Hi,


Sorry for the delayed response.

I have checked the version of Aspose.BarCode for .NET assembly being used with the online demos. The version is quite old, that is v4.0.0.

Regarding the ticket attached to your request, I am pleased to announce that we have fixed the problem, and I am currently testing the latest build against your reported issue. You will be notified automatically as soon as this version is available for public use.

Regards,

The issues you have found earlier (filed as BARCODENET-33280) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.