Update README and requirements
parent
d65ee180e5
commit
ae64264d3e
14
README.md
14
README.md
|
|
@ -55,11 +55,7 @@ See 'camelot <method> -h' for more information on a specific method.
|
||||||
|
|
||||||
Currently, camelot works under Python 2.7.
|
Currently, camelot works under Python 2.7.
|
||||||
|
|
||||||
The required dependencies include [numpy](http://www.numpy.org/), [OpenCV](http://opencv.org/) and [ImageMagick](http://www.imagemagick.org/script/index.php).
|
The required dependencies include [numpy](http://www.numpy.org/), [OpenCV](http://opencv.org/) and [ghostscript](https://www.ghostscript.com/).
|
||||||
|
|
||||||
### Optional
|
|
||||||
|
|
||||||
You'll need to install [Tesseract](https://github.com/tesseract-ocr/tesseract) if you want to extract tables from image based pdfs. Also, you'll need a tesseract language pack if your pdf isn't in english.
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
|
@ -71,26 +67,26 @@ pip install -U pip setuptools
|
||||||
|
|
||||||
### Installing dependencies
|
### Installing dependencies
|
||||||
|
|
||||||
numpy can be install using `pip`. OpenCV and imagemagick can be installed using your system's default package manager.
|
numpy can be install using `pip`. OpenCV and ghostscript can be installed using your system's default package manager.
|
||||||
|
|
||||||
#### Linux
|
#### Linux
|
||||||
|
|
||||||
* Arch Linux
|
* Arch Linux
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
sudo pacman -S opencv imagemagick
|
sudo pacman -S opencv ghostscript
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
* Ubuntu
|
* Ubuntu
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
sudo apt-get install libopencv-dev python-opencv imagemagick
|
sudo apt-get install libopencv-dev python-opencv python-tk ghostscript
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
#### OS X
|
#### OS X
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
brew install homebrew/science/opencv imagemagick
|
brew install homebrew/science/opencv ghostscript
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
Finally, `cd` into the project directory and install by
|
Finally, `cd` into the project directory and install by
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
docopt
|
docopt==0.6.2
|
||||||
matplotlib
|
matplotlib==2.2.3
|
||||||
nose
|
nose==1.3.7
|
||||||
pdfminer
|
pdfminer==20140328
|
||||||
pyexcel-xlsx
|
pyexcel-xlsx==0.5.6
|
||||||
Pillow
|
Pillow==5.2.0
|
||||||
PyPDF2
|
PyPDF2==1.26.0
|
||||||
Sphinx
|
Sphinx==1.8.0b1
|
||||||
Loading…
Reference in New Issue