Raman Gupta
31ef706c47
unpaper: add deskew-scan-range for better deskew
2023-04-19 12:45:06 -04:00
Raman Gupta
966328a9e3
Correct temp file deletion during post-processing
2022-10-11 08:59:00 -04:00
Dirk Surmann
13c40dcfce
update brightness and contrast control
2022-01-01 13:23:44 +01:00
Dirk Surmann
476e730135
update white threshold
2021-12-09 18:03:06 +01:00
Dirk Surmann
bed68a0e7b
add white threshold to skip pages
2021-12-09 16:49:50 +01:00
Dirk Surmann
1d82088527
add brightness switch
2021-12-09 16:49:40 +01:00
Raman Gupta
45cf51f9e8
Skip empty page detection if optional bc not available
2021-07-30 12:48:20 -04:00
Raman Gupta
d33c8caa71
performance: pnmtops to temp file
...
For some reason when piping the output of pnmtops directly to ps2pdf,
conversion is very slow (especially for color scans).
When writing to an intermediate temporary file, conversion is fast.
Before:
________________________________________________________
Executed in 19.20 secs fish external
usr time 4.01 secs 0.32 millis 4.01 secs
sys time 20.63 secs 5.30 millis 20.62 secs
After:
________________________________________________________
Executed in 368.06 millis fish external
usr time 378.06 millis 0.00 millis 378.06 millis
sys time 100.00 millis 2.79 millis 97.21 millis
An improvement of over 50 times!
This should resolve #19 .
2021-03-10 22:07:09 -05:00
Raman Gupta
6b313943bb
Use bash built-in tests, additional arg parsing checks
2020-07-30 13:53:17 -04:00
Raman Gupta
f3a743ac72
Minor logging output improvements
2020-07-29 22:02:38 -04:00
Raman Gupta
982090acf8
More temp file cleanup
2020-07-29 22:02:24 -04:00
Raman Gupta
9b71320fa0
Run image to tiff conversion CPU constrained
2020-07-29 22:01:55 -04:00
Raman Gupta
b6ff50a4b0
Specify dpi in image header for tesseract
...
See https://github.com/tesseract-ocr/tesseract/issues/150
2020-07-29 18:01:20 -04:00
Raman Gupta
3582408e85
Minor stylistic changes
2020-07-29 17:11:40 -04:00
Raman Gupta
906ffc983f
Test for -verbose flag on pnmtops
2020-04-05 17:13:22 -04:00
Raman Gupta
38102d8086
Constrain per page processing CPU usage
2019-08-08 10:30:45 -04:00
Raman Gupta
be6eb44b5d
Change white threshold to 99.8
2018-11-01 12:19:19 -04:00
Raman Gupta
111a8e7572
Polish pull request
2018-11-01 12:10:23 -04:00
Stefan Armbruster
573b1df2da
Remove empty pages based on cmd line option
2018-11-01 12:10:20 -04:00
Raman Gupta
e983c2989f
Support non-standard page size outputs with crop
2016-01-20 19:38:23 -05:00
Raman Gupta
8dd7ff6d60
Add driver deskew and crop options
2015-09-26 14:06:54 -04:00
Raman Gupta
ab56bbcbc1
Fix usage output
2015-09-26 13:34:52 -04:00
Raman Gupta
143f2174f3
Fujitsu Scansnap S1500 scanning
2015-09-26 13:14:59 -04:00