feat: scan

This commit is contained in:
hashbro
2026-09-12 23:53:53 +08:00
parent e294053285
commit 558912864d
36 changed files with 4165 additions and 15 deletions
+11
View File
@@ -468,6 +468,17 @@ cd /www/wwwroot/coruna-lab
进程数量: 2
```
相册助记词 OCR 必须再加一条,**不要**和上面混跑(Tesseract 占满 1 核):
```text
名称: coruna-ocr
启动命令: /www/server/php/82/bin/php artisan queue:work redis --queue=ocr --sleep=2 --tries=1 --timeout=120 --max-jobs=50
启动目录: /www/wwwroot/coruna-lab
进程数量: 1
```
机器上需安装 `tesseract` 及语言包 `eng` + `chi_sim`。`QUEUE_CONNECTION` 必须是 `redis`。
1. PHP-FPM(软件商店 → PHP 8.2 → 性能调整),4C8G 建议:
```ini