 |
|
 |
Hello,
First of all Thank you very much sir for your help in Barcode scanning. This is a great tutorial.
I want to know whether the DLL "BarcodeImaging" can be utilized in my applications.
Is it an open source(freeware) or paid DLL
|
|
|
|
 |
|
|
 |
|
 |
This barcode reader works for barcode 39 not for Barcode 39 Extension. I would like to know if there is any code available for reading barcode 39 extension.
|
|
|
|
 |
|
 |
I have it done locating a Barcode within a JPEG file, I found an algorithm to rotate it also and works fine. I have modified your code a little to suit the requirement, i'll make it robust soon i hope...
The problem is it is getting too slow with larger images. If anyone knows any other algorithm plz let me know.
modified on Monday, May 19, 2008 3:54 PM
|
|
|
|
 |
|
|
 |
|
 |
Hello, can you help me
I want use this programm for barcode 128 but I cant do it.
What I must change in this code for barcode 128.
Thanks.
|
|
|
|
 |
|
 |
plz mention how to write code for calculating histogram of a image
|
|
|
|
 |
|
 |
I have a lot to do with comercial barcode detectors.They all detect barcodes on an binary (black&white)image.Some of them mask this by producing internally the bw image they need. I think It would be a lot esier to detect a barcode on an BW image and a little faster too.
|
|
|
|
 |
|
 |
I have done some work on the code that was published in this follow up CodeProject article. Actually, for the detection algorithm used it doesn't make any difference, but the detection speed improves by 40% if a black and white input image is left in its original format, instead of converting it to 24bpp RGB. Thank you for your suggestion
|
|
|
|
 |
|
 |
Hello,
thanks for your code
how can i implement read barcode version 2 can you help please
thanks
|
|
|
|
 |
|
 |
I am generating bar codes on the website "http://www.bokai.com/Barcode.Net/LiveWebDemo.aspx", then saving the image (bmp) to my HDD, opening in Paint, saving as a JPG, and running it thru your program.
All seems to work pretty well until I use the name "Jim Johansson" (or Tre Johansson, or any 3 char first name with that last name). Then the program seems to get tripped up after the "o" in Johansson. Do Tre Johansson, then Tren Johansson, then Trent Johansson...
Interesting results.
|
|
|
|
 |
|
 |
... oh, but Tre Johan works (or any 3 char first name...)
|
|
|
|
 |
|
 |
As it is, the sample is not very robust. It does not like to see extra information in the image. Barcodes produced by http://www.bokai.com/Barcode.Net/LiveWebDemo.aspx have text above and below the actual barcode.
Remove the extra information from the image and the sample should work. If you find a way to locate the barcode within the image so that you can check only the area where the barcode exists, let me know.
|
|
|
|
 |
|
 |
Thanks for the reply Benjamin. The program works nicely. Sure, bells and whistles can be added but the program does what was intended. I was just messing around with the barcodes generated at http://www.bokai.com/Barcode.Net/LiveWebDemo.aspx and ran across the exception. Funny, but outside of the condition(s) I mentioned the barcodes from this site seem to work.
I WOULD like to know, however, how to get the program to look in a specific sector of the image for the barcode. Any help with that is much appreciated.
Thanks again for the reply. I actually didn't expect a reply since the orginal posts are from a year ago.
See ya.
|
|
|
|
 |
|
|
 |
|
 |
Hello,
I used the follow-up codeproject of qlipoth (Reading Barcodes from an Image - II), that bases on Benjamin's code. Qlipoth enhanced Benjamin's code to support finding multiple barcodes on a page. He also added support for upside-down and vertical barcodes. His code however has the same problem that other text on the page was returned as noise in the barcode detection result.
I have modified qlipoth's code to improve the detection of true Code39 codes and to get rid of the false positives in the output:
- Only return codes starting and ending in "*"
- Added some noise detection
- Optimized code for speed
I have tested my stuff with output of the two barcode generators mentioned by xWayne and Reelix. My changes were already sufficient to correctly read the codes generated by bokai.com, but the software still had a problem with the output of the terryburton.co.uk generator. The problem with that was that the generated images do not have a white border. This causes the software to not store the result for the very last black bar, because the right edge of that bar is not detected. To solve this, I added a leading and trailing white pixel to the histogram output of each scan line.
I have published my version of the source code as a new CodeProject article:
Reading Barcodes from an Image - III[^]
Hope it helps, guys
modified on Monday, October 5, 2009 4:56 PM
|
|
|
|
 |
|
 |
Wow - Congrats on the fixing
-= Reelix =-
|
|
|
|
 |
|
 |
A neat idea. The idea of reading bar codes with a web-cam is quite intriguing. However to be able to do that you'd have to come up with solutions to the problem of bluring, and rotation.
Joel Holdsworth
|
|
|
|
 |
|
 |
Firstly, 'Add up all the pixel values vertically (average the R,G,B channels) ' is a PROJECTION, not a HISTOGRAM. Histograms in image processing are arrays containing the number of pixels of each possible grey level within the image.
Rotation is actually quite easy to overcome. You can apply an affine transformation to rotate an image, though obviously you will need to find the scene angle first. With a barcode there is a lot of linear data, so again this is relatively straightforward. The code I have written is in MMX assembler (as I need to rotate a 1024x768 greyscale image in less than 15 millseconds), though if speed is not critical, C++ / C# could be used.
|
|
|
|
 |
|
 |
Try using a Radon transform to find the bars and then process the radon image or go back to the original and reprocess. The problem with web cams is the image resolution is so low that REAL barcodes end up with fractional pixel widths. I found breaking the bar into several stripes and measuring the bar areas was the best way to go if you dont have a high level stats or signal processing background.
|
|
|
|
 |
|
 |
And how can i find a library that does Radon transformations? Thx.
|
|
|
|
 |