ComfyUI - Live Portrait New Feature [BlazeFace]

Поділитися
Вставка
  • Опубліковано 20 жов 2024
  • The Live Portrait process uses a driver video to animate a person in a still photo to precisely match the driver's head movement, facial expressions, emotions and even voice.
    If you have a low-performance computer, use MediaPipeCropper, and if you have a high-performance computer, use InsightFaceCropper for more accurate face detection.
    BlazeFace model is slower but, it's far better for smaller faces that MediaPipe and InsightFace !
    ***********************************
    Comfyui tutorial, Учебное пособие по Comfyui, Comfyui ट्यूटोरियल, Tutoriel Comfyui, Tutorial Comfyui, Comfyui 튜토리얼
    Comfyui stable diffusion, Install comfyui, comfyui video, controlnet comfyui, comfyui animateddiff, comfyui sdxl, comfyui upscale, comfyui video to video, comfyui manager, comfyui inpainting, comfyui ipadapter, comfyui faceswap
    ***********************************
    🤯 Get my FREE comfyui tutorials with workflows: openart.ai/wor...
    • CG TOP TIPS - AI MUSIC
    / @cgtoptips
    ------------------------------------
    🌍 SOCIAL
    / cgtoptips
    / cgtoptips
    📧 cg.top.tips@gmail.com
    ------------------------------------
    #ComfyUI
    #LivePortrait
    #BlazeFace

КОМЕНТАРІ • 19

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

    it would be helpful if you would show the end result at the BEGINNING of the video so we know a quick summary of what we're about to get into

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

      Thanks for the feedback. You make a great point. I'll keep this in mind for future tutorials

    • @rickykngo
      @rickykngo 16 днів тому

      That's right. I always look for the end result at the BEGINNING of the video to avoid unnecessary waste of time for wrong tutorial.

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

    Thanks so much for this! What the best way to set the frame load cap? If I set too low it doesn't use the full duration of the source video and if set too high I get an error. Right now I do the math manually but I wish there was a way too get the number of frames from the source video and feed that as the frame load cap but not sure how to do this.

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

    Hello and thanks, you don't need to conncet node with blazeface?

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

      You are right. Sorry, I forgot to connect it. BlazeFace is the best choice for face detection !

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

    sorry for off-topic - but you have disabled comments on photomaker - and I want to ask something to that - in that video you loaded photomaker plus and in that node there is no 'insightface input' . when I load it in my setup, there IS, and if leave unplugged, I get an error 'Error occurred when executing PhotoMakerEncodePlus: InsightFace is required for PhotoMaker V2' - so I connect the InsightFace loader and the problem was solved ... my question is - how did you do that, that you don't need the InsightFace?

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

    Thanks 🎉😊

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

    Hello, thank you for your work. How to save a finished material separately. When saving, two images are saved at once

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

      Delete "Image Concatenate Multi" node and connect "Get image size & count" node directly to "video combine" node

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

    excellent! how to modify this to image2video? can you replace the first node with image?

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

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

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

      @@CgTopTips The thing is that "Live Portrait process" that you have on your video is no longer up to date the creator himself wrote on github that something happened there. And those who updated Comfy will already have an error on this version

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

    你好,例子中生成后的视频手部的地方会发生闪烁或模糊,这个是在哪里控制?

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

    Hi! Awesome tutorial. But something is not working for me. I got this error from Reroute Primitive
    "Error occurred when executing ReroutePrimitive|pysssss:
    ReroutePrimitive.route() missing 1 required positional argument: 'value'
    File "/workspace/ComfyUI/execution.py", line 152, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
    File "/workspace/ComfyUI/execution.py", line 82, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
    File "/workspace/ComfyUI/execution.py", line 70, in map_node_over_list
    results.append(getattr(obj, func)())"

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

    Great 👍

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

    720P?

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

      I forgot to set the screen recorder setting on FHD :(

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

    Error occurred when executing DownloadAndLoadLivePortraitModels:
    Error while deserializing header: HeaderTooLarge
    File "D:\pinokio\api\comfyui.git\app\execution.py", line 152, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
    File "D:\pinokio\api\comfyui.git\app\execution.py", line 82, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
    File "D:\pinokio\api\comfyui.git\app\execution.py", line 75, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
    File "D:\pinokio\api\comfyui.git\app\custom_nodes\ComfyUI-LivePortraitKJ
    odes.py", line 151, in loadmodel
    comfy.utils.load_torch_file(feature_extractor_path)
    File "D:\pinokio\api\comfyui.git\app\comfy\utils.py", line 15, in load_torch_file
    sd = safetensors.torch.load_file(ckpt, device=device.type)
    File "D:\pinokio\api\comfyui.git\app\env\lib\site-packages\safetensors\torch.py", line 311, in load_file
    with safe_open(filename, framework="pt", device=device) as f:
    this error i am getting