feat: add per-file face_settings (min_confidence, min_size) support

- DB: Added face_settings jsonb column to monitor_jobs
- API: RegisterFileRequest accepts face_settings
- DB: create_monitor_job accepts and stores face_settings
- MonitorJob struct includes face_settings field
- Swift face processor will read from FACE_MIN_CONFIDENCE and FACE_MIN_SIZE env vars
This commit is contained in:
Accusys
2026-08-08 04:17:05 +08:00
parent c184711bfc
commit 606f4ce5be
3 changed files with 28 additions and 8 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ async fn trigger_processing(
} else {
state
.db
.create_monitor_job(&file_uuid, Some(&file_path))
.create_monitor_job(&file_uuid, Some(&file_path), None)
.await
.map_err(|e| {
tracing::error!(