We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to just try out OCRopus on some files that tesseract fails (badly) on.
I download the zip file from github, and expand it into /tmp/ocropus. Then following README.md,
I make sure all the packages in PACKAGES are installed. This is a Fedora 30 system, so it uses dnf, not apt-get, but all the packages are there.
I use wget to get 83826134 Nov 2 2014 en-default.pyrnn.gz
I then try to move to models/:
/tmp/ocropus > mv en-default.pyrnn.gz models/ mv: cannot move 'en-default.pyrnn.gz' to 'models/': Not a directory
so to correct this, I: /tmp/ocropus > mkdir models models created /tmp/ocropus > mv en-default.pyrnn.gz models/ /tmp/ocropus > ls models 83826134 en-default.pyrnn.gz
python setup.py install running install running build running build_py error: package directory 'ocrolib' does not exist
Now we get, in a much longer set of messages:
package init file 'ocrolib/init.py' not found (or not a regular file) ...
warning: install_lib: 'build/lib' does not exist -- no Python modules to install
and finally:
copying build/scripts-2.7/ocropus-gated-train -> /usr/bin error: [Errno 13] Permission denied: '/usr/bin/ocropus-gated-train'
Now trying to test,
/tmp/ocropus > ./run-test Traceback (most recent call last): File "./ocropus-nlbin", line 15, in import ocrolib ImportError: No module named ocrolib
but we have a directory ocrolib/, but it is empty.
Git revision of ocropy: fatal: not a git repository (or any of the parent directories): .git
Operating System and version: Fedora Linux 30
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Trying to just try out OCRopus on some files that tesseract fails (badly) on.
I download the zip file from github, and expand it into /tmp/ocropus.
Then following README.md,
I make sure all the packages in PACKAGES are installed. This is a
Fedora 30 system, so it uses dnf, not apt-get, but all the packages
are there.
I use wget to get
83826134 Nov 2 2014 en-default.pyrnn.gz
I then try to move to models/:
/tmp/ocropus > mv en-default.pyrnn.gz models/
mv: cannot move 'en-default.pyrnn.gz' to 'models/': Not a directory
so to correct this, I:
/tmp/ocropus > mkdir models
models created
/tmp/ocropus > mv en-default.pyrnn.gz models/
/tmp/ocropus > ls models
83826134 en-default.pyrnn.gz
but let's let is go to see what happens:
Now we get, in a much longer set of messages:
package init file 'ocrolib/init.py' not found (or not a regular file)
...
warning: install_lib: 'build/lib' does not exist -- no Python modules to install
and finally:
copying build/scripts-2.7/ocropus-gated-train -> /usr/bin
error: [Errno 13] Permission denied: '/usr/bin/ocropus-gated-train'
Now trying to test,
/tmp/ocropus > ./run-test
Traceback (most recent call last):
File "./ocropus-nlbin", line 15, in
import ocrolib
ImportError: No module named ocrolib
but we have a directory ocrolib/, but it is empty.
Possible Solution
Your Environment
Git revision of ocropy:
fatal: not a git repository (or any of the parent directories): .git
Operating System and version:
Fedora Linux 30
The text was updated successfully, but these errors were encountered: