James R. Barlow
|
079c162a96
|
Ensure sidecar is not input or output file
|
2021-03-05 00:29:42 -08:00 |
|
James R. Barlow
|
25c8c4656f
|
Fix error message change
|
2021-03-03 01:02:59 -08:00 |
|
James R. Barlow
|
6e71fe1186
|
Clarify --unpaper-args errors
|
2021-03-03 00:44:21 -08:00 |
|
 Dima KuznetsovandGitHub
|
5e2206bae7
|
Allow --sidecar along --pages (#735)
|
2021-02-19 16:55:35 -08:00 |
|
James R. Barlow
|
3675ae918c
|
Fix certain invalid page ranges causing exception
Closes #686
|
2020-12-22 01:22:14 -08:00 |
|
James R. Barlow
|
68a57a7839
|
Add feature to generate hocr-pdf with visible debug text
|
2020-12-04 17:38:48 -08:00 |
|
James R. Barlow
|
d55e673d9c
|
Fix warning about --pdfa-image-compression argument at wrong times
Closes #663
|
2020-10-27 23:09:45 -07:00 |
|
James R. Barlow
|
306a903854
|
Remove unused function log_page_orientations
|
2020-09-17 01:20:02 -07:00 |
|
James R. Barlow
|
aa0ec40102
|
Change license of all GPLv3 files to MPL-2.0
https://github.com/jbarlow83/OCRmyPDF/issues/600
|
2020-08-05 00:44:42 -07:00 |
|
James R. Barlow
|
4cc0dc6b4a
|
Additional size increase reasons
|
2020-08-03 16:03:29 -07:00 |
|
James R. Barlow
|
c9bd87254e
|
A few minor typing issues
|
2020-06-22 02:31:53 -07:00 |
|
 James R. BarlowandJames R. Barlow
|
f4cb424451
|
Support input/output streams at API level
|
2020-06-22 02:02:18 -07:00 |
|
James R. Barlow
|
698aab4f75
|
Add a lot of type annotations
|
2020-06-15 15:20:50 -07:00 |
|
James R. Barlow
|
eeb44f78cc
|
Fix tests that failed on other platforms from previous fix
|
2020-06-12 12:59:46 -07:00 |
|
James R. Barlow
|
fe156db41d
|
Merge branch 'release/v10' into trialmerge
|
2020-06-09 15:12:56 -07:00 |
|
James R. Barlow
|
0f942fb714
|
Rename ocrmypdf.exec -> ocrmypdf._exec
|
2020-06-09 14:59:09 -07:00 |
|
James R. Barlow
|
be8ca589d4
|
Move ocrmypdf.exec.run and friends to ocrmypdf.subprocess
|
2020-06-09 14:53:10 -07:00 |
|
James R. Barlow
|
b109445215
|
Move Ghostscript rasterize_pdf to plugin
|
2020-06-08 17:10:27 -07:00 |
|
James R. Barlow
|
1d0b8641a0
|
Improve file size increase warning to account for changes to small files
Fixes #569
|
2020-06-02 00:35:59 -07:00 |
|
James R. Barlow
|
d43212d30b
|
Refactor --language argument into set
|
2020-05-25 03:20:10 -07:00 |
|
James R. Barlow
|
a0f9ca3a30
|
Move Tesseract options validation into plugin
|
2020-05-25 01:31:46 -07:00 |
|
James R. Barlow
|
2bd586e093
|
Compare requested languages to OCR engine instead of tesseract directly
Also refactoring to facilitating validation needing the plugin manager.
|
2020-05-16 01:50:37 -07:00 |
|
James R. Barlow
|
41eb54cc0a
|
Standardize tesseract.generate_hocr and _pdf parameters
|
2020-05-14 03:23:25 -07:00 |
|
James R. Barlow
|
12a2f78c4d
|
Fix validation of languages not using tesseract_env
And some related issues.
|
2020-05-14 03:19:22 -07:00 |
|
James R. Barlow
|
a2d3e0b53e
|
Convert remaining imports to absolute
|
2020-05-12 02:12:08 -07:00 |
|
James R. Barlow
|
85cbf94a6e
|
Convert many uses of str paths to Path
|
2020-05-06 02:53:47 -07:00 |
|
James R. Barlow
|
c85278b31d
|
Delinting
|
2020-05-03 00:53:29 -07:00 |
|
James R. Barlow
|
016dfd420c
|
Add warning if problematic --tesseract-pagesegmode is selected
Fixes #549
|
2020-04-30 04:12:11 -07:00 |
|
James R. Barlow
|
8f5c95f0f4
|
Remove last vestiges of command line usage of qpdf - change to check_pdf
|
2020-04-26 05:33:26 -07:00 |
|
James R. Barlow
|
00498282f5
|
validation: blacklist Ghostscript 9.51 too
|
2020-03-24 21:27:18 -07:00 |
|
James R. Barlow
|
c4dc5269d2
|
tests: remove some obscure things from coverage
|
2019-12-30 21:16:16 -08:00 |
|
James R. Barlow
|
63de7e1677
|
Improve error message for unreadable input files
|
2019-12-30 16:14:52 -08:00 |
|
James R. Barlow
|
9fe354359b
|
Generally update documentation about available platforms
|
2019-12-19 00:27:37 -08:00 |
|
James R. Barlow
|
cb3cfaa055
|
Add Windows install advice
|
2019-12-04 21:01:09 -08:00 |
|
James R. Barlow
|
72d3ee3a87
|
Refactor symlink usage to support Windows
|
2019-12-04 17:13:51 -08:00 |
|
James R. Barlow
|
db914d4cd1
|
Report missing optional dependencies as possible cause of file size increase
|
2019-11-09 14:21:57 -08:00 |
|
James R. Barlow
|
80651fe12c
|
Fix test suite error
|
2019-10-24 18:17:03 -07:00 |
|
James R. Barlow
|
b332d76782
|
Mention when we default to English and the system locale is not English
Closes #337
|
2019-10-22 01:49:38 -07:00 |
|
James R. Barlow
|
11ef78a891
|
Fix running without eng.traineddata installed raises exception
|
2019-08-27 14:54:03 -07:00 |
|
James R. Barlow
|
5f00e4f9d8
|
Sort imports
|
2019-07-27 04:51:52 -07:00 |
|
James R. Barlow
|
0c066d1d53
|
Expand scope of --pages testing
|
2019-07-27 04:26:23 -07:00 |
|
James R. Barlow
|
5304c631ec
|
Don't warn about --user-words in Tesseract 4.1 or later
|
2019-07-27 02:14:59 -07:00 |
|
James R. Barlow
|
9b60d3e285
|
Improve testing of _validation.py
|
2019-06-22 02:33:04 -07:00 |
|
James R. Barlow
|
8b8de7cc1d
|
Add new --pages feature to limit OCR to only specific pages
|
2019-06-12 17:27:47 -07:00 |
|
James R. Barlow
|
98a3fda1f5
|
Drop support for Tesseract 4 alpha releases without textonly_pdf (mostly)
hocr renderer can still be used
|
2019-06-03 01:39:41 -07:00 |
|
James R. Barlow
|
8347c0d662
|
validation: remove dead code check_input_file
|
2019-05-31 01:57:08 -07:00 |
|
James R. Barlow
|
22298b31be
|
Fix distinction between clean and clean_final lost in API refactor
|
2019-05-23 01:19:58 -07:00 |
|
James R. Barlow
|
32a076c039
|
Refactor validation and exceptions
CLI now tracks check_options exceptions. API now works more like
an API, without an exception handler,
because the caller should provide one.
|
2019-05-20 18:01:17 -07:00 |
|
James R. Barlow
|
56067b590b
|
Make re_symlink() not require a log object
|
2019-05-17 01:59:36 -07:00 |
|
James R. Barlow
|
70def4a0d0
|
validation: eliminate print()
|
2019-05-17 01:43:26 -07:00 |
|