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

Issues Encountered

Open gogo25171 opened this issue 6 months ago • 0 comments

Hi,

Thanks for the awesome project! 🙌 I've encountered a few issues while using it, listed below in order:


1. File path with accented characters

When I try to use an image file located in a path that contains accented characters (for example, inside Téléchargements), I get the following warning:

[ WARN:[email protected]] global loadsave.cpp:241 cv::findDecoder imread_('D:/T├®l├®chargements/images.jpeg'): can't open/read file: check file path/integrity

It seems to be caused by incorrect character encoding in the file path. A temporary fix is to move the file to a folder without accented characters, but this should ideally be handled properly in the code to avoid silent failures.


2. Error: Face detection failed

After fixing the file path issue, I sometimes run into this error:

ERROR:root:Face detection failed for target or source.

This stops the swap from working entirely. This error should be fixed as well, or at least handled more gracefully (e.g., retrying detection, displaying a clear message to the user, or making the detection process more robust).


3. Black square instead of face swap

When everything else seems to work (image loads fine, face detection doesn't fail), I can see myself in the webcam preview, but there is a black square covering my face instead of the swapped face.

I'm not sure if this is related to the mask, rendering, or an issue in the image processing pipeline.


Additional Info

  • OS: Windows

  • Webcam : iVCam

  • git --version
    git version 2.49.0.windows.1

  • ffmpeg --version ffmpeg version 2025-01-30-git-1911a6ec26-full_build-www.gyan.dev Copyright (c) 2000-2025 the FFmpeg developers built with gcc 14.2.0 (Rev1, Built by MSYS2 project)


Thanks in advance for your help, and again, great work on the project! 😊

gogo25171 avatar May 25 '25 00:05 gogo25171