Improve OCR on pale grey / low-res dot-matrix print.

Add Lab gamma darkening and optional 1.5x cubic upscale (crops under 1800px) so faint TD-style ribbon ink is readable without slowing sharp captures. Add .gitleaks.toml so the pre-commit secret scan can load default rules.
This commit is contained in:
2026-07-13 23:12:53 -04:00
parent 5be9d5935d
commit a253db6adb
3 changed files with 73 additions and 7 deletions
+7
View File
@@ -0,0 +1,7 @@
# Gitleaks config — pre-commit hook requires this file.
# useDefault must be true or gitleaks loads only this file and detects nothing.
title = "PaperPod gitleaks"
[extend]
useDefault = true