Dne Po 1. prosince 2014 12:42:50, Malcolm napsal(a):
On Mon 01 Dec 2014 07:05:37 PM CST, Jan Ritzerfeld wrote:
Am Montag, 1. Dezember 2014, 11:14:25 schrieb Vojtěch Zeisek:
Hi, is there any working tool which is able to add text layer into scanned PDF? [...]
So you want to create sandwich pdfs? There is a tool called, surprise, pdfsandwich that "is a wrapper script which calls the following binaries: unpaper (since version 0.0.9), convert, gs, hocr2pdf (for tesseract prior to version 3.03), and tesseract."
Hi Here you go; https://build.opensuse.org/package/show/home:malcolmlewis:TESTING/pdfsandwic h
OK, so I installed 13.1 version into 13.2, but it shouldn't matter. I also installed tesseract-traineddata-english. But when I try to convert PDF: pdfsandwich some.pdf I get an error pdfsandwich version 0.1.3 Fatal error: exception Failure("Language eng not supported by tesseract. Make sure that the respective tesseract language package is installed.“) But it is installed. And I don't know why, but when I launch the command, tesseract (Some demo of shooting game! WTF?) is launched and I have to quit it... So I think I'll stay with gscan2pdf as it produces acceptable output. Although no scripting... But thank You for building it. Someone else can find it useful. :-) Yours, Vojtěch -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/