James R. Barlow
0323738ada
ocrmypdf.fish: fix indents
...
[ci skip]
2021-12-06 15:38:27 -08:00
FPille
aae5591f7e
Update ocrmypdf.bash completion
...
Squashed commit of the following:
commit 974de2e8ccad7fd34694f2c3a7a17c64bb52cdab
Merge: a8d7f969 ee04aa72
Author: James R. Barlow <james@purplerock.ca >
Date: Sat Dec 4 20:22:50 2021 -0800
Merge branch 'update_bash-completion' of git://github.com/FPille/OCRmyPDF into FPille-update_bash-completion
commit ee04aa7225
Author: FPille <f.pille@gmail.com >
Date: Thu Oct 14 11:09:23 2021 +0200
update
commit 76f64537aa
Author: FPille <f.pille@gmail.com >
Date: Thu Oct 14 11:04:10 2021 +0200
updated and descriptions for arguments and choices added
deprecated arguments removed
bug fix: typo "_init_completion" instead of "_init_completions"
commit de9b93e852
Merge: c23374de 42713b77
Author: Frank <50119297+FPille@users.noreply.github.com >
Date: Thu Oct 14 08:08:11 2021 +0200
Merge branch 'jbarlow83:master' into master
commit c23374de81
Merge: 40b2ebcb c409fa58
Author: Frank <50119297+FPille@users.noreply.github.com >
Date: Wed May 26 20:31:00 2021 +0200
Merge branch 'jbarlow83:master' into master
commit 40b2ebcb37
Merge: 79c84eef 7e388f59
Author: Frank <50119297+FPille@users.noreply.github.com >
Date: Sat Jun 1 11:09:07 2019 +0200
Merge pull request #1 from jbarlow83/master
update master
2021-12-06 15:38:26 -08:00
James R. Barlow
f91faf9795
Add new argument --tesseract-thresholding to control tesseract thresholding where available
...
Also add missing test for --tesseract-oem
2021-12-06 15:38:14 -08:00
James R. Barlow
59642a98b2
Disable --remove-background so we can remove leptonica
2021-11-12 23:56:52 -08:00
James R. Barlow
30440104ba
Remove --threshold argument
...
Tesseract is now included better thresholding (binarization) in v5. Users that have
thresholding issues should try that first. If we find further problems
this can be brought back as a plugin.
2021-11-12 20:09:55 -08:00
James R. Barlow
77f7621bbc
batch.py: tidy
2021-10-15 15:03:40 -07:00
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
4eca0a165b
pre-commit: pyupgrade modernizing
2021-08-26 18:04:38 -07:00
James R. Barlow
0a110fac55
watcher: fix bool not working as expecting
...
Closes #821
2021-08-21 17:30:14 -07:00
James R. Barlow
87ff6c8301
webservice: tidy flask apis
2021-08-04 02:49:48 -07:00
Elliott Sales de Andrade
969e54f0e3
Allow flask 2 for webservice ( #816 )
...
* Allow flask 2 for webservice.
The breaking changes do not appear to affect it.
* Add shebang to webservice script.
2021-08-04 02:49:13 -07:00
Elliott Sales de Andrade
b923612323
Allow watchdog 2. ( #815 )
...
* Allow watchdog 2.
The breaking change was dropping support for macOS 10.12 and earlier,
which doesn't affect us.
* Add shebang to watcher script.
2021-08-04 02:48:25 -07:00
James R. Barlow
2898879be7
docker-compose: fix typo
2021-02-14 01:43:06 -08:00
James R. Barlow
91db94cf2e
watcher: fix OCR_LOGLEVEL env var not processed
...
Closes #702
2020-12-27 02:02:44 -08:00
James R. Barlow
ab1ff3331b
misc: synology fix
...
Accept user-contributed fix. Not testable.
Close #690 .
2020-12-22 01:38:41 -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
ed5e17d0a4
completions: consider *.PDF and some images too
2020-12-04 13:20:35 -08:00
James R. Barlow
d0cdbd5e1c
watcher: include uppercase .PDF too
2020-11-12 02:29:47 -08:00
James R. Barlow
e0a522ad50
Document the example plugin
2020-10-05 15:01:44 -07:00
James R. Barlow
624df9bb23
Extend example plugin with example of mono conversion
2020-09-14 14:35:50 -07:00
James R. Barlow
12c567ee10
Copyright cleanup: relicense example_plugin.py
...
The author is relicensing this file to MIT.
2020-08-05 00:15:33 -07:00
James R. Barlow
d39778ce3a
Clarify copyright status of misc/batch.py, synology.py
...
At the time these files were contributed there was no discussion
of the license that the authors wanted to use, but the project was
MIT licensed at the time. As such, these files deemed to be MIT licensed.
https://github.com/jbarlow83/OCRmyPDF/issues/600
2020-08-05 00:12:44 -07:00
James R. Barlow
e824cdbc4e
Change license of misc/watcher.py to MIT
...
The authors of this file all agreed to relicense it under the MIT license.
https://github.com/jbarlow83/OCRmyPDF/issues/600
2020-08-04 23:57:41 -07:00
James R. Barlow
1d91c09963
Clarify license status of misc/completion/* files
...
These files were contributed when the project license was GPLv3. On
discussion, all known authors of these files agreed to place them
under MIT license.
See https://github.com/jbarlow83/OCRmyPDF/issues/600
2020-08-04 23:53:56 -07:00
James R. Barlow
64891c2fc3
Pre-release delinting
2020-06-09 15:27:14 -07:00
James R. Barlow
fe156db41d
Merge branch 'release/v10' into trialmerge
2020-06-09 15:12:56 -07:00
James R. Barlow
33b68454f3
watcher: cleanup getenv casting
2020-05-08 03:49:49 -07:00
James R. Barlow
7a12908db9
Relocate example plugin
2020-05-07 03:27:39 -07:00
James R. Barlow
d96867e6ab
watcher: add polling and log level adjustment
2020-04-24 04:14:44 -07:00
James R. Barlow
dd1cf567db
watcher: Fix JSONDecodeError if OCR_JSON_SETTINGS not set
...
Fixes #516
2020-03-29 21:58:37 -07:00
James R. Barlow
9be533b5f4
watcher: allow all parameters to ocrmypdf.pdf to be passed by JSON
2020-03-15 21:45:51 -07:00
James R. Barlow
1efa79cce2
Remove potentially non-free file logo.afdesign
2020-03-03 03:40:33 -08:00
James R. Barlow
8308b20096
Merge branch 'master' of github.com:jbarlow83/OCRmyPDF
2020-03-03 02:25:58 -08:00
James R. Barlow
8b41f60b6e
docs: docker prefers .yml not .yaml
2020-03-03 02:25:21 -08:00
Alex
d56f749017
Improve ocrmypdf.bash completions on macOS ( #504 )
...
Fixes #502
2020-03-03 02:22:01 -08:00
James R. Barlow
7d55f6e01f
docs: extract example files from batch.rst
2020-03-03 02:15:35 -08:00
James R. Barlow
e40c60d4d8
watcher: add self to copyright
2020-03-03 00:59:57 -08:00
James R. Barlow
bdb7f92131
ifmain -> main()
2020-02-10 01:10:12 -08:00
James R. Barlow
b8a780d684
Wait for file based on pikepdf
2020-01-30 12:40:48 -08:00
James R. Barlow
82f393dd09
Order of events
2020-01-30 12:40:19 -08:00
James R. Barlow
4952af1604
watcher: some refactoring
2020-01-28 12:56:19 -08:00
Ian Alexander
3eab161771
Update logging and env var extensibility
2020-01-20 10:45:28 -08:00
Ian Alexander
b7f38e976b
Watched folder bug fixes, new flags, and docs updates.
2020-01-20 00:20:29 -08:00
James R. Barlow
054c0773a3
Update completions
2019-12-29 02:40:55 -08:00
James R. Barlow
e4e00de79f
Add improved example demonstrating watched folder functionality
...
Closes #466
2019-12-28 15:37:42 -08:00
James R. Barlow
5f00e4f9d8
Sort imports
2019-07-27 04:51:52 -07:00
James R. Barlow
b0f1a55537
completions: --pages
2019-07-27 04:26:38 -07:00
James R. Barlow
4d011c28ea
Improve completions
2019-07-27 03:02:04 -07:00
James R. Barlow
a7b4ed9688
Double vertical bars for logo
2019-07-08 22:20:23 -07:00