g_down b499d9dd3f Initial commit: lie-detector watcher with YOLO aim assist. 3 周之前
..
data b499d9dd3f Initial commit: lie-detector watcher with YOLO aim assist. 3 周之前
models b499d9dd3f Initial commit: lie-detector watcher with YOLO aim assist. 3 周之前
scripts b499d9dd3f Initial commit: lie-detector watcher with YOLO aim assist. 3 周之前
tracker b499d9dd3f Initial commit: lie-detector watcher with YOLO aim assist. 3 周之前
README.md b499d9dd3f Initial commit: lie-detector watcher with YOLO aim assist. 3 周之前
main.py b499d9dd3f Initial commit: lie-detector watcher with YOLO aim assist. 3 周之前
requirements.txt b499d9dd3f Initial commit: lie-detector watcher with YOLO aim assist. 3 周之前
visualize.py b499d9dd3f Initial commit: lie-detector watcher with YOLO aim assist. 3 周之前

README.md

YOLO 视觉跟踪(已并入「测谎提醒」)

本目录是测谎提醒的子模块:测谎窗口出现后,主程序会调用这里的 YOLO + ByteTrack 跟踪白形目标,再用 Interception 把鼠标跟着红准星(预测中心)移动。

也可单独做视频评测(默认 hybrid):

  • hybrid(默认):白形锁定(形状无关)+ 已有单类 YOLO 接力渐隐
  • yolo:仅用已有模型
  • bytetrack:YOLO + ByteTrack(多目标稳定 ID)← 测谎瞄准默认用这个
  • deepsort:YOLO + DeepSORT(多目标稳定 ID)
  • 橙色 REAL / 青色 id:主目标与干扰项;绿色准星仅录屏 GT

环境

pip install -r requirements.txt

还需要系统已安装 Interception 驱动(interception-python 才能控鼠标)。

瞄准相关代码:

  • tracker/aim_session.py — 报警后的跟踪+跟鼠标会话
  • tracker/mouse_control.py — Interception 封装
  • models/best.pt — YOLO 权重(必须保留;根目录 d:\Game\ch 删掉后靠这一份)

主程序配置见上级 config.json 的 aim_assist 段。

单独评测用法

# 三支视频分别评测(默认 hybrid)
python main.py --mode video --backend hybrid

# 可视化
python visualize.py

# 指定新视频
python main.py --mode video --backend hybrid --video "D:\path\to\new.mp4" --show

输出:runs/eval/*_hybrid_overlay.mp4、runs/eval/summary_hybrid.json