cleanup: remove dead code and duplicate docs
- Remove session-ses_2f27.md (161KB raw session log) - Remove 49 ROOT_* duplicate files across REFERENCE/ - Remove 14 duplicate files between REFERENCE/ root and history/ - Remove asr_legacy.rs (dead code, replaced by asr.rs) - Remove src/core/worker/ (duplicate JobWorker) - Remove src/core/layers/ (empty directory) - Remove 4 .bak files in src/ - Remove 7 dead private methods in worker/processor.rs - Remove backup directory from git tracking
This commit is contained in:
@@ -5,10 +5,8 @@
|
||||
|
||||
import os
|
||||
import sys
|
||||
import json
|
||||
import numpy as np
|
||||
import cv2
|
||||
from pathlib import Path
|
||||
|
||||
# 添加項目根目錄到 Python 路徑
|
||||
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
@@ -49,7 +47,7 @@ def test_direct_face_processing():
|
||||
)
|
||||
|
||||
if result["success"]:
|
||||
print(f"✅ 人臉註冊成功")
|
||||
print("✅ 人臉註冊成功")
|
||||
print(f" - Face ID: {result.get('face_id')}")
|
||||
print(f" - 嵌入向量長度: {len(result.get('embedding', []))}")
|
||||
|
||||
@@ -143,7 +141,7 @@ def test_direct_face_processing():
|
||||
cursor.execute("SELECT COUNT(*) as total_identities FROM face_identities")
|
||||
total_identities = cursor.fetchone()[0]
|
||||
|
||||
print(f" ✅ 數據庫統計:")
|
||||
print(" ✅ 數據庫統計:")
|
||||
print(f" - 總人臉檢測記錄: {total_faces}")
|
||||
print(f" - 總人臉身份: {total_identities}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user