Deep-Live-Cam icon indicating copy to clipboard operation
Deep-Live-Cam copied to clipboard

Vs code windows

Open rehanbgmi opened this issue 6 months ago • 3 comments

Summary by Sourcery

Enable optional hair swapping by integrating a hair segmentation model and modularizing the face swap pipeline, enhance cross-platform support with automated setup/run scripts for Windows and macOS, and update the UI with a new "Swap Hair" switch.

New Features:

  • Add hair segmentation and blending feature to enable hair swapping onto faces.
  • Provide automated Windows and macOS setup and run scripts to streamline environment creation and application launch.
  • Introduce a "Swap Hair" toggle in the UI for enabling or disabling hair blending.

Enhancements:

  • Refactor swap_face and processing pipeline into modular functions for warping, blending, and mouth masking.
  • Split process_frame_v2 into separate handlers for image, video, and live scenarios and add robust file and face-detection validation.
  • Add macOS-specific VideoCapture backend fallback to improve webcam compatibility.

Documentation:

  • Expand README with detailed Windows automated setup, macOS setup scripts, and GPU acceleration instructions.

Chores:

  • Add hair_segmenter module and update requirements.txt to include transformers.
  • Update various run and setup scripts to activate the virtual environment before launching the application.

rehanbgmi avatar May 26 '25 15:05 rehanbgmi