Green bars overlay missing on barcoe image after decode?

Oct 17, 2012 at 9:35 PM
Edited Oct 17, 2012 at 10:40 PM

Looking at the WindowsFormsDemo source, there should be green bars overlay on top of the barcode image after clicking decode. This doesn't seem to happen. Has anyone else experienced this issue? Am I reading the source wrong?

The only thing I can think of is that ResultPointFound event does not fire when a barcode bar has been decoded. Is there a property that has to be set to activate this event? If there is, where in the documentation would I have found this information?

I'm relatively new to application development so please excuse my ignorance :)

Thanks.

Coordinator
Oct 17, 2012 at 10:22 PM

For me it works.

What type of barcode did you try to decode? Can you provide a sample image which decodes but doesn't draw the rectangle?

Oct 17, 2012 at 10:52 PM

I have tried to decode a number of different types of barcodes. Here (http://s14.postimage.org/tabh5lb4h/Sample_Page.jpg) is a link to a code_39 barcode that doesn't produce an overlay for me. Interestingly though, an EAN_13 did produce one horizontal green bar here (http://s14.postimage.org/epyzoi5jl/ean_13.jpg).

Coordinator
Oct 18, 2012 at 8:02 PM

That issue is now fixed in the current source. You can find it in the source code repository.

Oct 18, 2012 at 11:29 PM

Thank you for the reply and fix.

Is this the source code repository? What is the difference between branches and trunk (apart from I can only find WindowsFormsDemo in trunk)?

Could you tell me what you did to fix the problem?

Many thanks for your time.

Coordinator
Oct 20, 2012 at 8:40 AM

Your link points to the repository.

The main source code is in trunk. The branch only contains a special version of ZXing.Net for the .Net Micro Framework.
You can directly check out the sources with a svn client and the url https://zxingnet.svn.codeplex.com/svn.

The problem was fixed after I added the missing ResultPoints callback handler to the different 1D readers.

Oct 21, 2012 at 4:57 PM

I've tested the callback and it works. For some reason I was assuming resultPoints were points of each individual barcode black strip and the green bar/s would overlay the individual strips.

Thanks.