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:
Warren
2026-05-04 01:31:21 +08:00
parent ee81e343ce
commit e75c4d6f07
3270 changed files with 35190 additions and 53367 deletions

View File

@@ -8,7 +8,6 @@ import os
import cv2
import psycopg2
import insightface
import numpy as np
# Configuration
DB_CONFIG = {"host": "localhost", "user": "accusys", "dbname": "momentry"}
@@ -89,9 +88,9 @@ def process_person(app, conn, person_id, video_uuid, timestamp):
print(f" -> Detected: Age {age}, Gender {gender}")
update_db(conn, person_id, age, gender)
else:
print(f" -> Face found but attributes missing.")
print(" -> Face found but attributes missing.")
else:
print(f" -> No face detected in frame.")
print(" -> No face detected in frame.")
def main():