can someone check if the QR code is recognizable in this image.
Hi Erik,
Thank you for contacting support. I have tested you sample barcode image against the latest build of Aspose.BarCode for .NET 6.2.0. Your barcode image is noised. Aspose.BarCode API offers a few image processing techniques. These techniques include MedianSmoothing that removes the noise from the image while preserving the image edges. Since I’m able to recognize QR code from this image file. Please have a look over helping article: Better and Faster Image Processing for Barcode Recognition
[C#]
// load image
BarCodeReader reader = new BarCodeReader("C:\\AB\\test236\\nekaj.Jpg", BarCodeReadType.QR);
reader.ImageBinarizationHints = RecognitionHints.ImageBinarization.MedianSmoothing;
int j = 0;
while (reader.Read())
{
j++;
Console.WriteLine("Code Text(" + j + "): " + reader.GetCodeText() + " Symbology: " + reader.GetReadType());
}
reader.Close();
Result:
Code Text(1): 18371 Symbology: QR
Please feel free to write us back in case of any confusion or questions.
thx, how about this one
Hi Erik,
Well, I’ve tested your sample barcode image against the latest build of Aspose.BarCode 6.2.0. I can recognize this barcode image as follows:
[C#]
// load image
BarCodeReader reader = new BarCodeReader("C:\\temp\\p4-QR18267-3fbc7d07-993e-462a-8654-8da57266c6b2.jpg", BarCodeReadType.QR);
reader.OrientationHints = RecognitionHints.Orientation.Rotate270;
int j = 0;
while (reader.Read())
{
j++;
Console.WriteLine("Code Text(" + j + "): " + reader.GetCodeText() + " Symbology: " + reader.GetReadType());
}
reader.Close();
Result:
Code Text(1): 18155 Symbology: QR
Please let us know in case of further assistance or questions.
thx, it’s working.
Hi Eric,