refactor: remove YOLO processor and dependencies

- Delete YOLO processor implementation (src/core/processor/yolo.rs)
- Remove YOLO from processing pipeline and worker
- Clean up YOLO-related code across multiple modules
- Add migration 033_remove_yolo.sql

YOLO functionality removed as part of architecture simplification
This commit is contained in:
Accusys
2026-09-17 16:56:25 +08:00
parent 791c782606
commit 474a5bee99
20 changed files with 161 additions and 731 deletions
+4 -2
View File
@@ -148,7 +148,6 @@ struct ScriptIntegrity {
#[derive(Debug, Serialize)]
struct ProcessorInventory {
asr: bool,
yolo: bool,
face: bool,
pose: bool,
ocr: bool,
@@ -172,6 +171,8 @@ struct ResourceStatus {
gpu_available: bool,
gpu_utilization: Option<f64>,
gpu_memory_used_pct: Option<f64>,
ane_available: bool,
ane_utilization: Option<f64>,
}
#[derive(Debug, Serialize)]
@@ -348,6 +349,8 @@ pub async fn health_detailed(State(state): State<AppState>) -> Json<DetailedHeal
gpu_available: sys.gpu_available,
gpu_utilization: sys.gpu_utilization,
gpu_memory_used_pct: sys.gpu_memory_used_pct,
ane_available: sys.ane_available,
ane_utilization: sys.ane_utilization,
},
pipeline: PipelineStatus {
scripts_ready: scripts_path.is_dir(),
@@ -355,7 +358,6 @@ pub async fn health_detailed(State(state): State<AppState>) -> Json<DetailedHeal
scripts_integrity,
processors: ProcessorInventory {
asr: check_script("asr_processor.py"),
yolo: check_script("yolo_processor.py"),
face: check_script("face_processor.py"),
pose: check_script("pose_processor.py"),
ocr: check_script("ocr_processor.py"),