Install Deep Live Cam Locally for Realtime Face Swap

Поділитися
Вставка
  • Опубліковано 24 лис 2024

КОМЕНТАРІ • 517

  • @fahdmirza
    @fahdmirza  3 місяці тому +8

    🔥 Deep Live Cam - How-To Use - ua-cam.com/video/I5emQaYzDYU/v-deo.html
    🔥 Flux WebUI - Run Flux-1 Dev and Flux-1 Schnell Locally in Gradio GUI - ua-cam.com/video/EZZ0cEJwZLA/v-deo.html
    🔥Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv
    🔥 Buy Me a Coffee to support the channel: ko-fi.com/fahdmirza

    • @DantePeter
      @DantePeter 2 місяці тому +1

      Can I use python 3.12?
      Which I used for avatarify installation

    • @transformers2737
      @transformers2737 2 місяці тому +1

      Hi, I’ve just subscribed to your channel. However, I’m having issue installing it on my pc. My pc has nvidia rtx 2060 6GB. I watched your installation video and when it gets to insightface it throws an error and I can’t get past that. Can you pls help?

    • @JaneThomspon
      @JaneThomspon 10 днів тому +1

      Can Mac Pro Work
      3.5 GHz Dual- Core intel core i7
      intel iris Plus Graphics 650 1536 MB

  • @indeedDE01
    @indeedDE01 3 місяці тому +1

    Small correction, to check the version of CUDA which is installed "nvcc --version" is what I personally would use as nvidia-smi shows general information about the graphics drivers iirc.

    • @fahdmirza
      @fahdmirza  2 місяці тому

      nvidia-smi is fine.

  • @jacobgreene2483
    @jacobgreene2483 6 днів тому +1

    thank you for the video, but whenever I try to install git and ffmpeg it say timeout or your choice of choco install ffmpeg or git is not a vaild selection.. Please what should I do?

  • @TomiTom1234
    @TomiTom1234 3 місяці тому +2

    Thank you! You won a new sub

    • @fahdmirza
      @fahdmirza  3 місяці тому +2

      Awesome, thank you!

  • @humez91
    @humez91 7 днів тому +2

    I'm not quite sure if it's running on GPU. When extracting frames CPU usage is at 99%. However, the other processes seem to run on GPU but it's not using all of the VRAM. 11-12GB out of my 16 from the 4080S. Is that normal?

    • @Genesiscodm1
      @Genesiscodm1 4 дні тому

      I’m not sure it runs on GPU just nvidia

  • @zljin7074
    @zljin7074 3 місяці тому +3

    Wonderful work! Do you know what is the pixel size limit for the image and the target video?

    • @fahdmirza
      @fahdmirza  3 місяці тому

      Let me check the pixel size if I could find it.

    • @DIYKolka
      @DIYKolka 3 місяці тому

      i think it is 640 x 640

  • @ReformationsGlassArt
    @ReformationsGlassArt 21 день тому +1

    this is great - but im actually looking to swap faces illustration/cartoon images to that of my nephews. What is the best please ?

  • @ИванКузнецов-с8ш
    @ИванКузнецов-с8ш 3 місяці тому +6

    I followed everything in your video, but when creating a video or using Live mode, the quality is just terrible, while yours looks great. What could be wrong? My computer specs:
    GPU - Nvidia GeForce RTX 4060 TI
    CPU -12th Gen Intel(R) Core(TM) i5-12400F 2.50 GHz
    Memory - 32 GB

    • @vitinzugor
      @vitinzugor 3 місяці тому

      It is still too early for this type of project to work 90%.

    • @fahdmirza
      @fahdmirza  3 місяці тому +1

      make sure its running on GPU.

    • @Onlyletters1104
      @Onlyletters1104 3 місяці тому +3

      LOL bor 4060 TI when its requirement is only 2060💀💀💀

    • @VortexFlickens
      @VortexFlickens 3 місяці тому +1

      @@fahdmirza I have rtx 4080 and i9-14900HX. Still terrible quality. Even my webcam is of good quality yet the output is terrible

    • @fahdmirza
      @fahdmirza  3 місяці тому

      @@VortexFlickens Make sure its running on GPU.

  • @giuseppedaizzole7025
    @giuseppedaizzole7025 3 місяці тому +2

    Hi there.. Does anyone know the minimum requirements? and better GPU or CPU. I have a RTX 12GB and 16GB RAM.. thanks

    • @fahdmirza
      @fahdmirza  3 місяці тому

      I have observed that it struggles a lot any VRAM below 24GB. Ideally, I would suggest anything like 48GB VRAM especially if you are live. Thanks.

  • @anonymous_0417
    @anonymous_0417 3 місяці тому +4

    The program opens but i get this message when i start the live button. any ideas?
    INVALID_PROTOBUF : Load model from C:\Users\xxxxx\deep-live-cam\models\inswapper_128_fp16.onnx failed:Protobuf parsing failed.

    • @nokoneffets405
      @nokoneffets405 3 місяці тому +1

      Had that issue as well, needed to DL both model files again.

    • @fahdmirza
      @fahdmirza  2 місяці тому

      Please see if you find solution to your error in this video:
      🔥Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

    • @kindnesssamuel1958
      @kindnesssamuel1958 2 місяці тому

      What do mean by "DL" ​@@nokoneffets405

  • @GoldenHourFilms1030
    @GoldenHourFilms1030 День тому

    How do u change the webcam to external one like Logitech

  • @Spiritualquantic
    @Spiritualquantic 2 місяці тому +1

    bro, i have rtx 3060 and in all the tests I did, the face swapping was never good, very "BUGGED" you know? Why does this happen? I did everything as instructed in the repository

    • @fahdmirza
      @fahdmirza  2 місяці тому

      Hi, plz see this video for further info and any troubleshooting tips : ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=-zong7Sa__Zbs0Fj

  • @kidinacage
    @kidinacage 3 місяці тому +4

    Got it up and running on my 4090, but the feed is super clunky and the face swap is just visual noise?

    • @daddysamy
      @daddysamy 3 місяці тому

      Same for me :(

    • @daddysamy
      @daddysamy 3 місяці тому

      Same for me

    • @fahdmirza
      @fahdmirza  3 місяці тому

      yeah you would need more VRAM

    • @IvanIvan-z6g
      @IvanIvan-z6g 3 місяці тому

      @@fahdmirza what u mean VRAM?

    • @Youbutnotyou-tube
      @Youbutnotyou-tube 3 місяці тому

      you need to install some cuda stuff for windows

  • @DreyTheJit
    @DreyTheJit 2 місяці тому +1

    i did everything but when i try and check the version of the programs in powershell it says" the term"___" is not recognized as the name of a cmdlet, function, script file, operable program. plz help

    • @fahdmirza
      @fahdmirza  Місяць тому +1

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @FelixJohnson-f6z
    @FelixJohnson-f6z 21 день тому

    I have downloaded everything but the Deep-Live-Cam is very slow it take 5 mins to load !!! Whiles it gives me Not Responding!! The FPS is 0.8 please help me

  • @mardel5466
    @mardel5466 2 місяці тому +1

    hi thank you sir for the great video but I want to know your opinion on this app vs deep face live? you think this one better?

    • @fahdmirza
      @fahdmirza  Місяць тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

    • @zzzzzzzz4694
      @zzzzzzzz4694 Місяць тому

      Thats not what he asked dummy​@@fahdmirza

  • @Massoqueti2
    @Massoqueti2 3 місяці тому +4

    error in : choco install git / See: Unable to resolve dependency: Unable to find a version of 'chocolatey-core.extension' that is compatible with 'git.install 2.46.0 constraint: chocolatey-core.extension (>= 1.3.3)', 'vcredist140 14.40.33810 constraint: chocolatey-core.extension (>= 1.3.3)'.
    Chocolatey installed 0/1 packages. 1 packages failed.
    See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
    Failures
    - git - Unable to resolve dependency: Unable to find a version of 'chocolatey-core.extension' that is compatible with 'git.install 2.46.0 constraint: chocolatey-core.extension (>= 1.3.3)', 'vcredist140 14.40.33810 constraint: chocolatey-core.extension (>= 1.3.3)'.

    • @fahdmirza
      @fahdmirza  2 місяці тому

      Please see if you find solution to your error in this video:
      🔥Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @Kevinsmithns
    @Kevinsmithns 3 місяці тому +1

    Is there a bulk create function and what about chance background? And full body movement to another

    • @fahdmirza
      @fahdmirza  3 місяці тому

      Not at the moment.

    • @aaronjaggars
      @aaronjaggars 3 місяці тому

      Yup to bad this got errors bout to do what ur thinking n fuck hooly wood uo lolololol

  • @Freak80MC
    @Freak80MC 3 місяці тому

    Honestly wanna thank you for making this video, but given all the complicated stuff you have to do and the fact that I have a crappy laptop, this probably aint for me, which sucks because I had a pretty innocent use for this program (I wanted to use faceapp filter pictures I've taken and put it on my face in real time to mess around with them and see how they looked)
    But alas, maybe another time.

  • @19thghost56
    @19thghost56 Місяць тому +1

    ERROR: Failed building wheel for insightface
    Failed to build insghtface
    ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (insight face)
    i have installed Microsoft Visual Studio Build tools installed already
    what do i do please?

    • @8matrice8
      @8matrice8 Місяць тому

      Change thephotos source

    • @fahdmirza
      @fahdmirza  Місяць тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

    • @VibesCure
      @VibesCure 11 днів тому

      @@fahdmirza Same error, I also watched the errors fixed video and did a fresh installation but still it says : Failed building wheel for insightface

    • @OlamideSalako-u5d
      @OlamideSalako-u5d 11 днів тому

      Download go to visual studio download the build install modify click the c++ and try it again

  • @Truecaller-q4g
    @Truecaller-q4g 16 днів тому

    it uses only on cpu and gpu stays 0 even after providing execution provider cuda and while face enhancer option enabled it works with only on 2 fps why? needed help

  • @OlamideSalako-u5d
    @OlamideSalako-u5d 14 днів тому

    I get error “could not build wheels for insightface which use pep 517 and cannot be installed directly”

  • @muammer276
    @muammer276 3 місяці тому +11

    i get the following error PS C:\Windows\system32\Deep-Live-Cam> python run.py
    Traceback (most recent call last):
    File "C:\Windows\system32\Deep-Live-Cam
    un.py", line 3, in
    from modules import core
    File "C:\Windows\system32\Deep-Live-Cam\modules\core.py", line 14, in
    import torch
    ModuleNotFoundError: No module named 'torch'

    • @fahdmirza
      @fahdmirza  3 місяці тому +2

      make sure you install all the pre-requisites like. All code is in the link in video description, thanks.

    • @joshkidik8111
      @joshkidik8111 3 місяці тому +3

      Greetings. I tried to install this program on my PC, but I did not get the final result, everything was done consistently as in the video can you help with the installation?

    • @chirag4895
      @chirag4895 3 місяці тому +6

      same error

    • @kidinacage
      @kidinacage 3 місяці тому +1

      I MAY have figured it out. When installing the PIP, leave it to install for ages. Theres a while there where it looks like its doing nothing, but if you exit early, the torch files dont install correctly.

    • @jaxronn
      @jaxronn 3 місяці тому

      @@kidinacagewhat do you mean by this?

  • @Yoshi__Online
    @Yoshi__Online 3 місяці тому

    Using a 5950x and a 3070 and its stuttering like hell :D Guess i need an upgrade for this

    • @fahdmirza
      @fahdmirza  3 місяці тому

      yep definitely need bigger GPU

  • @NayyarAbbas-sh1vw
    @NayyarAbbas-sh1vw 3 місяці тому +1

    so you are saying that I have no chance running this thing on my GTX 1660 super

    • @fahdmirza
      @fahdmirza  3 місяці тому

      You can try it out

  • @lesptitsoiseaux
    @lesptitsoiseaux 3 місяці тому

    Kids, create a virtual environment first and make sure you actually use 3.10 (figure it out with chatgpt:) )

    • @fahdmirza
      @fahdmirza  3 місяці тому

      cheers

    • @HadoukenGr
      @HadoukenGr 3 місяці тому +1

      Or you can read the documentation that says exactly that.

  • @Yasuko653
    @Yasuko653 2 місяці тому +1

    I am using 4gb gtx 1650 and it’s lagging, Do I need cuda toolkit?

    • @fahdmirza
      @fahdmirza  2 місяці тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @mollykeyzz8330
    @mollykeyzz8330 23 дні тому

    hi pls can you explain this better A6000 or A5000 GPU rental,

    • @fahdmirza
      @fahdmirza  23 дні тому

      see the video description with link and 50% discount coupon code to the GPU card. A6000 is better.

  • @ashten-e1e
    @ashten-e1e Місяць тому

    Quick question, how does one access the UI (users interface) apparently changing the size of the image helps fix fps and lag

    • @fahdmirza
      @fahdmirza  Місяць тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

    • @ashten-e1e
      @ashten-e1e Місяць тому

      @@fahdmirza sadly it’s not, it’s not specifically an error it’s more of a need to import the module files and accessing the UI

  • @JoshuaEgbele
    @JoshuaEgbele Місяць тому

    PS C:\WINDOWS\system32\Deep-live-cam> pip install -r requirement.txt
    ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirement.txt'
    WARNING: You are using pip version 21.2.3; however, version 24.2 is available.
    You should consider upgrading via the 'C:\Python310\python.exe -m pip install --upgrade pip' command.
    PS C:\WINDOWS\system32\Deep-live-cam>
    at this point am confused

    • @fahdmirza
      @fahdmirza  Місяць тому

      please search the channel for related videos, thanks.

  • @SimonDan506
    @SimonDan506 3 місяці тому

    Despite Running the CUDA version it is only utilizing my CPU and not the GPU. I believe it might be because I don't have that correct CUDA version installed? I have a newer version that I already had previously, should I downgrade it for this?

    • @fahdmirza
      @fahdmirza  3 місяці тому

      yes its version sensitive

  • @ImSnazyyyy
    @ImSnazyyyy 3 місяці тому +1

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for insightface
    Failed to build insightface
    ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (insightface)
    please help
    then when i run command python run.py --execution-provider cuda
    it says
    ModuleNotFoundError: No module named 'torch'

    • @ImSnazyyyy
      @ImSnazyyyy 3 місяці тому +1

      i have python version 3.10
      pip 24.2
      git version 2.46.0.windows.1
      ffmpeg latest installed
      running on latest vscode version too

    • @Lucidity_At_Last
      @Lucidity_At_Last 3 місяці тому

      i have the same "insightface" issue

    • @alexfujimori5058
      @alexfujimori5058 3 місяці тому

      I have the same problem

    • @rouane20
      @rouane20 3 місяці тому

      Same

    • @vaporchickenwave6980
      @vaporchickenwave6980 3 місяці тому

      same problem

  • @baseerfarooqui5897
    @baseerfarooqui5897 Місяць тому

    hi thankyou for your very informative tutorial. i installed everything but i can only run with AZURE command in startup. but i got message after loading that Frame Enhancer is not found. and when i switch to live it shows black screen. although the normal windows camera app is running fine. please give me suggestions what i miss. thanks

    • @fahdmirza
      @fahdmirza  Місяць тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @vladisan1
    @vladisan1 3 місяці тому

    Interesting thing happens in my case.
    Specs: Have a laptop with an intel processor and nVidia 3080 TI GPU.
    Behaviour1: Starting the program with execution provider CUDA still seems to use only the processor, as it is under 100% usage while the dedicated GPU is at 0% usage.
    Behaviour2: The program runs and finalizes the task, however the output is displaying the target with a dark / black square over the face.
    Some suggestions:
    In the video it would be nice if you'd show the terminal as well after starting the program to see if any warnings or errors come in the background. In my case when pressing start I see some error messages which have to do with:
    "LoadLibrary failed with error 126 "" when trying to load site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"
    Moreover there you could also see the progress in percentages and live evolution.
    Curious if any of you encountered the above.
    Cheers!

    • @fahdmirza
      @fahdmirza  2 місяці тому

      Please see if you find solution to your error in this video:
      🔥Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @HenryKevin-ou8ht
    @HenryKevin-ou8ht 2 місяці тому +1

    I have an Amd Radeon PC
    Will this software still work properly?

    • @fahdmirza
      @fahdmirza  2 місяці тому +1

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @rabiusodeeq8774
    @rabiusodeeq8774 Місяць тому

    MSI 1584 Katana GF66
    16gig ram
    512gig SSD
    Intel tetradeca-core i7 processor (14-core CPUs)
    2.70ghz
    Red anti-spill backlight keyboard + numeric keypad
    4gig Nvidia graphics RTX 3050
    12th generation
    1920 x 1080 15.6 inch FHD screen resolution + 144.15hz refresh rate
    Will this specs work for it ??

    • @fahdmirza
      @fahdmirza  27 днів тому

      Please cleanup and start from scratch for installation

  • @MrCalmwaters112
    @MrCalmwaters112 3 місяці тому

    HeY fahad...thanks for putting up this video. I got this working as per your instructions....but it stops at the face enhancer - does not process that. I put the models in the model folder....any idea what to do?

    • @fahdmirza
      @fahdmirza  3 місяці тому

      Do you get any errors?

    • @MrCalmwaters112
      @MrCalmwaters112 3 місяці тому

      @@fahdmirza Actually once it's done part 1 and then moves onto processing...the progress just says at 0% and does not move forward. Without image enhancing, the end result is un-usable

  • @bennytan510
    @bennytan510 2 місяці тому

    When I click live a small preview tab appears but the whole app just froze and can’t work.

    • @fahdmirza
      @fahdmirza  2 місяці тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @frogball5819
    @frogball5819 3 місяці тому +1

    i receive the following error when trying to install the requirements: no module named "distutils"

    • @fahdmirza
      @fahdmirza  3 місяці тому

      You are not properly installing pre-reqs

    • @efijh390rjdceoidjcnioer
      @efijh390rjdceoidjcnioer 3 місяці тому +2

      your python version has to be 3.10. i had 3.12 installed and was getting the same error until i downgraded.

  • @heartinspirational
    @heartinspirational Місяць тому

    Traceback (most recent call last):
    File "C:\Windows\system32\Deep-Live-Cam
    un.py", line 3, in
    from modules import core
    File "C:\Windows\system32\Deep-Live-Cam\modules\core.py", line 20, in
    import modules.ui as ui
    File "C:\Windows\system32\Deep-Live-Cam\modules\ui.py", line 3, in
    import customtkinter as ctk
    ModuleNotFoundError: No module named 'customtkinter'
    PS C:\Windows\system32\Deep-Live-Cam>
    this the error

    • @fahdmirza
      @fahdmirza  Місяць тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @Medicinatural25
    @Medicinatural25 24 дні тому

    I have already installed all the steps but I get this error, how do I fix it please? The live camera does not load and when I download the videos, the video does not appear either, it cannot be opened. AttributeError: 'NoneType' object has no attribute 'shape'

    • @fahdmirza
      @fahdmirza  24 дні тому

      There are similar videos on the channel, please search on the channel, thanks.

  • @GTA6Game2025
    @GTA6Game2025 3 місяці тому +2

    error in
    'Frame processor face_enhancer not found'

    • @fahdmirza
      @fahdmirza  2 місяці тому

      Please make sure to follow all the steps, especially the pre-requisites. Thanks.

    • @boenternefario901
      @boenternefario901 2 місяці тому +2

      I got the same error, did you find a fix?

    • @FastUpdates
      @FastUpdates 2 місяці тому

      @@boenternefario901 same

  • @theylovewiz-v9m
    @theylovewiz-v9m 3 дні тому

    How can. I make sure its running on gpu

  • @AhmadAli-xv4vd
    @AhmadAli-xv4vd 3 місяці тому +2

    Any chance for portable installation ?

    • @fahdmirza
      @fahdmirza  3 місяці тому

      Would you please elaborate what you mean?

    • @AInfectados
      @AInfectados 3 місяці тому

      @@fahdmirza I thinks he mean like AUTOMATIC1111 for ex. where you just run some .BAT and it installs all the reqs. and create the separate ENV.

  • @kxdgivenchy3820
    @kxdgivenchy3820 Місяць тому

    Completed the Cuda installation but when I try to check for it on power shell it doesn’t show ,also when I try to gitclone it doesn’t complete everything ,any solutions?

    • @fahdmirza
      @fahdmirza  Місяць тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @giusparsifal
    @giusparsifal 3 місяці тому

    Hello and thanks, it works maybe better than DeepFaceLive, but anyway I got this error "Frame processor face_enhancer not found" have any idea how to fix it? I'm thinking that with face enhancer fixed it will works even better!

    • @fahdmirza
      @fahdmirza  3 місяці тому +1

      It normally occurs due to inswapper_128_fp16.onnx file in models. When I changed it to another model file in a different resource (github.com/facefusion/facefusion-assets/releases/download/models/inswapper_128_fp16.onnx)

    • @giusparsifal
      @giusparsifal 3 місяці тому

      @@fahdmirza I have it

    • @boenternefario901
      @boenternefario901 2 місяці тому

      I had the same error, did you find a solution?

  • @diamond_stone_2255
    @diamond_stone_2255 13 днів тому

    I can't upload any recently download file to the program

  • @DrPix3l
    @DrPix3l Місяць тому

    Hi and thanks for the tutorial ! But how to make it work live ???

    • @fahdmirza
      @fahdmirza  Місяць тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @proper-gamers7301
    @proper-gamers7301 Місяць тому

    I have a problem
    Run Command pip install -r requirements.txt
    ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

    • @coppernecos257
      @coppernecos257 Місяць тому

      Your CMD should be inside the Deep-Live-Cam folder.

    • @fahdmirza
      @fahdmirza  Місяць тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @thays182
    @thays182 3 місяці тому

    Can't get it to run. A handful of issues like, "opencv-python 4.8.1.78 depends on numpy>=1.17.0; python_version >= "3.7"". I tried changing the requirements txt to remove the specific versions but can't get it working. Suggestions?

    • @fahdmirza
      @fahdmirza  3 місяці тому

      Its very sensitive about requirements and their versions, so please follow it to the dot. Check the code in my blog and link is in video description.

  • @kreigzen9585
    @kreigzen9585 3 місяці тому

    Hello! Thanks a lot, I installed everything, but when I turn on the webcam I get AttributeError: 'NoneType' object has no attribute 'shape' in Windows Powershell, also happens when I want to change the face on the video. Please help me

    • @fahdmirza
      @fahdmirza  3 місяці тому

      you just need to copy your photo/video and git folder into folder without unicode symbols, for example on C://myfolder

  • @Yoshi__Online
    @Yoshi__Online 3 місяці тому

    Thanks for the Tutorial. Im facing a problem. As soon as i click to the Live Button, it goes live with my Elgato Capture Card. So i cant use my Cam. Any Ideas how to change that without deactivating my Capture Card?

    • @fahdmirza
      @fahdmirza  3 місяці тому

      may be disable the other card

  • @IsaacAdansi
    @IsaacAdansi 8 днів тому

    Does it’s work in all kind of laptops or only gaming laptops ?

  • @Kirmm
    @Kirmm 3 місяці тому

    I get an error: (all pre-requisites installed)
    PS C:\Windows\system32\Deep-Live-Cam> python run.py
    Traceback (most recent call last):
    File "C:\Windows\system32\Deep-Live-Cam
    un.py", line 3, in
    from modules import core
    File "C:\Windows\system32\Deep-Live-Cam\modules\core.py", line 14, in
    import torch
    ModuleNotFoundError: No module named 'torch'

  • @cosmicdust632
    @cosmicdust632 3 місяці тому

    Is there anyway to improve the lip movements? Thanks!

    • @fahdmirza
      @fahdmirza  2 місяці тому

      No, sorry

    • @Nuel-h9e
      @Nuel-h9e Місяць тому

      Bro I would need your assistance plz to get this installed. Can I get your WhatsApp number?

  • @gh_peter_pan7822
    @gh_peter_pan7822 2 місяці тому

    ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'C:\\Python310\\Scripts\
    ormalizer.exe' -> 'C:\\Python310\\Scripts\
    ormalizer.exe.deleteme' how do i solve this pls

    • @fahdmirza
      @fahdmirza  2 місяці тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @radeon9855
    @radeon9855 3 місяці тому +4

    why is a black square drawn instead of replacing the face

    • @fahdmirza
      @fahdmirza  3 місяці тому +1

      It means its unable to use face you uploaded. Use a clearer photo as source

    • @papermajo7337
      @papermajo7337 3 місяці тому

      Sometimes this works:
      pip uninstall onnxruntime onnxruntime-gpu
      pip install onnxruntime-gpu==1.16.3

  • @thecross1570
    @thecross1570 2 місяці тому

    My Powershell says that "pip" is not part of a Cmdlet, function or Script. What did i do wrong ?

    • @fahdmirza
      @fahdmirza  2 місяці тому +1

      Please watch this video ua-cam.com/video/p7hjO2ZrfRU/v-deo.html

  • @cybenia
    @cybenia Місяць тому

    What your GPU and what your device | laptop and PC

    • @fahdmirza
      @fahdmirza  Місяць тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

    • @bussinessopportunities1379
      @bussinessopportunities1379 Місяць тому

      ​@@fahdmirza you are annoying with your replies

  • @СергейКухаренко-я8й
    @СергейКухаренко-я8й 3 місяці тому

    Hello. My interface launches successfully, but in Windows PowerShell, the program stops with the error:
    File "C:\python\lib\site-packages\insightface\model_zoo
    etinaface.py", line 211, in detect
    im_ratio = float(img.shape[0]) / img.shape[1]
    AttributeError: 'NoneType' object has no attribute 'shape'
    and no result is returned. Help me please

    • @indeedDE01
      @indeedDE01 3 місяці тому

      I would assume it's due to the program not being able to read frames from your webcam/ capture device since "img" is a NoneType.

    • @fahdmirza
      @fahdmirza  2 місяці тому +1

      Please see if you find solution to your error in this video:
      🔥Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @AP-gc5ss
    @AP-gc5ss 3 місяці тому +2

    AttributeError: 'NoneType' object has no attribute 'shape'

    • @erd6mtopcu.
      @erd6mtopcu. 3 місяці тому

      I'm getting the same error too

    • @fahdmirza
      @fahdmirza  2 місяці тому +1

      Please see if you find solution to your error in this video:
      🔥Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

    • @AP-gc5ss
      @AP-gc5ss 2 місяці тому

      @@fahdmirza ok now it shows another mistake, when i try to run Live cam it give another error: "CUDA driver version is insufficient for CUDA runtime version", does it work with AMD graphic card?

  • @mutawakilluawudu6074
    @mutawakilluawudu6074 2 місяці тому

    I use a MacBook Pro 2021 M1 chip model .. will it work ? And how ?

    • @fahdmirza
      @fahdmirza  2 місяці тому

      Hi, plz see this video for further info and any troubleshooting tips : ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=-zong7Sa__Zbs0Fj

  • @ReynBighooves
    @ReynBighooves 3 місяці тому +1

    I have an Error!
    PS D:\Neiro\Deep-Live-Cam-main\Deep-Live-Cam> python run.py --execution-provider openvino
    Traceback (most recent call last):
    File "D:\Neiro\Deep-Live-Cam-main\Deep-Live-Cam
    un.py", line 3, in
    from modules import core
    File "D:\Neiro\Deep-Live-Cam-main\Deep-Live-Cam\modules\core.py", line 14, in
    import torch
    File "C:\Users\ReynBighooves\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\__init__.py", line 148, in
    raise err
    OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\ReynBighooves\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.

    • @fahdmirza
      @fahdmirza  3 місяці тому

      you need to install all pre-requisites

    • @efijh390rjdceoidjcnioer
      @efijh390rjdceoidjcnioer 3 місяці тому +1

      your python version has to be 3.10. i had 3.12 installed and was getting the same error until i downgraded.

    • @MichalSada
      @MichalSada 2 місяці тому

      @@fahdmirza allright, buw how? I just download and install python 3.10 and i have this bug too, thx

  • @FastUpdates
    @FastUpdates 2 місяці тому

    Indian voice = tutorial will definitely work

    • @fahdmirza
      @fahdmirza  2 місяці тому

      Thanks for visit, but ethnicity has nothing to do with these things.

    • @FastUpdates
      @FastUpdates 2 місяці тому

      @@fahdmirza take the compliment poop skin

  • @DM-mq9xt
    @DM-mq9xt 3 місяці тому

    it doesnt work for me, the output is just a copy of the targer video/ picture unchanged

    • @fahdmirza
      @fahdmirza  3 місяці тому

      I would suggest, cleanup everything and start from scratch and make sure to have a good GPU

  • @LeoAganaJr
    @LeoAganaJr 2 місяці тому

    do you have tutorials on how to run it in OBS live?

    • @fahdmirza
      @fahdmirza  2 місяці тому

      it will be same steps

    • @Hotich.1996
      @Hotich.1996 2 місяці тому

      @@fahdmirza how it will be same steps could you explain ?

  • @bilalgul3546
    @bilalgul3546 Місяць тому

    while installing the requirements several libraries give errors as the versions specified in the requirements.txt file are no longer available from pip

  • @kintekunte-f2j
    @kintekunte-f2j Місяць тому

    the hugging face website link doesnt work anymore how can i still download this?

    • @fahdmirza
      @fahdmirza  Місяць тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @FunTeeV
    @FunTeeV 2 місяці тому

    What are the systems requirement ?

  • @dedincide1626
    @dedincide1626 3 місяці тому +1

    any ideas how to make live output shown in discord as a webcam ?

    • @fahdmirza
      @fahdmirza  3 місяці тому

      I think that would require writing a wrapper on top of it.

    • @karugokrg833
      @karugokrg833 2 місяці тому

      How​@@fahdmirza

  • @papermajo7337
    @papermajo7337 3 місяці тому +1

    Does it work without GPU? How so? Is it limiting the quality of the video or just taking longer? IMO an option to choose either would be nice :).
    Very cool project, keep up the good work!

  • @jaxronn
    @jaxronn 3 місяці тому +1

    this is the new error i am having
    Traceback (most recent call last):
    File "C:\Users\chris\Deep-Live-Cam
    un.py", line 3, in
    from modules import core
    File "C:\Users\chris\Deep-Live-Cam\modules\core.py", line 20, in
    import modules.ui as ui
    File "C:\Users\chris\Deep-Live-Cam\modules\ui.py", line 10, in
    from modules.face_analyser import get_one_face
    File "C:\Users\chris\Deep-Live-Cam\modules\face_analyser.py", line 2, in
    import insightface
    ModuleNotFoundError: No module named 'insightface'

    • @fahdmirza
      @fahdmirza  3 місяці тому

      Please install all the pre-requisites.

    • @jaxronn
      @jaxronn 3 місяці тому

      @@fahdmirza i have installed all?

    • @DJxD
      @DJxD 3 місяці тому

      @@jaxronn you didnt run the requirement command through a powershell cd to the directory of the Deeplivecam.
      As you can read for yourself, there is no module named insightface which is installed while installing prerequisites..

  • @ElonMusk-w5v
    @ElonMusk-w5v 3 місяці тому

    Traceback (most recent call last):
    File "C:\Windows\system32\Deep-Live-Cam
    un.py", line 3, in
    from modules import core
    File "C:\Windows\system32\Deep-Live-Cam\modules\core.py", line 14, in
    import torch
    File "C:\Python310\lib\site-packages\torch\__init__.py", line 148, in
    raise err
    OSError: [WinError 126] The specified module could not be found. Error loading "C:\Python310\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.
    HELP ME PLS!!

    • @fahdmirza
      @fahdmirza  3 місяці тому

      I would suggest, cleanup and then start from scratch and follow the steps I shared. Thanks.

    • @MichalSada
      @MichalSada 2 місяці тому

      @@fahdmirza I did it and its still the same problem, so, whats up? I have all versions same like you...

  • @SamuelSeibide
    @SamuelSeibide 2 місяці тому

    When installing the pip install requirement.txt. After all the downloads. I get an error message. Failed a build face insights

    • @fahdmirza
      @fahdmirza  Місяць тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @StevJava
    @StevJava 3 місяці тому

    After I cloned git deep live on my local system i cant find any Folder in C:\Users\angel\Deep-Live-Cam\ \Deep-Live-Cam\ doesnt exist
    Edit: I found it in the Sytem 32 Folder. Can i move it somewhere els because it wont allow me to save the link there because its the system 32 folder or would that break it?

    • @fahdmirza
      @fahdmirza  3 місяці тому

      No, and you would need admin rights on your system

  • @pudge839
    @pudge839 3 місяці тому

    [end of output]
    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for insightface
    Failed to build insightface
    ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (insightface)
    now this problen

    • @fahdmirza
      @fahdmirza  3 місяці тому

      You are missing some pre-requisites it seems.

    • @pudge839
      @pudge839 3 місяці тому

      @@fahdmirza what does it meen? and what should i do?

    • @usdoa9513
      @usdoa9513 3 місяці тому +2

      In visual studio, you choose to modify, Select: Workloads → Desktop development with C++

    • @usdoa9513
      @usdoa9513 3 місяці тому +1

      It is best to run as an administrator when using pip install -r requirements.txt.

    • @DadOfTurds
      @DadOfTurds 3 місяці тому

      @@usdoa9513 That got me past that! Thanks!~

  • @igwearinze5184
    @igwearinze5184 2 місяці тому +1

    Can this work on a nvidia gtx1650 4 gigabyte ram?

  • @IvanIvan-z6g
    @IvanIvan-z6g 3 місяці тому

    When ll be test on 4090? U have freezing with enbled face enhancer on 4090 or not?I m looking for solution with face enhancer

    • @fahdmirza
      @fahdmirza  3 місяці тому

      No you need larger VRAM GPU

    • @IvanIvan-z6g
      @IvanIvan-z6g 3 місяці тому

      @@fahdmirza Can u show?How larger?I want to optimize GFPGAN

    • @IvanIvan-z6g
      @IvanIvan-z6g 3 місяці тому

      @@fahdmirza You dont have freezing with 4090?When you enable face enhancer?

    • @IvanIvan-z6g
      @IvanIvan-z6g 3 місяці тому

      @@fahdmirza I have 4070 ti super

  • @johnfernandez5468
    @johnfernandez5468 Місяць тому

    Please sir it says run.py: error: argument --execution-provider: invalid choice: 'cuda' (choose from 'azure', 'cpu')
    How can i solve this

    • @johnfernandez5468
      @johnfernandez5468 Місяць тому

      😮 please what should be done

    • @johnfernandez5468
      @johnfernandez5468 Місяць тому

      Please sir say something

    • @fahdmirza
      @fahdmirza  Місяць тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @FortniteGPC
    @FortniteGPC 2 місяці тому

    hello friend, i am only getting the option to execute with azure and cpu, not cuda. do you know a fix to get cuda to work? i have it installed.

    • @johnfernandez5468
      @johnfernandez5468 Місяць тому

      I have the same problem
      run.py: error: argument --execution-provider: invalid choice: 'cuda' (choose from 'azure', 'cpu')
      And it did run when I choose azure but it was fainty

    • @fahdmirza
      @fahdmirza  Місяць тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

  • @jaxronn
    @jaxronn 3 місяці тому

    i’m having the issue where torch isn’t being found but i look earlier in the code and see when i install requirements.txt it ignores torch and onnruntime?

    • @fahdmirza
      @fahdmirza  3 місяці тому

      Install it manually with pip

    • @jaxronn
      @jaxronn 3 місяці тому

      @@fahdmirza install what manually torch?

    • @fahdmirza
      @fahdmirza  3 місяці тому +1

      yes with pip install torch

  • @Thepoetoffailure
    @Thepoetoffailure 3 місяці тому

    note: This error originates from a subprocess, and is likely not a problem with pip.
    error: subprocess-exited-with-error
    × pip subprocess to install backend dependencies did not run successfully.
    │ exit code: 2
    ╰─> See above for output.
    note: This error originates from a subprocess, and is likely not a problem with pip
    i got this erore help me please

    • @fahdmirza
      @fahdmirza  3 місяці тому

      This is not the main error, you need to install the packages which it is complaining about above this error.

  • @PerezLiliana-d5q
    @PerezLiliana-d5q 3 місяці тому

    I'm having a long line of error while trying to install
    Pip install -r requirements
    The rest was smooth, but i don't know why I'm having the error.
    Please I need your assistance

    • @fahdmirza
      @fahdmirza  3 місяці тому

      whats the error

    • @PerezLiliana-d5q
      @PerezLiliana-d5q 3 місяці тому +1

      @@fahdmirza whenever I run
      "Pip install -r requirements"
      I get a long error page.
      I don't know if there's a means to send you the picture

  • @shibafinsoup
    @shibafinsoup 3 місяці тому

    this might sound a bit odd, but do you know of any specific reason why i don't have the NSFW toggle?

    • @fahdmirza
      @fahdmirza  3 місяці тому

      thats weird, as it should be there. May be they are updating the interface or something as its quite actively evolving project. Or may be try refreshing your browser. Sometime , a local browser policy also disables radio buttons

  • @der_admiral
    @der_admiral 3 місяці тому

    So this only works if you have an Nvida card? Cuda does not run without an Nvidia GPU.

    • @DaniLaVani
      @DaniLaVani 3 місяці тому

      Well anyways if you're planning for using this program seriously then you should consider having a good hardware so having an Nvidia GPU is pretty much a prerequisite for this.

    • @fahdmirza
      @fahdmirza  2 місяці тому

      agreed

  • @AlidunkwuJanuarius
    @AlidunkwuJanuarius 2 місяці тому

    I cant find the link to the command like you said

  • @wch47
    @wch47 2 місяці тому

    Im stuck when install requirement text, failed in insight face, any solutions for this problem please?

    • @fahdmirza
      @fahdmirza  2 місяці тому

      Please see if you find solution to your error in this video:
      Common Errors Fixed in Live Web Cam - ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=pT0tvTd_BQAUJuTv

    • @wch47
      @wch47 Місяць тому

      @@fahdmirza i have tried it again, and it keep facing the same problems, when in installing requirement.txt, always said failed in build wheel for insightface, try to looking in internet and youtube for the solutions and try but didnt works also

    • @wch47
      @wch47 Місяць тому

      Finally i can pass the requirements.txt, found the solutions in youtube, using anaconda prompt, but now im stuck in : "cuda driver version is insufficient for cuda runtime version" Problems
      Is it because previously i cannot run nvidia-smi? Because when i try that nvida-smi cmd, it said nvidia -smi is not recognized as an internal or external command operable program or batch file

    • @wch47
      @wch47 Місяць тому

      Finally it works, but without cuda, so i used cpu , but my laptop seems unqualified for this one, if im using gpu, will it works faster and better than using cpu?
      For video when im using cpu, it execute well, but for live it so lagging 😅

    • @OlamideSalako-u5d
      @OlamideSalako-u5d 14 днів тому

      @@wch47please I’m stuck here too which anaconda promt ? Can you share me the video ??

  • @ItsCaptainModz
    @ItsCaptainModz 3 місяці тому

    Can you stream on Twitch and have this in live?

    • @fahdmirza
      @fahdmirza  3 місяці тому

      Yes should be fine.

    • @larryaj2237
      @larryaj2237 29 днів тому

      @@fahdmirza can it be connected to whatsapp call?

  • @TheSaibot95
    @TheSaibot95 2 місяці тому +1

    Hi
    Is it possible to route the live view to for example Teams?
    I really want to show this as an awareness for my company in a video conference :)
    Thank you very much, great work!

    • @tailwindcraftmanship
      @tailwindcraftmanship Місяць тому

      I think it's possible for live. I have used it in teams even for attending instead of my friend 😂

  • @edgarp.l3929
    @edgarp.l3929 2 місяці тому

    Can someone help me? I managed to install it but when I put it live the camera doesn't open, there's a gray screen in the preview tab and the Powershell prompt says it's an error in the CPU, when I open it directly on the CPU It works very slow, like 2 fps, and it heats up the PC a lot. It should work better on my card, how do I make it work?

    • @fahdmirza
      @fahdmirza  2 місяці тому

      Please watch this video ua-cam.com/video/p7hjO2ZrfRU/v-deo.html

  • @paulettewatkins3320
    @paulettewatkins3320 2 місяці тому

    How do I start up the code again after turning on my system, My PC went off and I will like to restart the cam code since I already completed the installation and activation. can someone put me through on what to do?

    • @fahdmirza
      @fahdmirza  2 місяці тому

      Hi, plz see this video for further info and any troubleshooting tips : ua-cam.com/video/p7hjO2ZrfRU/v-deo.htmlsi=-zong7Sa__Zbs0Fj

  • @muhammaddaffamarsal8827
    @muhammaddaffamarsal8827 3 місяці тому

    how do you keep the face quality ? i tried mine even thought the selected face is on high resolution, it show low resolution on the output

    • @fahdmirza
      @fahdmirza  3 місяці тому

      GPU VRAM is the key

  • @AliyuAkeemAdebukola
    @AliyuAkeemAdebukola 12 днів тому

    Please can i get the Deepfake MacBook tutorial video. Do it work on macbook?

    • @AliyuAkeemAdebukola
      @AliyuAkeemAdebukola 12 днів тому

      Sorry I am confused, am I going to download git and the other things from chrome or I will just install it directly on Powershell after I install the choco. Thank you

    • @AliyuAkeemAdebukola
      @AliyuAkeemAdebukola 12 днів тому

      I'm using Windows tho

  • @sandeeps8306
    @sandeeps8306 3 місяці тому

    the process completes but the face gets only a black object!? how to solve it sir?

    • @fahdmirza
      @fahdmirza  3 місяці тому

      I answered this in another comment, plz check, thanks

  • @JosephJohn-qx8gu
    @JosephJohn-qx8gu 3 місяці тому

    Can this work on Gtx 1050 4gb dedicated laptop?

    • @fahdmirza
      @fahdmirza  3 місяці тому +1

      you can try, it might be very slow though

  • @DantePeter
    @DantePeter 2 місяці тому

    Please can I use python 3.12 instead of 3.10?

    • @fahdmirza
      @fahdmirza  2 місяці тому

      Please see this video for troubleshooting deep live cam ua-cam.com/video/p7hjO2ZrfRU/v-deo.html

  • @OlamideSalako-u5d
    @OlamideSalako-u5d 9 днів тому

    How do I increase the fps ??

  • @张苏-w3p
    @张苏-w3p 3 місяці тому

    I‘m in China, and the SSL error is displayed in operation. Is it a network problem? Need a VPN?

  • @blackgaminghiro
    @blackgaminghiro 3 місяці тому

    ERROR: Failed building wheel for insightface any help?

    • @ElishaBradley
      @ElishaBradley 3 місяці тому +1

      yes i had the same issue you need to make sure visual studio is installed correctly, make sure torch py is installed, id ask chat gpt to help you paste the errror messages from powershell into chat gpt

    • @fahdmirza
      @fahdmirza  3 місяці тому

      cheers

  • @GTA5gamer
    @GTA5gamer 3 місяці тому +1

    So is it possible to do this without doing a video?

    • @fahdmirza
      @fahdmirza  3 місяці тому

      yes should be good