James R. Barlow
|
790d3022f6
|
Implement --output-type=none to skip producing the PDF and use only the sidecar
Closes #787
|
2021-09-26 01:07:34 -07:00 |
|
James R. Barlow
|
c725bf79da
|
flake8 delinting
|
2021-09-21 16:37:03 -07:00 |
|
James R. Barlow
|
72279e7759
|
typing: confirmed that _pages_from_ranges(not-str) is never used
|
2021-08-26 23:47:11 -07:00 |
|
James R. Barlow
|
6f9b948064
|
typing: fix some trivial issues
|
2021-08-26 23:46:44 -07:00 |
|
James R. Barlow
|
4eca0a165b
|
pre-commit: pyupgrade modernizing
|
2021-08-26 18:04:38 -07:00 |
|
James R. Barlow
|
0b834411fe
|
validation: mention ISO 639-2 to give people a clue about how to find the appropriate code
|
2021-06-28 15:19:59 -07:00 |
|
James R. Barlow
|
a964080f77
|
validation: a word
|
2021-05-27 13:42:05 -07:00 |
|
James R. Barlow
|
f3715daf15
|
Move HOCR_OK_LANGS to hocrtransform.py
|
2021-05-23 01:15:53 -07:00 |
|
James R. Barlow
|
c87221a4e6
|
validation: add proper list of languages supported by hocr
Based on Latin-1 support in default PDF fonts.
|
2021-05-23 01:14:15 -07:00 |
|
James R. Barlow
|
be45871d10
|
docker: add special hint for using docker
|
2021-04-21 23:18:29 -07:00 |
|
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 |
|