Hi I have a related question so I hope you don’t mind me asking it here.
Thank you for these details. Please note that there are several other factors contributing in scan failure, like the presence of noise in the image, skewed barcode labels, punch holes/white spots etc. Severity of one such factor or a combination of two or more makes it difficult for the BarCodeRecognition algorithm to scan a barcode properly. The ideal resolution for recognition purposes is 300dpi to 600dpi.
I would like to add that Aspose.BarCode for .NET provides better and faster barcode recognition using image processing techniques. MedianSmoothing removes the noise from the image while preserving the image edges. Please visit the documentation link below:
If you think that the barcodes are damaged and unreadable then you can increase error correction value to the max. It would be great if you can share sample barcode images here in this thread. We will take a closer look and guide you accordingly.
I have expermimented with ImageBinarizationHints but you are right, when the barcode has a lot of damage, this only helps so much. I also use image processing to despeckle/deskew the image. I wrote a multi-pass system to try the bare image first and then apply various techniques (including ImageBinarizationHints) to try and clean up the images if the barcodes are not initially recognized. I always ask clients to scan at 300dpi (higher would be prohibitively expensive in processing time) but they often do scans of scans so the quality degrades.