Menu

code 128

Help
2005-03-01
2013-03-22
  • Marko Virtanen

    Marko Virtanen - 2005-03-01

    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

     
    • Andi McLean

      Andi McLean - 2005-05-26

      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.

       
    • Carsten Hammer

      Carsten Hammer - 2005-06-06

      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

       

Log in to post a comment.

MongoDB Logo MongoDB