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

@@ -4,8 +4,6 @@
"""
import cv2
import numpy as np
import json
import os
from datetime import datetime
@@ -247,7 +245,7 @@ def create_female_faces_report(female_frames_info, output_dir="/tmp/female_faces
f"- `{os.path.basename(info['thumbnail'])}` - 縮略圖800px寬\n"
)
f.write(f"- `female_faces_report.md` - 本報告文件\n\n")
f.write("- `female_faces_report.md` - 本報告文件\n\n")
f.write("## 🔍 分析說明\n\n")
f.write("1. **邊界框顏色**: 粉色 (RGB: 255,105,180) 表示女性人臉\n")
@@ -332,20 +330,20 @@ def main():
info for info in female_frames_info if info["female_count"] == max_females
][0]
print(f"📊 統計摘要:")
print("📊 統計摘要:")
print(f" - 總分析畫面: {len(female_frames_info)}")
print(f" - 女性最多畫面: 幀 {max_frame_info['frame_number']}")
print(f" - 女性數量: {max_females}")
print(f" - 時間位置: {max_frame_info['timestamp_formatted']}")
print()
print(f"📁 生成文件:")
print("📁 生成文件:")
print(f" - 標記圖像: {output_dir}/female_faces_frame_*.jpg")
print(f" - 縮略圖: {output_dir}/female_faces_frame_*_thumbnail.jpg")
print(f" - 分析報告: {report_path}")
print()
print(f"🔍 查看結果:")
print("🔍 查看結果:")
print(f" ls -la {output_dir}/")
print(f" open {output_dir}/female_faces_report.md")