条形码图像过大时,识别错误,且不稳定。我把图像上传了
test1.jpg (29.6 KB)
Thanks for the barcode image.
I tested your scenario/case using your barcode image file with recent version of Aspose.BarCode and it works fine.
e.g.,
Sample code:
var bmp1 = "e:\\test2\\test1.jpg";
using (Aspose.BarCode.BarCodeRecognition.BarCodeReader reader1 = new Aspose.BarCode.BarCodeRecognition.BarCodeReader(bmp1, Aspose.BarCode.BarCodeRecognition.DecodeType.AllSupportedTypes))
{
foreach (Aspose.BarCode.BarCodeRecognition.BarCodeResult result1 in reader1.ReadBarCodes())
{
// Read symbology type and code text
Console.WriteLine("Symbology Type: " + result1.CodeType);
Console.WriteLine("CodeText: " + result1.CodeText);
}
}
output:
Symbology Type: GS1Code128
CodeText: (01)06952450972328(17)240113(10)72320052(91)017
Do you find different results? What should be the expected results?