Swapper / processors

Commit History

  1. Fix: expand mask to 3 channels before Laplacian pyramid to prevent shape broadcast error Running

    abd882e
  2. Feature: Laplacian pyramid edge blending + progress bars for image swap

    b3255f0
  3. Fix: remove duplicate swap() and dead _pose/_get_landmarks code from body_swap.py

    e11e479
  4. Fix flickering: detect faces every frame, no per-frame enhancement in video

    47c8f24
  5. Fix video glitches: OpenCV-only enhance for video, even dimensions for XVID, softer unsharp

    1c23235
  6. Enhance: CodeFormer ONNX + ESPCN SR + u2net_human_seg + CRF18 unsharp video

    4a9cb39
  7. Fix: instant resume via FFmpeg seek, no motion blur in fast mode (write original frame)

    de1deba
  8. Fix: disable fast-mode frame skip for body swap (causes ghosting)

    846860f
  9. Fix: XVID/AVI intermediate fixes zero-duration output, pix_fmt yuv420p for compatibility, FFmpeg error logging

    7f39f97
  10. Feature: resume from frame, partial output on interruption, audio sync on resume

    a5190e9
  11. Perf: ONNX multi-thread, 320px det_size for video, fast-mode frame skip UI

    937ca9c
  12. Perf: source face detected once, target faces cached every 5 frames, 720p video processing

    6faf48e
  13. Quality: increase output resolution to 2048px, Lanczos upscale, adaptive unsharp mask

    d5e1b6d
  14. Fix: use 'is not None' for Progress check (Gradio 5 __len__ bug)

    b55f13c
  15. Increase video frame limit from 300 to 600 frames

    a0f50d6
  16. Fix: remove MediaPipe (API broken on Py3.13), add OpenCV face enhancement

    13dd92a
  17. Fix: use public mirror for inswapper model (gated HF repo fallback)

    79d56d4
  18. Fix build: remove basicsr/gfpgan (Python 3.13 incompatible), use onnxruntime CPU

    3373714
  19. Initial commit: Face & Body Swapper

    acb9f1e