gscan2pdf não consegue rodar GOCR, Tesseract ou Cuneiform

Iniciado por ManoelNascimento, 12 de Junho de 2015, 08:17

tópico anterior - próximo tópico

ManoelNascimento

Gente,

o problema é mais ou menos este.  Nos três casos, quando tento rodar OCR no gscan2pdf para salvar o texto junto com a imagem num PDF pesquisável, o resultado aparente é: (a) a multifuncional (HP LaserJet M1132 MFP) funciona, e digitaliza a imagem; (b) num primeiro momento, a imagem aparece na tela do gscan2pdf; (c) aparece a mensagem "Erro durante operação de E/S com o dispositivo", e a imagem fica em branco; (d) o OCR não roda.

Rodando o gscan2pdf a partir da linha de comando, pude copiar e colar aqui as mensagens de erro mais específicas.

Ao rodar o gscan2pdf (versão 1.2.3-1) num Lubuntu 14.04 aparece isso:
gscan2pdf
given is experimental at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 152.
when is experimental at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 153.
given is experimental at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 314.
when is experimental at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 315.
when is experimental at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 318.
when is experimental at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 321.
when is experimental at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 324.
given is experimental at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 478.
when is experimental at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 479.
when is experimental at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 482.
when is experimental at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 485.
when is experimental at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 488.
when is experimental at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 491.
when is experimental at /usr/share/perl5/Gscan2pdf/Scanner/Options.pm line 494.
given is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1356.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1357.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1361.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1365.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1377.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1382.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1386.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1390.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1401.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1405.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1410.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1414.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1418.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1423.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1428.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1433.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1445.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1449.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1461.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1466.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1471.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1475.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1480.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1492.
given is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1527.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1528.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1534.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1568.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1582.
given is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1628.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1629.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1657.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1686.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1713.
given is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1815.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1816.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1819.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1822.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1825.
when is experimental at /usr/share/perl5/Gscan2pdf/Document.pm line 1828.
given is experimental at /usr/share/perl5/Gscan2pdf/Frontend/Sane.pm line 321.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/Sane.pm line 322.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/Sane.pm line 323.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/Sane.pm line 324.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/Sane.pm line 325.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/Sane.pm line 326.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/Sane.pm line 330.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/Sane.pm line 331.
given is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 162.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 163.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 168.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 174.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 180.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 200.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 208.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 216.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 226.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 229.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 234.
given is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 359.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 360.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 368.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 388.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 391.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 394.
when is experimental at /usr/share/perl5/Gscan2pdf/Frontend/CLI.pm line 400.
given is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 590.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 591.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 595.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 599.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 600.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 603.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 606.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 609.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 613.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 617.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 623.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 629.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 632.
given is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 1396.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 1397.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 1402.
given is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/Sane.pm line 650.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/Sane.pm line 651.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/Sane.pm line 655.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/Sane.pm line 659.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/Sane.pm line 668.
given is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/Sane.pm line 691.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/Sane.pm line 692.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/Sane.pm line 698.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/Sane.pm line 704.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/Sane.pm line 714.
given is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/CLI.pm line 1002.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/CLI.pm line 1003.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/CLI.pm line 1010.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/CLI.pm line 1016.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/CLI.pm line 1026.
given is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/CLI.pm line 1050.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/CLI.pm line 1051.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/CLI.pm line 1055.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/CLI.pm line 1059.
when is experimental at /usr/share/perl5/Gscan2pdf/Dialog/Scan/CLI.pm line 1068.
given is experimental at /usr/share/perl5/Gscan2pdf/Unpaper.pm line 377.
when is experimental at /usr/share/perl5/Gscan2pdf/Unpaper.pm line 378.
when is experimental at /usr/share/perl5/Gscan2pdf/Unpaper.pm line 409.
when is experimental at /usr/share/perl5/Gscan2pdf/Unpaper.pm line 418.
when is experimental at /usr/share/perl5/Gscan2pdf/Unpaper.pm line 438.
when is experimental at /usr/share/perl5/Gscan2pdf/Unpaper.pm line 455.
given is experimental at /usr/share/perl5/Gscan2pdf/Unpaper.pm line 489.
when is experimental at /usr/share/perl5/Gscan2pdf/Unpaper.pm line 490.
when is experimental at /usr/share/perl5/Gscan2pdf/Unpaper.pm line 498.
when is experimental at /usr/share/perl5/Gscan2pdf/Unpaper.pm line 502.
when is experimental at /usr/share/perl5/Gscan2pdf/Unpaper.pm line 505.
when is experimental at /usr/share/perl5/Gscan2pdf/Unpaper.pm line 514.
given is experimental at /usr/bin/gscan2pdf line 2819.
when is experimental at /usr/bin/gscan2pdf line 2820.
when is experimental at /usr/bin/gscan2pdf line 2877.
when is experimental at /usr/bin/gscan2pdf line 2902.
when is experimental at /usr/bin/gscan2pdf line 2930.
when is experimental at /usr/bin/gscan2pdf line 2955.
when is experimental at /usr/bin/gscan2pdf line 2983.
given is experimental at /usr/bin/gscan2pdf line 3045.
when is experimental at /usr/bin/gscan2pdf line 3046.
when is experimental at /usr/bin/gscan2pdf line 3049.
when is experimental at /usr/bin/gscan2pdf line 3052.
when is experimental at /usr/bin/gscan2pdf line 3055.
when is experimental at /usr/bin/gscan2pdf line 3058.
when is experimental at /usr/bin/gscan2pdf line 3062.


Ao usar o Cuneiform para fazer OCR dá uma caixa de mensagem "Erro durante operação de E/S com o dispositivo", e na linha de comando aparece isso:
*** unhandled exception in callback:
***   Can't call method "get_active_text" on an undefined value at /usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 663.
***  ignoring at /usr/bin/gscan2pdf line 3467.
Processing sheet #1: /tmp/gscan2pdf-Y8nw/LZpMyLpA5w.pnm -> /tmp/gscan2pdf-Y8nw/ZqiuP2Rvlm.pnm
out of deviation range - NO ROTATING
Cuneiform for Linux 1.1.0
PUMA_XFinalrecognition failed.


Ao usar o Tesseract para fazer OCR dá uma caixa de mensagem "Erro durante operação de E/S com o dispositivo", e na linha de comando aparece isso:
Processing sheet #1: /tmp/gscan2pdf-Y8nw/VvkNOWr1Ff.pnm -> /tmp/gscan2pdf-Y8nw/Jr6c1fRXN4.pnm
out of deviation range - NO ROTATING


Ao usar o GOCR para fazer OCR dá uma caixa de mensagem "Erro durante operação de E/S com o dispositivo", e na linha de comando aparece isso:
^[[BProcessing sheet #1: /tmp/gscan2pdf-Y8nw/dIwFKjduGK.pnm -> /tmp/gscan2pdf-Y8nw/2_I6Hcz9eg.pnm
out of deviation range - NO ROTATING
NOT NORMAL, thresholdValue = 160
# no boxes found - stopped


O que pode estar acontecendo?