For those interested in the segment-line script, I managed to get it
working for me with the aforementioned svn version 1305M (2008-11-24),
running on a Gentoo Linux amd64 box, with OpenFst-beta-20080422,
iulib, tesseract-2.03 (patched), leptonica-1.58. Here's the summary of
changes needed in the script (ocropus/ocroscript/scripts/segment-
line.lua or /usr/local/share/ocropus/scripts/segment-line.lua after
installation):
1. Replace
require "getopt"
by the following code:
require "lib.getopt"
import_all(ocr)
import_all(iulib)
and change the last line to
write_image_packed(arg[2],segmentation)
For details on the discovery process for the required changes, see my
blog posting on the matter at:
http://stealthlizard.blogspot.com/2008/11/getting-segment-line-script-working-in.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ocropus" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/ocropus?hl=en
-~----------~----~----~----~------~----~------~--~---