Hi,
http://demo.leadtools.com/OnlineRecognitionDemo/default.aspx ) give the expected value very fast ( 22ms, but this is more due to the native code speed ).#barcode => it did but the barcode value is wrongHi,
http://demo.leadtools.com/OnlineRecognitionDemo/default.aspx ) give the expected value very fast ( 22ms, but this is more due to the native code speed ).#barcode => it did but the barcode value is wrongHi Yassine,
Hi Yassine,
Thank you for being patient. We’ve tested all your sample barcode images against the latest build of Aspose.BarCode 6.3.0. We can recognize them as follows:
string[] files = Directory.GetFiles(folderPath);
foreach (string file in files)
{
using (BarCodeReader reader = new BarCodeReader(file, readerType))
{
while (reader.Read())
{
Console.WriteLine(Path.GetFileName(file) + "--Symbol:" + reader.GetReadType() + " Code :" + reader.GetCodeText());
}
Console.WriteLine();
}
}
We could not recognize an image (61abf66b-ab80-4233-aa8a-6c8e7217a0b4.jpeg) as there is no barcode. The resultant notepad file has been uploaded along this reply. We recommend using the latest version of Aspose.BarCode for .NET 6.3.0. Please refer to the download page:
http://www.aspose.com/community/files/51/.net-components/aspose.barcode-for-.net/default.aspx
Please feel free to reply us back in case of any confusion or questions.
Thank you for your quick answer,
Hi Yassine,
Hi Yassine,
In addition to the above reply, as a workaround, you can recognize it by applying orientation settings as follows:
string path = @"C:\AB\test240\error\608b2b55-882c-4b44-8d31-7ac35c25f7cb #52312181094061404002100002539538431702199904.jpeg";
using (BarCodeReader reader = new BarCodeReader(path, BarCodeReadType.Code128))
{
reader.OrientationHints = RecognitionHints.Orientation.Rotate180;
while (reader.Read())
{
Console.WriteLine(Path.GetFileName(path) + "--Symbol:" + reader.GetReadType() + " Code :" + reader.GetCodeText());
}
}
Result:
608b2b55-882c-4b44-8d31-7ac35c25f7cb #523121810940614040021000025395384317021
99904.jpeg–Symbol:Code128 Code :00100 NAR000210004040614008608231
Hi Yassine,
Hi Yassine,
The issues you have found earlier (filed as BARCODENET-33922;BARCODENET-33921) have been fixed in Aspose.BarCode for .NET 7.0.0.