Hi
I successfully installed ocropus ver 0.4.4 on Ubuntu 10.10 by
following instructions at
http://code.google.com/p/ocropus/wiki/InstallTranscript
When running ocropus-ctrain I encountered an error
optparse.OptionConflictError: option -R/--rejectfactor: conflicting
option string(s): -R
There were two instances of -R so I replaced the second -R with -f.
I created a chars.db database after following the necessary
preliminary training steps. However when I run the command
ocropus-ctrain -K 10 chars.db -o chars.cmodel
I get the error
# determining per-class cutoff
Traceback (most recent call last):
File "/usr/local/bin/ocropus-ctrain", line 189, in <module>
ntrain = int(stats.scoreatpercentile(counts,threshold))
File "/usr/lib/python2.7/dist-packages/scipy/stats/stats.py", line
1287, in scoreatpercentile
return _interpolate(values[int(idx)], values[int(idx) + 1], idx %
1)
IndexError: index out of bounds
Can someone send a fixed recent version working version of ocropus-
ctrain to the group?
Thanks
Raj