Hi!
and thanks for making this great product available for the rest of the world also.
I have succesfully tested version 0.2 and extracted an EAN-13 barcode for a scanned image. However, I'm having some problems to get a result for code 128, it eventually ends for an out of memory error. I'm using Jython for my tests (because I don't know java so well).
Last lines from the class loader are...
[Loaded sun.java2d.pipe.GeneralCompositePipe from /usr/local/lib/j2sdk1.4.2_04/jre/lib/rt.jar]
[Loaded sun.java2d.pipe.DrawImage from /usr/local/lib/j2sdk1.4.2_04/jre/lib/rt.jar]
[Loaded sun.java2d.loops.RenderCache from /usr/local/lib/j2sdk1.4.2_04/jre/lib/rt.jar]
[Loaded sun.java2d.loops.RenderCache$Entry from /usr/local/lib/j2sdk1.4.2_04/jre/lib/rt.jar]
[Loaded sun.java2d.loops.RenderLoops from /usr/local/lib/j2sdk1.4.2_04/jre/lib/rt.jar]
[Unloading class sun.reflect.GeneratedMethodAccessor1]
[Loaded uk.org.JBarcode_Recognition.Barcodes.Barcode$Stats]
Things are freezing into the last line and shortly I'm getting the out of memory error.
My test image is only 12KB in size (jpg) and contains only the barcode area.
br,
Marko
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately my code at the moment is very memory hungry, (Some changes are in cvs). If you pass they type of barcode and not TYPE_AUTO, it should reduce the number of objects it creates.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
and thanks for making this great product available for the rest of the world also.
I have succesfully tested version 0.2 and extracted an EAN-13 barcode for a scanned image. However, I'm having some problems to get a result for code 128, it eventually ends for an out of memory error. I'm using Jython for my tests (because I don't know java so well).
Last lines from the class loader are...
[Loaded sun.java2d.pipe.GeneralCompositePipe from /usr/local/lib/j2sdk1.4.2_04/jre/lib/rt.jar]
[Loaded sun.java2d.pipe.DrawImage from /usr/local/lib/j2sdk1.4.2_04/jre/lib/rt.jar]
[Loaded sun.java2d.loops.RenderCache from /usr/local/lib/j2sdk1.4.2_04/jre/lib/rt.jar]
[Loaded sun.java2d.loops.RenderCache$Entry from /usr/local/lib/j2sdk1.4.2_04/jre/lib/rt.jar]
[Loaded sun.java2d.loops.RenderLoops from /usr/local/lib/j2sdk1.4.2_04/jre/lib/rt.jar]
[Unloading class sun.reflect.GeneratedMethodAccessor1]
[Loaded uk.org.JBarcode_Recognition.Barcodes.Barcode$Stats]
Things are freezing into the last line and shortly I'm getting the out of memory error.
My test image is only 12KB in size (jpg) and contains only the barcode area.
br,
Marko
Unfortunately my code at the moment is very memory hungry, (Some changes are in cvs). If you pass they type of barcode and not TYPE_AUTO, it should reduce the number of objects it creates.
you need to apply the code 128 patch in the bugs tracker from last year to get charset switching working. Without the patch code 128 cannot be read.
Best regards,
Carsten