This pertains to version 5.5.
Please find attached a few examples of images which are not working. And even worse are returning incorrect code text.
I’ve tried these images on various online services and they work fine.
First is the most basic image:
Untitled2.jpg - this one isn’t detected automatically by aspose - however if I rotate image by -2 degrees then I get a result but it’s wrong.
The remaining images are all pretty similar. Very basic scanning just simply not working.
Also these barcodes are all generated using the aspose suite as well.
string files = Directory.GetFiles(“C:/temp/”);<o:p></o:p>
foreach (string file in files)
using (BarCodeReader reader = new BarCodeReader(file, BarCodeReadType.DataMatrix
reader.ImageBinarizationHints = RecognitionHints.ImageBinarization.MedianSmoothing;
Console.WriteLine(file + " -- Symbol: " + reader.GetReadType() + " Code :" + reader.GetCodeText());
Thanks for the response. Firstly - our MAJOR MAJOR issue with Aspose Barcode recognition is the false positives - almost no other packages give back “junk” barcodes. This is obvsiously very worrying. Please can you revert on this ASAP. Else we will probably start looking at other 3rd party libraries (
datamatrix.net is one we may start playing with).
On some minor points:
- your documentation is really lacking… https://reference.aspose.com/barcode/net/aspose.barcode.barcoderecognition/barcodereader - it doesn’t give any member for ImageBinarization. So it’s not obvious. Also often the text on a member will be something completely useless like “Property XYZ - this allows you to set the property value.” - hmmm - yes developers typically do know what properties are for - how about some examples or at least proper description.
- we have started using a 3rd party library - aforge.net - this provides excellent deskew, filters, etc. I highly suggest that you put some proper examples and documentation around using these kinds of techniques when doing barcode recognition - I do think it’s Aspose’s responsibility to both provide the libary and also give useful examples on how to get the recognition to work in read-world circumstances. At the very least give an indication that the developer will need to use other libraries before passing into aspose.
- there is definitely an opportunity for Aspose to go beyond the “basics” and try really help their developers more. If one compares your support to something like devexpress or infragistics you guys are way behind the curve…
I hope this frank feeback helps.
Thanks for the response. Again - I would have found it immensely helpful to have a page which specifically dealt with the image processing side of things:
Also some guidance in terms of barcode size requirements based on the data you want to store and the image quality you will print/scan at.
And finally some info on which barcodes are better at which applications. For instance we were using pdf417 but have moved to DataMatrix since it performs much better with low res scanned docs.
We literally invested more than 1 week of dev & test time trying to manually figure this stuff out ourselves. It would be very useful for Apose to give this barcode scanning primer documenation some real effort.
The links you sent me I have already seen and doesn’t address any of the things I mention in this post.
Help out your customers here a bit more…
Oh and also the links you sent me have broken links off them - I get:
controlling the scan strength during the barcode recognition process (Page Deleted)
A page with this title has been deleted. Contact your space administrator if you would like it restored
And also this page:
It doesn’t tell me WHEN I would use the various options. This really doesn’t give much guidance at all.
pauldeg:Oh and also the links you sent me have broken links off them - I get:controlling the scan strength during the barcode recognition process (Page Deleted) A page with this title has been deleted. Contact your space administrator if you would like it restored