Optimizing for speed
As we are quite confident with the recognition rate, we’re doing some refactoring and optimization now. Because of the raw processing power modern GPU’s offer, we’re experimenting with HLSL Shaders for image processing.
The first tests showed a significant performance boost compared to similar things done on cpu.
Altough we’re just evaluating this method, we think that we can improve recognition performance dramatically.
Below a screenshot of a sobel filter implemented in a Pixel Shader applied to a 6 megapixel image:

Tags: Barcodes, Performance, PixelShader

December 11th, 2008 at 4:43
Assuming this is .net code (ie. not a wrapper around native) have you given it a go on the compact framework?
December 11th, 2008 at 9:04
Hi Matthew,
everything is completely managed code (i.e. no native stuff). however, the pixel shader stuff will not work on compact framework i think.
but the rest of the library only uses the .net 2.0 BCL and nothing else, therefore it should be portable to compact framework without big problems.
we didn’t had time to test something like this though.
January 8th, 2009 at 1:57
Joachim, this looks really exciting. I don’t know if we would port this to compact or just depend on sending the images to a server for processing, but if we port it, I’ll be sure to let you know.
If we end up doing this project, we would integrate it into the XML-RPC interface from upcdatabase.com, too. Again, I’ll pass word if we do that.
January 12th, 2009 at 4:44
Hello,
I am interested in how your library might perform with poor quality images, such as those taken from mobile devices without maco/auto-focusing lenses…
January 12th, 2009 at 9:01
hello Jeff,
thank’s for your comment, i’ll take some mobile phone pictures to test how well bamby performs there. I’ll post the results. If the pictures are not too blurry (i.e. different lines can be distinguished) i guess there should be no problem detecting barcodes.
January 27th, 2009 at 13:17
hello joachim (=namensvetter),
i would like to know about the status of your project and if you make it available as open source. i am teaching medical image processing - and barcode reading get’s more and more important in the medical sector. so i am happy about any information you can give.
all the best!
May 2nd, 2009 at 9:03
Hey, I would also be interested in this project very much. Will you release it for free or as open source? I am a hobby programmer and I would be very interested to try this library for one of my personal projects. Could you tell me please, when you are planing to release it?
Thank you very much.
May 7th, 2009 at 17:09
I am also interested in the code.
June 12th, 2009 at 20:32
Hi, very nice post. I have been wonder’n bout this issue,so thanks for posting
October 13th, 2009 at 13:22
Hallo, is there any url from where I can retrieve the project in c# code. I’m doing a project on barcode reading as well. Can you also tell me which barcodes/matrixes are supported yet?
Thank you
November 15th, 2009 at 11:13
Hey, any updates on this project? Is it still alive? Thank you very much!