fritz-hh
6c5ee4095c
default language now set in the config.sh file
2014-09-30 23:28:22 +02:00
fritz-hh
986fbf63a4
Introduce -s option + fix bug when -C no set
...
- Introduce -s option to no ocr pages containing fonts
- Solve issue with -f and -s if -C is not set
2014-09-30 23:16:31 +02:00
fritz-hh
2612105d32
correct download path
2014-09-29 22:29:25 +02:00
fritz-hh
954fe13f54
update release notes for v2.2-stable
v2.2-stable
2014-09-29 22:25:02 +02:00
fritz-hh
bb5a00685e
Make clear this is a draft
2014-09-28 21:10:04 +02:00
fritz-hh
5f173e5acb
return right return code
...
Python does not map the expression to its return code automatically, so
this line returns success regardless of the reportlab version installed.
(I also realized that hasattr is superfluous).
2014-09-27 00:53:10 +02:00
fritz-hh
b28ff40aea
remove reportlab patch. fixes #91
...
remove patch that was required for versions of reportlab <3.0 (fixed in
3.0 now)
patch was necessary in order to reduce size of graysclage / b&w images
in pdf
2014-09-26 23:58:19 +02:00
fritz-hh
2ed2307573
Merge pull request #89 from jbarlow83/feature/readlink-osx
...
More portable solution (works also on OS X) to get OCRmyPDF.sh path (following simlinks)
2014-09-25 23:09:26 +02:00
Jim Barlow
3f8a2d8d3e
Eliminate readlink entirely and do the same thing on all platforms
2014-09-25 13:47:35 -07:00
fritz-hh
1a13b7c85f
Check if the input file exist
...
Previously I checked only if the folder in which the input file should
be exists
2014-09-25 22:03:45 +02:00
Jim Barlow
d250fbb3d6
Fix call to readlink on OS X
...
readlink -f is a GNU coreutils extension, so not available on OS X and
other platforms.
2014-09-25 03:11:27 -07:00
fritz-hh
d510e7e4ae
prevent new spurious jhove message to be displayed
2014-09-24 23:43:37 +02:00
fritz-hh
5893290dd9
update to jhove v1.11
2014-09-24 23:17:39 +02:00
fritz-hh
5c3bbc4031
typo in OCRmyPDF.sh
2014-09-22 21:22:38 +02:00
fritz-hh
27cd8cf0db
add link to heise open source
2014-09-20 20:47:02 +02:00
fritz-hh
b403016d5b
Release notes updated for v2.1-stable
v2.1-stable
2014-09-20 19:50:32 +02:00
fritz-hh
5a81823969
Merge pull request #82 from orbitcowboy/v2.x
...
Fixed typo
2014-09-20 19:02:33 +02:00
fritz-hh
17801401cd
Merge pull request #83 from DorianScholz/v2.x
...
- small changes to make this work on Ubuntu 12.04 called via symlink
- lowered minimum parallel version
2014-09-20 18:59:57 +02:00
Dorian Scholz
5c7b2a2a36
lowered minimum version for parallel to 20121122
2014-09-10 13:27:59 +02:00
Dorian Scholz
1db06de287
added BASEPATH to allow for execution via symlink
2014-09-10 13:26:14 +02:00
Martin Ettl
3904178d44
Fixed typo
2014-09-09 07:01:04 +02:00
fritz-hh
8bb9c3610c
Merge pull request #81 from MoritzFago/v2.x
...
fixed tipo ghostcript to ghostscript
2014-09-08 18:31:00 +02:00
MoritzFago
7dcc382ccc
fixed tipo ghostcript to ghostscript
2014-09-08 16:52:49 +02:00
fritz-hh
b71fc807d2
Merge pull request #77 from andysigner/v2.x
...
Fixed typo in help text
2014-05-23 19:51:20 +02:00
Andy Signer
15d28d970a
Fixed typo in help text
2014-05-23 12:41:31 +02:00
fritz-hh
e083a860e9
Merge pull request #73 from andreas-christ/v2.x
...
Fixed typo in import of reportlab.
2014-04-27 23:20:48 +02:00
Andreas Christ
6463b9dd84
Fixed typo in import of reportlab.
2014-04-27 19:15:46 +02:00
fritz-hh
c873de6ca4
Consider that the hocr file has not always the same name
...
Closes #72
2014-04-27 16:01:11 +02:00
fritz-hh
b70863b47e
support both older and newer versions of reportlab
...
closes #71
2014-04-27 15:53:20 +02:00
fritz-hh
3546f84c6d
ignore *.pyc files
2014-04-27 15:46:55 +02:00
Jim Barlow
1d98917db9
Add command line option to skip pages that contain font data
...
If a page contains font data, the script would abort, unless -f was given,
in which case it would use pdftoppm to rasterize the font into a bitmap
and then attempt to OCR it. -f is almost certainly not what users want
unless they want to debug OCR or something.
If a PDF already has fonts it either was OCR'd already, or it is
a composite file containing, for example, some scanned documents appended
to a text report. In the latter case, this -s option provides OCR on
pages that don't have it without changing those that do, and if a PDF
was completely OCRed it will be converted to PDF/A. In batch jobs with
a mix of OCR and non-OCR the implicit conversion to PDF/A is also useful.
2014-02-06 23:11:54 -08:00
fritz-hh
1c34fd69cf
RELEASE_NOTES update prior delivery of v2.0-stable
v2.0-stable
2014-01-25 22:14:05 +01:00
fritz-hh
4cf38404cc
fixes #51
...
Allow tesseract 3.02.01 to be used.
Even 3.02.01 fails in few cases (see issue #28 ). I decided to allow this
version anyway because 3.02.02 is not yet available for some widespread
linux distributions
2014-01-25 21:58:50 +01:00
fritz-hh
be830ddc31
List supported languages
...
In case lan is not supported, list the supported languages in the error
message
2014-01-18 22:22:19 +01:00
fritz-hh
18322b424f
fixes #60
...
Check if the languages option provided to tesseract (-l) are supported
2014-01-18 21:38:22 +01:00
fritz-hh
6901c60db4
more robust way to check tesseract version
...
better way of checking if the tesseract version is compatible with the
script.
If the required tess version is 3.02.02, and the actual version is 3.03,
the script would have told before that the version is too old, because
303<30202, now it compares 3.03>3.0202
2014-01-18 21:02:15 +01:00
fritz-hh
e369ce6766
config file: version updated to v2.0-rc2
v2.0-rc2
2014-01-16 21:22:24 +01:00
fritz-hh
64e4e5d91e
release notes updated for v2.0-rc2
2014-01-16 21:19:15 +01:00
fritz-hh
efce7de9ae
wording corrected
2014-01-15 23:08:26 +01:00
fritz-hh
38c64ac689
dependency to pdftk removed
...
concatenation is now done also with ghostscript
2014-01-15 21:23:42 +01:00
fritz-hh
6d203e3eee
portability improvements + minor changes
2014-01-15 21:23:41 +01:00
fritz-hh
81f461e557
disclaimer added
2014-01-14 23:46:33 +01:00
fritz-hh
988bde1387
tmpfiles to $TMPDIR + better portability (mktemp)
...
mktemp: consider both FreeBSD/OSX and Linux OS having incompatible
syntax
From now on temporary files are saved in the folder specified by the
environment variable $TMPDIR
2014-01-14 22:57:10 +01:00
fritz-hh
aedbabdbe8
merged pull request from oxplot
2014-01-14 22:29:41 +01:00
fritz-hh
6ed53e53c7
Readme improved
2014-01-14 19:47:28 +01:00
Mansour Behabadi
a78630ce99
Make src scripts executable
...
Signed-off-by: Mansour Behabadi <mansour@oxplot.com >
2014-01-14 17:50:46 +11:00
Mansour Behabadi
6653066784
Use --gnu in parralell and XX for mktemp
...
Signed-off-by: Mansour Behabadi <mansour@oxplot.com >
2014-01-14 17:49:24 +11:00
fritz-hh
e40f1fa081
better handling of ligatures: fixes #58
2014-01-13 23:13:15 +01:00
fritz-hh
a872ce751d
config file restructured
...
to be make which parameters are allowed to be changed by the user
2014-01-13 22:11:28 +01:00
fritz-hh
317846fbdc
Check of tmp folder creation was successful
2014-01-13 22:05:26 +01:00