Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1f40a70554 | ||
|
|
e14ffbf03f | ||
|
|
25a1dde57c | ||
|
|
1d10eac764 | ||
|
|
3f868118cd |
@@ -2,11 +2,4 @@ Please include the command line and a test file with your issue report.
|
|||||||
|
|
||||||
If possible, please use a test file that we can include in future test cases (no personal information, no copyrighted material).
|
If possible, please use a test file that we can include in future test cases (no personal information, no copyrighted material).
|
||||||
|
|
||||||
If you wish to encrypt a test file so that only the maintainer of OCRmyPDF can view it, you may use:
|
If you wish to encrypt a test file for the OCRmyPDF maintainer only, see the [Wiki](https://github.com/jbarlow83/OCRmyPDF/wiki).
|
||||||
|
|
||||||
```bash
|
|
||||||
|
|
||||||
gpg --recv-keys 4434eb74c4a35f7f --keyserver pgp.mit.edu
|
|
||||||
gpg --output test.pdf.gpg --encrypt --receipient 4434eb74c4a35f7f test.pdf
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ tasks.py
|
|||||||
.ruffus_history.sqlite
|
.ruffus_history.sqlite
|
||||||
.idea/
|
.idea/
|
||||||
.pytest_cache/
|
.pytest_cache/
|
||||||
|
.pylintrc
|
||||||
|
|
||||||
# Package building
|
# Package building
|
||||||
*.egg-info/
|
*.egg-info/
|
||||||
@@ -42,3 +43,4 @@ pdfbox-app*.jar
|
|||||||
.vscode/
|
.vscode/
|
||||||
IDEAS
|
IDEAS
|
||||||
_Dockerfile.local
|
_Dockerfile.local
|
||||||
|
/scratch.py
|
||||||
|
|||||||
@@ -12,7 +12,8 @@ sudo apt-get install -y \
|
|||||||
libavformat56 \
|
libavformat56 \
|
||||||
libavcodec56 \
|
libavcodec56 \
|
||||||
libavutil54 \
|
libavutil54 \
|
||||||
libffi-dev
|
libffi-dev \
|
||||||
|
qpdf
|
||||||
|
|
||||||
sudo add-apt-repository ppa:alex-p/tesseract-ocr -y
|
sudo add-apt-repository ppa:alex-p/tesseract-ocr -y
|
||||||
|
|
||||||
@@ -28,15 +29,3 @@ pip install --upgrade pip
|
|||||||
mkdir -p packages
|
mkdir -p packages
|
||||||
wget -q 'https://www.dropbox.com/s/vaq0kbwi6e6au80/unpaper_6.1-1.deb?raw=1' -O packages/unpaper_6.1-1.deb
|
wget -q 'https://www.dropbox.com/s/vaq0kbwi6e6au80/unpaper_6.1-1.deb?raw=1' -O packages/unpaper_6.1-1.deb
|
||||||
sudo dpkg -i packages/unpaper_6.1-1.deb
|
sudo dpkg -i packages/unpaper_6.1-1.deb
|
||||||
|
|
||||||
if [ ! -f /usr/local/bin/qpdf ]; then
|
|
||||||
export QPDF_RELEASE='https://github.com/qpdf/qpdf/releases/download/release-qpdf-8.0.2/qpdf-8.0.2.tar.gz'
|
|
||||||
mkdir qpdf
|
|
||||||
wget -q $QPDF_RELEASE -O - | tar xz -C qpdf --strip-components=1
|
|
||||||
cd qpdf/
|
|
||||||
export PATH="/usr/local/opt/ccache/libexec:$PATH"
|
|
||||||
./configure --prefix=/usr
|
|
||||||
make -j 2
|
|
||||||
sudo make install
|
|
||||||
cd ..
|
|
||||||
fi
|
|
||||||
|
|||||||
@@ -9,6 +9,13 @@ The OCRmyPDF package itself does not contain a public API, although it is fairly
|
|||||||
find: [^`]\#([0-9]{1,3})[^0-9]
|
find: [^`]\#([0-9]{1,3})[^0-9]
|
||||||
replace: `#$1 <https://github.com/jbarlow83/OCRmyPDF/issues/$1>`_
|
replace: `#$1 <https://github.com/jbarlow83/OCRmyPDF/issues/$1>`_
|
||||||
|
|
||||||
|
|
||||||
|
v6.2.1
|
||||||
|
------
|
||||||
|
|
||||||
|
- Fix recent versions of Tesseract (after 4.0.0-beta1) not being detected as supporting the ``sandwich`` renderer (`#271 <https://github.com/ppjbarlow83/OCRmyPDF/issues/271>`_).
|
||||||
|
|
||||||
|
|
||||||
v6.2.0
|
v6.2.0
|
||||||
------
|
------
|
||||||
|
|
||||||
|
|||||||
@@ -73,7 +73,8 @@ def has_textonly_pdf():
|
|||||||
"""
|
"""
|
||||||
args_tess = [
|
args_tess = [
|
||||||
'tesseract',
|
'tesseract',
|
||||||
'--print-parameters'
|
'--print-parameters',
|
||||||
|
'pdf'
|
||||||
]
|
]
|
||||||
params = ''
|
params = ''
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ pytest >= 3.2
|
|||||||
pytest-helpers-namespace
|
pytest-helpers-namespace
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-timeout
|
pytest-timeout == 1.2.1
|
||||||
|
|||||||
Reference in New Issue
Block a user