i've recognized a quite strange behaviour when trying to detect barcodes on images with a resolution of 600 DPI (4992x6920 pixels in this case) or greater. Most of the barcodes on such images are not recognized by GDPicture. When i use the resize method to reduce the resolution to a smaller resolution like 300 DPI (2496x3460 pixels), the barcodes are all recognized flawlessly.
Is this a known issue? Or do i have to set a specific property to handle larger images?
Thank you in advance for your help.
Best performances for recognition (OCR or barcode) are usually reach between 200 and 300 DPI.
What I can suggest is it to scale your image to 300 DPI before processing them.
- Create cloned image
- Scale this cloned image to 300 DPI (using the scaleImage method)
- Performs recognition on the scaled image.
This requires some code but it is very easy to implement and usually result on excellent results...
Hope this helps !
thanks for the answer, i think, i will implement it this way, even though this will probably result in a slight performance decrease.
I think, we will do some additional tests and purchase the library in the next days then.
Not sure dude. OK you have a resize operation to process but in ah other hand you apply OMR to a smaller bitmap. To be tested but I think you should get almost same perfs...even though this will probably result in a slight performance decrease
i've tried this with "gdImaging.ResizeHeightRatio(iImage, 3500, System.Drawing.Drawing2D.InterpolationMode.Default);" on a tif-file with 25 pages, all 600 DPI. Without scaling the images, the barcode recognition process (on the 600 DPI images) is significantly faster than scaling and recognizing the smaller images.
If you send me your image per mail at l.carrere (at) gdpicture (dot) com I will try to find time to investigate your issue. I think we should get similar performances...
We have been able to increase the resizing performance bu 70 % on bitonal image. This enhancement will be included in GdPicture.NET 7. Hop we will be able to get same performance as with "non-scaling" recognition...
Who is online
Users browsing this forum: No registered users and 1 guest