The install script just uses the Python distutils target directory. Looks 
like Fedora makes a different choice there than Ubuntu.

Your best short term solution is to make a symbolic link.

I'll add the path to the OCRopus search path.

Tom

On Monday, April 22, 2013 12:30:36 PM UTC+2, Harald Heigl wrote:
>
> Oh, I did download the model files!
> But that was a good point, I started searching arround ...
>
> The install-script seems to install the models into /usr/share/ocropus, 
> but in /usr/lib/python2.7/site-packages/ocrolib/common.py (line 647) you 
> can read:
> data_paths = [
>     ".",
>     "./models",
>     "./data",
>     "./gui",
>     "/usr/local/share/ocropus/models",
>     "/usr/local/share/ocropus/data",
>     "/usr/local/share/ocropus/gui",
>     "/usr/local/share/ocropus",
> ]
>
> If I change /usr/local/share to /usr/share it works so far and models are 
> found.
>
> Bug or feature?
>
>
> But so far it seems to work, at least I can start playing around ...
>

-- 
You received this message because you are subscribed to the Google Groups 
"ocropus" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/ocropus/-/3MPW7bEacYcJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to