Files
hacksider-Deep-Live-Cam/modules
Lauri Gates ca6cba9311 perf(ui): decouple face detection from swap in live webcam pipeline
Add a dedicated detection thread that runs face detection continuously
on the latest captured frame and publishes results to a shared dict.
The processing/swap thread reads cached detection results instead of
running detection inline, so it never blocks on the 15-30ms detection
cost.

Architecture change: 2 threads → 3 threads
  Before: capture → [detect + swap] → display
  After:  capture → swap (uses cached detections) → display
                  ↘ detect (async, writes to shared cache) ↗

Also replaces the blocking while/ROOT.update() display loop with
ROOT.after()-based scheduling, which avoids Tk event loop re-entrancy
issues and UI freezes.

Closes #1664
2026-02-22 18:41:47 +02:00
..
2025-05-13 00:14:49 +08:00
2026-02-12 19:44:04 +08:00
2024-09-10 05:40:55 +05:30
2026-02-23 00:01:22 +08:00
2025-10-12 22:33:09 +08:00
2025-01-07 14:04:18 +08:00
2025-12-15 04:54:42 +08:00
2026-02-12 19:44:04 +08:00
2026-02-10 12:23:28 +08:00
2026-02-12 19:44:04 +08:00
2025-10-12 22:33:09 +08:00
2025-10-12 22:33:09 +08:00
2023-09-24 21:36:57 +08:00
2024-09-19 17:38:02 +08:00
2026-02-06 22:20:08 +08:00
2024-12-16 18:41:39 +05:30