diff options
| author | Mitsuo Tokumori <mitsuo@tokumori.xyz> | 2025-12-30 01:17:10 +0900 |
|---|---|---|
| committer | Mitsuo Tokumori <mitsuo@tokumori.xyz> | 2025-12-30 01:17:10 +0900 |
| commit | 897ffe7b3ba43fee0c4418148a185d1cbb7d6425 (patch) | |
| tree | 9d5fca789746ebb9b8a99902b7aa66b0f6bde2c5 /public/.local/bin/ocrthis.sh | |
| parent | d0a3fa2ddd2843a55cce25d29fe61daf27ef1d38 (diff) | |
QoL small changes
Diffstat (limited to 'public/.local/bin/ocrthis.sh')
| -rwxr-xr-x | public/.local/bin/ocrthis.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/.local/bin/ocrthis.sh b/public/.local/bin/ocrthis.sh index 3010a6a..0275d01 100755 --- a/public/.local/bin/ocrthis.sh +++ b/public/.local/bin/ocrthis.sh @@ -17,4 +17,4 @@ convert "$1" "${b}.pdf" # TODO: some contrast enhancement step would help. If text has low contrast # with background (e.g., blue on black, green on black), then OCR fails. ocrmypdf "${b}.pdf" "${b}.ocr.pdf" -mv -f "${b}.ocr.pdf" "${b}.pdf" +#mv -f "${b}.ocr.pdf" "${b}.pdf" |
