We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Can't get Suppliment code

Hi,

I tested Barcode library for barcode recognition of EAN13 (ISSN) and Supplement. Unfortunately library didn’t recognize supplement barcode. Please see attached image.

I already tested the library year ago and had same problem. I reported about it at the forum: https://forum.aspose.com/t/7246

You reported that bug was fixed.

Could you please check it on my example again?


Hi Viacheslav,

Thank you for your inquiry and sharing sample.

We have investigated the issue. It was found that the sample image shared by you contains the supplement barcode but it is blurred and some lines are merged. Due to this reason, Aspose.BarCode is unable to extract the supplement barcode. The issue has been logged into our system with ID BARCODENET-36557. Our product team will further look into it and provide feedback. We will update you with the feedback in this thread once available.

Regarding your previous issue, following code snippet recognizes the barcode and supplement barcode from sample image (PB_2016_06.jpg) successfully.

CODE:

Aspose.BarCode.BarCodeRecognition.BarCodeReader reader =
new Aspose.BarCode.BarCodeRecognition.BarCodeReader(@"_XXXX_OT_2017_22.jpg",
Aspose.BarCode.BarCodeRecognition.DecodeType.EAN13, Aspose.BarCode.BarCodeRecognition.DecodeType.Supplement);
reader.RecognitionMode = Aspose.BarCode.BarCodeRecognition.RecognitionMode.MaxBarCodes;
reader.ChecksumValidation = Aspose.BarCode.BarCodeRecognition.ChecksumValidation.Default;
while (reader.Read())
{
string codeText = reader.GetCodeText();
string codeType = reader.GetCodeType().ToString();
string codeChecksum = reader.GetCheckSum();
Console.WriteLine(codeType + ":" + codeText + "," + codeChecksum);
}
reader.Close();

Hi Ikram,


Thank you very much for test and explanation. I have resaved cover from PDF to JPG with better quality settings, 300 DPI instead of 150DPI. Supplement code successfuly recognized.
Excuse for troubling.

Best regards,
Viacheslav
Hi Viacheslav,

Thank you for update. It is good to know that things are now working at your end. Feel free to contact us in case of any query or comments.

Hi Ikram,

I continue testing BarCode library with hi-resolution Jpegs (300 dpi). Some supplement codes didn’t recognize again. They are not blured so much. Could you please test samples again?
Thank you!
Hi Viacheslav,

Thank you for sharing sample.

We have investigated the issue. Initial investigation shows that the issue persists. The issue has been logged into our system with ID BARCODENET-36571. Our product team will further look into it and provide feedback. We will update you with the feedback in this thread once available.

Hi Ikram,


Thank you for information! I will wait for feedback about the issue.
Hi Viacheslav,

Thank you. We will update you as soon as we have any feedback.

Hi Ikram,

I received feedback about the issue BARCODENET-36571. So I download last library (17.7) and test it on new sample.
I have same problem. Could you check please the sample? OT_2017_31.jpg (799.0 KB)

@Eraser,

We are able to reproduce the issue at our end. The issue has been logged into our system with ID BARCODENET-36641 for further investigation by our product team along with the previous details. We’ll update you here once there is some information or a fix version available in this regard.

@Eraser,

This is to update you that the issue (BARCODENET-36641) has been resolved. Please download the latest version and try it at your end.