Install Deep Live Cam Locally for Realtime Face Swap

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • This video shows how to locally install Deep Live Cam on Windows and change the face in any video or in live webcam with single image for free.
    🔥 Buy Me a Coffee to support the channel: ko-fi.com/fahd...
    🔥 Get 50% Discount on any A6000 or A5000 GPU rental, use following link and coupon:
    bit.ly/fahd-mirza
    Coupon code: FahdMirza
    ▶ Become a Patron 🔥 - / fahdmirza
    #deeplivecam #faceswap
    PLEASE FOLLOW ME:
    ▶ LinkedIn: / fahdmirza
    ▶ RUclips: / @fahdmirza
    ▶ Blog: www.fahdmirza.com
    RELATED VIDEOS:
    ▶ Code www.fahdmirza....
    ▶ Resource github.com/hac...
    All rights reserved © 2021 Fahd Mirza

Комментарии • 369

  • @fahdmirza
    @fahdmirza  Месяц назад +2

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

    • @DantePeter
      @DantePeter 11 дней назад

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

  • @user-gz5cd5iq8n
    @user-gz5cd5iq8n Месяц назад +4

    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

    • @nyycolli
      @nyycolli Месяц назад

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

    • @fahdmirza
      @fahdmirza  Месяц назад +1

      make sure its running on GPU.

    • @Onlyletters1104
      @Onlyletters1104 28 дней назад +3

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

    • @VortexFlickens
      @VortexFlickens 27 дней назад

      @@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  26 дней назад

      @@VortexFlickens Make sure its running on GPU.

  • @Massoqueti2
    @Massoqueti2 22 дня назад +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  15 дней назад

      Please see if you find solution to your error in this video:
      🔥Common Errors Fixed in Live Web Cam - ruclips.net/video/p7hjO2ZrfRU/видео.htmlsi=pT0tvTd_BQAUJuTv

  • @muammer276
    @muammer276 Месяц назад +10

    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  Месяц назад +1

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

    • @joshkidik8111
      @joshkidik8111 Месяц назад +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 Месяц назад +5

      same error

    • @kidinacage
      @kidinacage 29 дней назад

      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.

    • @zuczz
      @zuczz 29 дней назад

      @@kidinacagewhat do you mean by this?

  • @anonymous_0417
    @anonymous_0417 24 дня назад +3

    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 16 дней назад +1

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

    • @fahdmirza
      @fahdmirza  15 дней назад

      Please see if you find solution to your error in this video:
      🔥Common Errors Fixed in Live Web Cam - ruclips.net/video/p7hjO2ZrfRU/видео.htmlsi=pT0tvTd_BQAUJuTv

    • @kindnesssamuel1958
      @kindnesssamuel1958 День назад

      What do mean by "DL" ​@@nokoneffets405

  • @TheSaibot95
    @TheSaibot95 5 дней назад

    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!

  • @kidinacage
    @kidinacage 29 дней назад +3

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

    • @daddysamy
      @daddysamy 29 дней назад

      Same for me :(

    • @daddysamy
      @daddysamy 29 дней назад

      Same for me

    • @fahdmirza
      @fahdmirza  29 дней назад

      yeah you would need more VRAM

    • @IvanIvan-z6g
      @IvanIvan-z6g 27 дней назад

      @@fahdmirza what u mean VRAM?

    • @Youbutnotyou-tube
      @Youbutnotyou-tube 26 дней назад

      you need to install some cuda stuff for windows

  • @AlidunkwuJanuarius
    @AlidunkwuJanuarius 4 дня назад

    I cant find the link to the command like you said

  • @TomiTom1234
    @TomiTom1234 Месяц назад +1

    Thank you! You won a new sub

    • @fahdmirza
      @fahdmirza  Месяц назад +2

      Awesome, thank you!

  • @zljin7074
    @zljin7074 29 дней назад +1

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

    • @fahdmirza
      @fahdmirza  29 дней назад

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

    • @KuK.I
      @KuK.I 23 дня назад

      i think it is 640 x 640

  • @papermajo7337
    @papermajo7337 23 дня назад

    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!

  • @indeedDE01
    @indeedDE01 24 дня назад

    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  15 дней назад

      nvidia-smi is fine.

  • @ReynBighooves
    @ReynBighooves Месяц назад +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  Месяц назад

      you need to install all pre-requisites

    • @PyromaniacalChicken
      @PyromaniacalChicken 28 дней назад +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 14 дней назад

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

  • @GTA6Game2025
    @GTA6Game2025 15 дней назад +2

    error in
    'Frame processor face_enhancer not found'

    • @fahdmirza
      @fahdmirza  15 дней назад

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

    • @boenternefario901
      @boenternefario901 10 дней назад +1

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

  • @Kevinsmithns
    @Kevinsmithns Месяц назад +1

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

    • @fahdmirza
      @fahdmirza  Месяц назад

      Not at the moment.

    • @aaronjaggars
      @aaronjaggars 28 дней назад

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

  • @GTA5gamer
    @GTA5gamer Месяц назад +1

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

  • @FunTeeV
    @FunTeeV 6 дней назад

    What are the systems requirement ?

  • @SimonDan506
    @SimonDan506 28 дней назад

    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  28 дней назад

      yes its version sensitive

  • @Hotich.1996
    @Hotich.1996 4 дня назад

    how could i stream it in obs stream ?

  • @DarkEby
    @DarkEby 5 дней назад

    please can you make a video on how to install the prerequisites

  • @frogball5819
    @frogball5819 29 дней назад +1

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

    • @fahdmirza
      @fahdmirza  29 дней назад

      You are not properly installing pre-reqs

    • @PyromaniacalChicken
      @PyromaniacalChicken 28 дней назад +2

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

  • @AInfectados
    @AInfectados Месяц назад

    Do you think there will be possible in the future to do a full face replacing, including hair?

  • @MrCalmwaters112
    @MrCalmwaters112 Месяц назад

    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  Месяц назад

      Do you get any errors?

    • @MrCalmwaters112
      @MrCalmwaters112 Месяц назад

      @@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

  • @ItsCaptainModz
    @ItsCaptainModz Месяц назад

    Can you stream on Twitch and have this in live?

  • @Spiritualquantic
    @Spiritualquantic 11 дней назад

    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  7 дней назад

      Hi, plz see this video for further info and any troubleshooting tips : ruclips.net/video/p7hjO2ZrfRU/видео.htmlsi=-zong7Sa__Zbs0Fj

  • @Yoshi__Online
    @Yoshi__Online Месяц назад

    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  Месяц назад

      may be disable the other card

  • @ImSnazyyyy
    @ImSnazyyyy 27 дней назад +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 26 дней назад +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

    • @LukaRaphael
      @LukaRaphael 25 дней назад

      i have the same "insightface" issue

    • @alexfujimori5058
      @alexfujimori5058 25 дней назад

      I have the same problem

    • @rouane20
      @rouane20 23 дня назад

      Same

    • @vaporchickenwave6980
      @vaporchickenwave6980 23 дня назад

      same problem

  • @muhammaddaffamarsal8827
    @muhammaddaffamarsal8827 Месяц назад

    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

  • @AP-gc5ss
    @AP-gc5ss 23 дня назад +2

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

    • @erd6mtopcu.
      @erd6mtopcu. 16 дней назад

      I'm getting the same error too

    • @fahdmirza
      @fahdmirza  15 дней назад +1

      Please see if you find solution to your error in this video:
      🔥Common Errors Fixed in Live Web Cam - ruclips.net/video/p7hjO2ZrfRU/видео.htmlsi=pT0tvTd_BQAUJuTv

    • @AP-gc5ss
      @AP-gc5ss 12 дней назад

      @@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?

  • @vladisan1
    @vladisan1 18 дней назад

    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  15 дней назад

      Please see if you find solution to your error in this video:
      🔥Common Errors Fixed in Live Web Cam - ruclips.net/video/p7hjO2ZrfRU/видео.htmlsi=pT0tvTd_BQAUJuTv

  • @zuczz
    @zuczz 29 дней назад

    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  29 дней назад

      Install it manually with pip

    • @zuczz
      @zuczz 29 дней назад

      @@fahdmirza install what manually torch?

    • @fahdmirza
      @fahdmirza  29 дней назад +1

      yes with pip install torch

  • @thays182
    @thays182 Месяц назад

    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  Месяц назад

      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.

  • @radeon9855
    @radeon9855 Месяц назад +3

    why is a black square drawn instead of replacing the face

    • @fahdmirza
      @fahdmirza  Месяц назад +1

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

    • @papermajo7337
      @papermajo7337 23 дня назад

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

  • @kreigzen9585
    @kreigzen9585 Месяц назад

    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  Месяц назад

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

  • @shibafinsoup
    @shibafinsoup 28 дней назад

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

    • @fahdmirza
      @fahdmirza  28 дней назад

      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

  • @thecross1570
    @thecross1570 14 дней назад

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

    • @fahdmirza
      @fahdmirza  13 дней назад +1

      Please watch this video ruclips.net/video/p7hjO2ZrfRU/видео.html

  • @futezera1
    @futezera1 25 дней назад

    Friend, I'm afraid to install this program on my main computer, do you know if it's virus-free? thanks for the tutorial

    • @hutpfff1366
      @hutpfff1366 24 дня назад

      use sandbox

    • @fahdmirza
      @fahdmirza  15 дней назад

      Please see if you find solution to your error in this video:
      🔥Common Errors Fixed in Live Web Cam - ruclips.net/video/p7hjO2ZrfRU/видео.htmlsi=pT0tvTd_BQAUJuTv

  • @cosmicdust632
    @cosmicdust632 16 дней назад

    Is there anyway to improve the lip movements? Thanks!

  • @dedincide1626
    @dedincide1626 Месяц назад +1

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

    • @fahdmirza
      @fahdmirza  Месяц назад

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

    • @karugokrg833
      @karugokrg833 6 дней назад

      How​@@fahdmirza

  • @der_admiral
    @der_admiral 24 дня назад

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

    • @DaniLaVani
      @DaniLaVani 15 дней назад

      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  15 дней назад

      agreed

  • @Kirmm
    @Kirmm Месяц назад

    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'

  • @giusparsifal
    @giusparsifal Месяц назад

    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  Месяц назад +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 Месяц назад

      @@fahdmirza I have it

    • @boenternefario901
      @boenternefario901 10 дней назад

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

  • @paulettewatkins3320
    @paulettewatkins3320 7 дней назад

    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  7 дней назад

      Hi, plz see this video for further info and any troubleshooting tips : ruclips.net/video/p7hjO2ZrfRU/видео.htmlsi=-zong7Sa__Zbs0Fj

  • @sandeeps8306
    @sandeeps8306 Месяц назад

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

    • @fahdmirza
      @fahdmirza  Месяц назад

      I answered this in another comment, plz check, thanks

  • @DM-mq9xt
    @DM-mq9xt 29 дней назад

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

    • @fahdmirza
      @fahdmirza  29 дней назад

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

  • @user-qm3ix6vs1s
    @user-qm3ix6vs1s 24 дня назад

    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 24 дня назад

      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  15 дней назад +1

      Please see if you find solution to your error in this video:
      🔥Common Errors Fixed in Live Web Cam - ruclips.net/video/p7hjO2ZrfRU/видео.htmlsi=pT0tvTd_BQAUJuTv

  • @edgarp.l3929
    @edgarp.l3929 13 дней назад

    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  13 дней назад

      Please watch this video ruclips.net/video/p7hjO2ZrfRU/видео.html

  • @AhmadAli-xv4vd
    @AhmadAli-xv4vd Месяц назад +1

    Any chance for portable installation ?

    • @fahdmirza
      @fahdmirza  Месяц назад

      Would you please elaborate what you mean?

    • @AInfectados
      @AInfectados Месяц назад

      @@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.

  • @Freak80MC
    @Freak80MC 29 дней назад

    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.

  • @HoharDehar
    @HoharDehar 16 дней назад

    anyone know how much HD space is needed to install those?

    • @fahdmirza
      @fahdmirza  16 дней назад

      Its pretty light weight. I will check the space on my system and let you know, thanks

    • @HoharDehar
      @HoharDehar 15 дней назад

      @@fahdmirza thank you

  • @张苏-w3p
    @张苏-w3p Месяц назад

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

  • @lucyhamah
    @lucyhamah 28 дней назад

    Please help ,i did everything to the very last end and when i run python run.py --execution-provider cuda , then i get this error .
    Traceback (most recent call last):
    File "run.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 10, in
    from modules.face_analyser import get_one_face
    File "C:\Windows\system32\Deep-Live-Cam\modules\face_analyser.py", line 5, in
    from modules.typing import Frame
    File "C:\Windows\system32\Deep-Live-Cam\modules\typing.py", line 7, in
    Frame = numpy.ndarray[Any, Any]
    TypeError: Type subscription requires python >= 3.9

    • @fahdmirza
      @fahdmirza  28 дней назад

      which python version are you using?

  • @user-et6hh4si7s
    @user-et6hh4si7s Месяц назад

    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
    I'm using an nvidia pc

    • @fahdmirza
      @fahdmirza  Месяц назад

      whats the error

    • @blackgaminghiro
      @blackgaminghiro 29 дней назад +1

      @@fahdmirza 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)

  • @mutawakilluawudu6074
    @mutawakilluawudu6074 7 дней назад

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

    • @fahdmirza
      @fahdmirza  7 дней назад

      Hi, plz see this video for further info and any troubleshooting tips : ruclips.net/video/p7hjO2ZrfRU/видео.htmlsi=-zong7Sa__Zbs0Fj

  • @zuczz
    @zuczz 28 дней назад +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  28 дней назад

      Please install all the pre-requisites.

    • @zuczz
      @zuczz 27 дней назад

      @@fahdmirza i have installed all?

    • @DJxD
      @DJxD 26 дней назад

      @@zuczz 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..

  • @Ganeshkumar-ch1kg
    @Ganeshkumar-ch1kg 29 дней назад

    Whats the gpu requirement. What gpu r u using?

    • @fahdmirza
      @fahdmirza  29 дней назад

      NVIDIA RTX A6000 , but any GPU around or above 24GB VRAM should be good. Ideally I would recommend 48GB VRAM.

  • @giuseppedaizzole7025
    @giuseppedaizzole7025 Месяц назад

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

    • @fahdmirza
      @fahdmirza  Месяц назад

      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.

  • @phynchon
    @phynchon 21 день назад

    everything installed, but impossible to launch Deep-Live-Cam (base) PS C:\users\user> cd Deep-Live-Cam (base) PS C:\users\user\Deep-Live-Cam> python run.py Traceback (most recent call last): File "C:\users\user\Deep-Live-Cam
    un.py", line 3, in from modules import core File "C:\users\user\Deep-Live -Cam\modules\core.py", line 14, in import torch File "C:\Users\User\anaconda3\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\User\anaconda3\Lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.

    • @fahdmirza
      @fahdmirza  15 дней назад

      Please see if you find solution to your error in this video:
      🔥Common Errors Fixed in Live Web Cam - ruclips.net/video/p7hjO2ZrfRU/видео.htmlsi=pT0tvTd_BQAUJuTv

  • @StevJava
    @StevJava 28 дней назад

    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  27 дней назад

      No, and you would need admin rights on your system

  • @Ankit-pn4rd
    @Ankit-pn4rd 27 дней назад

    i don't have envidia GPU I'm running it from my processor and it just shows black square on face, i tired face swapping on premade video but it doesn't show any video when i go to select it

    • @fahdmirza
      @fahdmirza  27 дней назад

      Please use a clear photo for source

    • @DaniLaVani
      @DaniLaVani 15 дней назад

      You should consider upgrading

  • @Thepoetoffailure
    @Thepoetoffailure 29 дней назад

    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  28 дней назад

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

  • @NayyarAbbas-sh1vw
    @NayyarAbbas-sh1vw 27 дней назад

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

  • @LuanLopes-q3y
    @LuanLopes-q3y Месяц назад

    error: subprocess-exited-with-error
    × Building wheel for insightface (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> [215 lines of output]
    ERROR: Failed building wheel for insightface
    Failed to build insightface
    ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (insightface)
    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for insightface
    got these, what should i do?

    • @fahdmirza
      @fahdmirza  Месяц назад

      you need to install all pre-reqs

  • @FastFireFast
    @FastFireFast 15 дней назад

    The live button only shows me a green square, I don't know how to make the live web cam work. Can someone help me? Thanks!

    • @fahdmirza
      @fahdmirza  15 дней назад

      and does reloading the browser fix it?

    • @FastFireFast
      @FastFireFast 15 дней назад

      ​@@fahdmirza Closing and reopening doesn't fix it, it's like opening the preview. I don't know if it has to do with any specific dependency right here

    • @FastFireFast
      @FastFireFast 14 дней назад

      @@fahdmirza I use iriun webcam, I don't know if it's because of that, before having the application turned on it shows me the message to open the application, when I open it the rectangle appears completely green

  • @ElonMusk-w5v
    @ElonMusk-w5v 27 дней назад

    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  27 дней назад

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

    • @MichalSada
      @MichalSada 14 дней назад

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

  • @alexgray3720
    @alexgray3720 25 дней назад

    for some weird reason I get a black face no matter what type of picture I use, why is that?

    • @fahdmirza
      @fahdmirza  15 дней назад

      Please see if you find solution to your error in this video:
      🔥Common Errors Fixed in Live Web Cam - ruclips.net/video/p7hjO2ZrfRU/видео.htmlsi=pT0tvTd_BQAUJuTv

  • @LeoAganaJr
    @LeoAganaJr 13 дней назад

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

    • @fahdmirza
      @fahdmirza  11 дней назад

      it will be same steps

    • @Hotich.1996
      @Hotich.1996 4 дня назад

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

  • @MegatAkif
    @MegatAkif Месяц назад

    does this work for mac os?

  • @LuanLopes-q3y
    @LuanLopes-q3y Месяц назад +2

    got these, what should i do?
    error: subprocess-exited-with-error
    × Building wheel for insightface (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> [215 lines of output]
    ERROR: Failed building wheel for insightface
    Failed to build insightface
    ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (insightface)
    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for insightface

    • @fahdmirza
      @fahdmirza  Месяц назад

      You need to install all pre-requisites with proper versions as I did

  • @uwuigbeabdullahi7892
    @uwuigbeabdullahi7892 8 дней назад

    What computer configuration those this app work on

    • @fahdmirza
      @fahdmirza  7 дней назад

      Hi, plz see this video for further info and any troubleshooting tips : ruclips.net/video/p7hjO2ZrfRU/видео.htmlsi=-zong7Sa__Zbs0Fj

  • @IvanIvan-z6g
    @IvanIvan-z6g 28 дней назад

    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  28 дней назад

      No you need larger VRAM GPU

    • @IvanIvan-z6g
      @IvanIvan-z6g 27 дней назад

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

    • @IvanIvan-z6g
      @IvanIvan-z6g 27 дней назад

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

    • @IvanIvan-z6g
      @IvanIvan-z6g 27 дней назад

      @@fahdmirza I have 4070 ti super

  • @Yoshi__Online
    @Yoshi__Online 29 дней назад

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

    • @fahdmirza
      @fahdmirza  29 дней назад

      yep definitely need bigger GPU

  • @foxivus7123
    @foxivus7123 Месяц назад

    How do you get pip you forgot to say that in the video and I'm stuck on a step because I don't have it

    • @fahdmirza
      @fahdmirza  Месяц назад

      It mentions python as prerequisite and pip comes with it

    • @foxivus7123
      @foxivus7123 Месяц назад

      @@fahdmirza at 7:43 in the video when I run the command it gives me the error "'pip' is not recognized as the name of a cmdlet, function, script file, or operable program." I made sure I was in the correct directory before I ran the program as well. I'm not sure why it's saying it.

    • @storhovdingen
      @storhovdingen Месяц назад

      @@foxivus7123 create a new path for pip exe directory in enviroment variables

  • @mpinfocell
    @mpinfocell 21 день назад

    i have this error
    PS C:\Users\PC Gamer\Downloads\IACAM\Deep-Live-Cam> python run.py --execution-provider cuda
    Traceback (most recent call last):
    File "C:\Users\PC Gamer\Downloads\IACAM\Deep-Live-Cam
    un.py", line 3, in
    from modules import core
    File "C:\Users\PC Gamer\Downloads\IACAM\Deep-Live-Cam\modules\core.py", line 20, in
    import modules.ui as ui
    File "C:\Users\PC Gamer\Downloads\IACAM\Deep-Live-Cam\modules\ui.py", line 5, in
    import cv2
    ModuleNotFoundError: No module named 'cv2'

    • @mpinfocell
      @mpinfocell 20 дней назад

      i solved this error installing this codes.....
      \/
      pip install opencv-python
      pip install insightface
      but now, i have a new error.... " python run.py --execution-provider cuda
      Frame processor face_enhancer not found"

    • @fahdmirza
      @fahdmirza  15 дней назад

      Please see if you find solution to your error in this video:
      🔥Common Errors Fixed in Live Web Cam - ruclips.net/video/p7hjO2ZrfRU/видео.htmlsi=pT0tvTd_BQAUJuTv

  • @achraf80000
    @achraf80000 29 дней назад

    can you give us the requirements.txt manuallay so we can copy i get an error

    • @fahdmirza
      @fahdmirza  29 дней назад

      Already shared all the code and link is in video description.

  • @reex2275
    @reex2275 Месяц назад

    what to do if just a black square appears on your face?

    • @fahdmirza
      @fahdmirza  Месяц назад

      I already answered that in another comment, plz check.

  • @user-xd9xs7dg4g
    @user-xd9xs7dg4g 7 дней назад

    Can i use this on kali linux?

  • @Youaremysunshine112
    @Youaremysunshine112 Месяц назад

    bro ,please give me your : pip install list,how the hell you meet the requirements for jax and onnxtime ,it NEEDS numpy above 24.0 version

    • @BackTiVi
      @BackTiVi Месяц назад

      You can just create a virtual environment with python 3.10, and then there should be no dependency issue

    • @fahdmirza
      @fahdmirza  Месяц назад

      Agreed, and all the code is in link in video description

  • @meltemfx6652
    @meltemfx6652 12 дней назад

    Where is the command to run the chocolatey?

    • @fahdmirza
      @fahdmirza  11 дней назад

      Please see this video for troubleshooting deep live cam ruclips.net/video/p7hjO2ZrfRU/видео.html

  • @igwearinze5184
    @igwearinze5184 6 дней назад

    Can this work on a nvidia gtx1650 4 gigabyte ram?

  • @blackgaminghiro
    @blackgaminghiro 29 дней назад

    ERROR: Failed building wheel for insightface any help?

    • @ElishaBradley
      @ElishaBradley 29 дней назад +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  29 дней назад

      cheers

  • @DantePeter
    @DantePeter 11 дней назад

    Please can I use python 3.12 instead of 3.10?

    • @fahdmirza
      @fahdmirza  11 дней назад

      Please see this video for troubleshooting deep live cam ruclips.net/video/p7hjO2ZrfRU/видео.html

  • @imsahillk
    @imsahillk Месяц назад

    Is it available for MacBook?

  • @MamaMia84oo7
    @MamaMia84oo7 26 дней назад

    I have so many packages installed for Python and other shit that I have no space on C drive to install the dependencies so I just cancelled lol.

  • @fannyplays3330
    @fannyplays3330 Месяц назад

    idk why i got virus or what, pay pal account jus pop up in my browser

    • @fannyplays3330
      @fannyplays3330 Месяц назад +1

      its hacksider pay pal i think

    • @fahdmirza
      @fahdmirza  Месяц назад

      Thats strange, I never got that. Must be issue with your own system.

    • @fannyplays3330
      @fannyplays3330 Месяц назад

      @@fahdmirza I just open run-cuda.bat

  • @Dalbas1345
    @Dalbas1345 29 дней назад

    What gpu do you have?

  • @theodork808
    @theodork808 Месяц назад +6

    What could possibly go wrong 🤔😂

  • @hugos3947
    @hugos3947 29 дней назад

    How do I run this with a Jupyter/Vast AI GPU

  • @DRLZEca
    @DRLZEca Месяц назад

    Anyone know if this is hella demanding while streaming on OBS ? id imagine it is.. Still gotta try this tho

    • @fahdmirza
      @fahdmirza  Месяц назад

      Would you plz elaborate your question?

    • @DRLZEca
      @DRLZEca Месяц назад

      @@fahdmirza how demanding is this on your PC system ? I want to use this while streaming games. My PC lags when I do this with Nvidia broadcast green screen, I feel like it would be the same using this Deep Live software while playing games .

  • @achraf80000
    @achraf80000 29 дней назад

    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.
    i get this error, i dunno what to do

    • @fahdmirza
      @fahdmirza  29 дней назад

      I would suggest cleanup installation and start from scratch and follow the code which I shared. Link is in video description

  • @JosephJohn-qx8gu
    @JosephJohn-qx8gu 18 дней назад

    Can this work on Gtx 1050 4gb dedicated laptop?

    • @fahdmirza
      @fahdmirza  17 дней назад +1

      you can try, it might be very slow though

  • @opupilo708
    @opupilo708 Месяц назад

    wtf you just have an A10 ? it costs like a house here where i live.

    • @fahdmirza
      @fahdmirza  Месяц назад

      You don't have to buy it. You can always rent for fraction of cost if you are keen to run it.

  • @edgarp.l3929
    @edgarp.l3929 14 дней назад

    and how to uninstall everything later???

    • @fahdmirza
      @fahdmirza  14 дней назад +1

      just use choco uninstall

  • @TolgaOzisik
    @TolgaOzisik Месяц назад

    Why I am getting really bad results?

    • @fahdmirza
      @fahdmirza  Месяц назад

      may be its not running on your GPU

    • @TolgaOzisik
      @TolgaOzisik Месяц назад

      @@fahdmirza I had square problem with cpu, and solved it. Runs with twk xeons but slow. I think with gpu I had some errors version related. which are I guess tensorflow, torch etc. I will give it a try tomorrow for cuda power. Thank you video is very useful!

    • @fahdmirza
      @fahdmirza  Месяц назад +1

      @@TolgaOzisik Sure, let us know how you go. thanks

    • @user-kl7eq4zy4z
      @user-kl7eq4zy4z 21 день назад

      @@TolgaOzisik, how did it go?

    • @TolgaOzisik
      @TolgaOzisik 21 день назад

      @@user-kl7eq4zy4z thanks for asking I managed to run with cpu. I will try with cuda soon.

  • @elawaxd3980
    @elawaxd3980 27 дней назад

    I tried launching and this error pop up, I tried to install matplotlib but it couldn't uninstall the other version so I coulnd't upgrade it
    ModuleNotFoundError: No module named 'matplotlib.pyplot'

    • @fahdmirza
      @fahdmirza  27 дней назад

      plz share the commands you are using. I would suggest, cleanup and then start from scratch and follow the steps I shared. Thanks.

  • @balotellidonna1167
    @balotellidonna1167 Месяц назад

    how do i with local video instead of live camera

    • @fahdmirza
      @fahdmirza  Месяц назад

      Simply upload the video in target.

    • @ElishaBradley
      @ElishaBradley 29 дней назад

      so you need to make sure you select video instead of the default image when you are in the folder with the video your uploading to target. the choice is on the bottom right of the file window

  • @SYDintern
    @SYDintern 26 дней назад

    Can i run it on mac m2 ?

    • @fahdmirza
      @fahdmirza  26 дней назад

      I haven't tried but should be fine.

  • @Vogue69
    @Vogue69 Месяц назад

    why should I select NSFW? what does it do?

    • @fahdmirza
      @fahdmirza  Месяц назад

      Its for Not Safe For Work, please search the channel for more explanation.

    • @Vogue69
      @Vogue69 Месяц назад

      @@fahdmirza but it's just a face swap, what could there be nsfw?

  • @mikestaub
    @mikestaub Месяц назад

    please show how to hook it up to a livestream

    • @fahdmirza
      @fahdmirza  Месяц назад

      You just have to click on Live button there. Thanks.

  • @musastar10
    @musastar10 27 дней назад

    Cant find the face ? where is it

    • @flyhyland
      @flyhyland 27 дней назад +2

      On your head. 👍

    • @musastar10
      @musastar10 27 дней назад

      @@flyhyland hahaaha

    • @fahdmirza
      @fahdmirza  27 дней назад

      Lol, very witty. Make sure the photo is clear which you are using.