[go: nahoru, domu]

Skip to content

Commit

Permalink
Fix broken tmbdev.net links with @zuphilip links
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Jun 7, 2020
1 parent 19b4a7c commit f230be5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Installing
To install OCRopus dependencies system-wide:

$ sudo apt-get install $(cat PACKAGES)
$ wget -nd http://www.tmbdev.net/en-default.pyrnn.gz
$ wget -nd https://github.com/zuphilip/ocropy-models/raw/master/en-default.pyrnn.gz
$ mv en-default.pyrnn.gz models/
$ sudo python setup.py install

Expand All @@ -34,7 +34,7 @@ Alternatively, dependencies can be installed into a
$ virtualenv ocropus_venv/
$ source ocropus_venv/bin/activate
$ pip install -r requirements.txt
$ wget -nd http://www.tmbdev.net/en-default.pyrnn.gz
$ wget -nd https://github.com/zuphilip/ocropy-models/raw/master/en-default.pyrnn.gz
$ mv en-default.pyrnn.gz models/
$ python setup.py install

Expand All @@ -43,7 +43,7 @@ An additional method using [Conda](http://conda.pydata.org/) is also possible:
$ conda create -n ocropus_env python=2.7
$ source activate ocropus_env
$ conda install --file requirements.txt
$ wget -nd http://www.tmbdev.net/en-default.pyrnn.gz
$ wget -nd https://github.com/zuphilip/ocropy-models/raw/master/en-default.pyrnn.gz
$ mv en-default.pyrnn.gz models/
$ python setup.py install

Expand All @@ -61,7 +61,7 @@ simplest thing to do is to downscale/upscale them to 300dpi. The text line recog
fairly robust to different resolutions, but the layout analysis is quite resolution dependent.

Here is an example for a page of Fraktur text (German);
you need to download the Fraktur model from tmbdev.net/ocropy/fraktur.pyrnn.gz to run this
you need to download the Fraktur model from https://github.com/zuphilip/ocropy-models/raw/master/fraktur.pyrnn.gz to run this
example:

# perform binarization
Expand Down

0 comments on commit f230be5

Please sign in to comment.