Add Lab gamma darkening (darken_print) and gamma step in enhance_for_ocr for pale grey / TD-style ribbon ink
Optional 1.5× cubic upscale for crops under 1800px (skipped on sharp ~2k captures)
Add .gitleaks.toml so pre-commit secret scanning can load default rules
Test plan
pytest tests/test_enhance.py (5 passed locally)
No Gitea Actions workflows configured on this repo; master branch protection has status checks disabled
## Summary
- Add Lab gamma darkening (`darken_print`) and gamma step in `enhance_for_ocr` for pale grey / TD-style ribbon ink
- Optional 1.5× cubic upscale for crops under 1800px (skipped on sharp ~2k captures)
- Add `.gitleaks.toml` so pre-commit secret scanning can load default rules
## Test plan
- [x] `pytest tests/test_enhance.py` (5 passed locally)
- [ ] No Gitea Actions workflows configured on this repo; master branch protection has status checks disabled
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
darken_print) and gamma step inenhance_for_ocrfor pale grey / TD-style ribbon ink.gitleaks.tomlso pre-commit secret scanning can load default rulesTest plan
pytest tests/test_enhance.py(5 passed locally)a253db6adbto764a0626b5