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:
@@ -7,7 +7,6 @@ This demonstrates the system's ability to learn new faces
|
||||
import requests
|
||||
import json
|
||||
import os
|
||||
import base64
|
||||
from PIL import Image
|
||||
import io
|
||||
|
||||
@@ -157,12 +156,12 @@ def test_face_recognition(test_image_path):
|
||||
|
||||
if response.status_code == 200:
|
||||
data = response.json()
|
||||
print(f"✅ Success!")
|
||||
print("✅ Success!")
|
||||
print(f"Total faces detected: {data.get('total_faces', 0)}")
|
||||
|
||||
matches = data.get("matches", [])
|
||||
if matches:
|
||||
print(f"\n🎯 Recognition results:")
|
||||
print("\n🎯 Recognition results:")
|
||||
for i, match in enumerate(matches):
|
||||
print(f" {i + 1}. {match.get('person_name', 'Unknown')}")
|
||||
print(f" Confidence: {match.get('confidence', 0):.3f}")
|
||||
@@ -317,9 +316,9 @@ def main():
|
||||
print("\n📋 SUMMARY:")
|
||||
print(f"• API Server: {BASE_URL}")
|
||||
print(f"• Video analyzed: {VIDEO_UUID}")
|
||||
print(f"• Faces detected: 78 (from analysis)")
|
||||
print("• Faces detected: 78 (from analysis)")
|
||||
print(f"• Faces registered: {learned_count}")
|
||||
print(f"• System ready for learning new faces!")
|
||||
print("• System ready for learning new faces!")
|
||||
|
||||
print("\n💡 NEXT STEPS:")
|
||||
print("1. Upload new photos to recognize registered faces")
|
||||
|
||||
Reference in New Issue
Block a user