cuneiform fails for almost all images I tested with PUMA_XFinalrecognition failed

Bug #1156727 reported by Rose-g
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cuneiform for Linux
New
Undecided
Unassigned

Bug Description

I tried to apply cuneiform-1.1.0 to some scanned a4 pages (with 200 or 300 dpi). The original image formats after using 'pdfimages' were jpeg or ppm. Then the images were converted in several formats with 'convert'. With one execption all
attempts to do something like
   cuneiform -l ger -f hocr image
or
   cuneiform -l ger -f text image
failed with:

rose@leopard:/home_leopard/rose/Txt/Pdf2searchablePdf/300DPI/test(183)$ cuneiform -l ger -f hocr ct-000.ppm
Cuneiform for Linux 1.1.0
PUMA_XFinalrecognition failed.
rose@leopard:/home_leopard/rose/Txt/Pdf2searchablePdf/300DPI/test(184)$ cuneiform -l ger -f hocr ct-000_neu.ppm
Cuneiform for Linux 1.1.0
PUMA_XFinalrecognition failed.
rose@leopard:/home_leopard/rose/Txt/Pdf2searchablePdf/200DPI/test(156)$ cuneiform -l ger -f hocr user-000.jpg
Cuneiform for Linux 1.1.0
PUMA_XFinalrecognition failed.
rose@leopard:/home_leopard/rose/Txt/Pdf2searchablePdf/200DPI/test(194)$ cuneiform -l ger -f hocr user-000.png
Cuneiform for Linux 1.1.0
PUMA_XFinalrecognition failed.
rose@leopard:/home_leopard/rose/Txt/Pdf2searchablePdf/200DPI/test(196)$ cuneiform -l ger -f hocr user-000.bmp
Cuneiform for Linux 1.1.0
PUMA_XFinalrecognition failed.
rose@leopard:/home_leopard/rose/Txt/Pdf2searchablePdf/200DPI/test(197)$ identify -verbose user-000.jpg
Image: user-000.jpg
  Format: JPEG (Joint Photographic Experts Group JFIF format)
  Class: DirectClass
  Geometry: 1608x2238+0+0
  Resolution: 200x200
  Print size: 8.04x11.19
  Units: PixelsPerInch
  Type: TrueColor
  Endianess: Undefined
  Colorspace: sRGB
  Depth: 8-bit
  Channel depth:
    red: 8-bit
    green: 8-bit
    blue: 8-bit
  Channel statistics:
    Red:
      min: 0 (0)
      max: 255 (1)
      mean: 215.425 (0.844803)
      standard deviation: 53.5515 (0.210006)
      kurtosis: 3.21575
      skewness: -1.85947
    Green:
      min: 0 (0)
      max: 255 (1)
      mean: 199.18 (0.781099)
      standard deviation: 60.4464 (0.237045)
      kurtosis: 0.125088
      skewness: -0.903322
    Blue:
      min: 0 (0)
      max: 255 (1)
      mean: 162.729 (0.638152)
      standard deviation: 90.0586 (0.353171)
      kurtosis: -1.84514
      skewness: -0.102945
  Image statistics:
    Overall:
      min: 0 (0)
      max: 255 (1)
      mean: 192.445 (0.754685)
      standard deviation: 69.8381 (0.273875)
      kurtosis: -0.194277
      skewness: -1.00361
  Rendering intent: Perceptual
  Gamma: 0.454545
  Chromaticity:
    red primary: (0.64,0.33)
    green primary: (0.3,0.6)
    blue primary: (0.15,0.06)
    white point: (0.3127,0.329)
  Interlace: JPEG
  Background color: white
  Border color: srgb(223,223,223)
  Matte color: grey74
  Transparent color: black
  Compose: Over
  Page geometry: 1608x2238+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: JPEG
  Quality: 90
  Orientation: Undefined
  Properties:
    comment: Created with GIMP
    date:create: 2013-03-18T18:08:59+01:00
    date:modify: 2013-03-18T18:08:59+01:00
    jpeg:colorspace: 2
    jpeg:sampling-factor: 1x1,1x1,1x1
    signature: 1598781bd2f6bd7a56a6a49b4bc62be6fc65c2afad82285b4992c05f19a4e6fb
  Artifacts:
    filename: user-000.jpg
    verbose: true
  Tainted: False
  Filesize: 1.117MB
  Number pixels: 3.599M
  Pixels per second: 27.68MB
  User time: 0.130u
  Elapsed time: 0:01.129
  Version: ImageMagick 6.7.9-9 2013-03-16 Q32 http://www.imagemagick.org
...

The only exception was:
rose@leopard:/home_leopard/rose/Txt/Pdf2searchablePdf/200DPI/test(157)$ cuneiform -l ger -f hocr user-000.ppm
Cuneiform for Linux 1.1.0
rose@leopard:

Revision history for this message
Rose-g (rose-g) wrote :

The bug is also filed as a gentoo bug at https://bugs.gentoo.org/show_bug.cgi?id=462224 .

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.