On Jun 16, 1:08 am, Thomas Breuel <[email protected]> wrote:
> Oh, for building a debug version, compile both iulib and ocropus with
> "scons opt=-g", then "sudo scons opt=-g install".

OK, so I've scons --clean both projects, then built both with the
commands above.

Then when I try to run

dun...@ubuntu:~/ocropus/ocropus$ commands/ocropus book2pages work data/
testimages/simple.png
[info] page 1
dun...@ubuntu:~/ocropus/ocropus$ commands/ocropus pages2lines work
[info] page 1
[info] #lines = 9
dun...@ubuntu:~/ocropus/ocropus$ commands/ocropus lines2fsts
workFATAL: /usr/local/share/ocropus/models/default.model: failed to
load (/usr/local/share/ocropus/models/default.model: failed to load (/
usr/local/s)

Ah ha. The build script isn't installing default.model! If I

sudo cp data/models/default.model /usr/local/share/ocropus/models/

then it runs with the test file. I'll log an issue.

Duncan


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to