How to use Face Analysis to improve your workflows

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024

ความคิดเห็น • 98

  • @goodie2shoes
    @goodie2shoes 3 หลายเดือนก่อน +89

    Ì was in the middle of performing open heart surgery but then I heard the new Latent Vision video dropped. Patient will have to wait.

    • @latentvision
      @latentvision  3 หลายเดือนก่อน +13

      even better invite the patient over

    • @AndyHTu
      @AndyHTu 3 หลายเดือนก่อน +2

      lol its worth it. The heart has to come after.

    • @context_eidolon_music
      @context_eidolon_music 3 หลายเดือนก่อน +1

      I was watching Latent Vision when the new Latent Vision dropped. I obviously died.

    • @latentvision
      @latentvision  3 หลายเดือนก่อน

      @@context_eidolon_music 🤣

    • @jordibasss
      @jordibasss 2 หลายเดือนก่อน

      You can always create better face for the patient 😂

  • @TheDocPixel
    @TheDocPixel 3 หลายเดือนก่อน +21

    Matt3o... you're an absolute gem of a teacher, developer, and entertainer as well! Your casual humor really makes this mountain of info so much easier to climb! Thank you so very much, and wishing you joy in everything you do!

  • @tartwinkler1711
    @tartwinkler1711 3 หลายเดือนก่อน +10

    Thank you for explaining how this works. This type of information is very useful when delivered by someone that is also a great teacher.

  • @unsivilaudio
    @unsivilaudio 3 หลายเดือนก่อน +13

    "It will hurt your feelings" 😂 happens to me alot when I thought I got a good likeness

  • @starzilla2975
    @starzilla2975 3 หลายเดือนก่อน +5

    FANTASTIC! Just what the doctor ordered! These align nodes will be very nice to play with too! This may be a long shot with the current technology, but I am hoping at some point I can find a way to get my faces to take a reference expression and copy that expression to another face or just straight up better control expressions in some way. unfortunately, right now, stable diffusion doesn't seem very flexible with expressions and it changes the face a lot so this will be helpful to help me constrain the face to be the same person. With lukc, there may be a way though so I am gunning for it.

    • @latentvision
      @latentvision  3 หลายเดือนก่อน +2

      it's possible to change expression but it only works with extremes (very angry, very happy... or neutral)... we miss everything in between

    • @starzilla2975
      @starzilla2975 3 หลายเดือนก่อน

      @@latentvision You should consider looking at a new paper that came out this week titled "Face Adapter for Pre-Trained Diffusion Models with Fine-Grained ID and Attribute Control", it published with code and a huggingface model. It does exactly what I hoped, takes a reference image and copies the expression to your target face, it isn't perfect but it is definitely an improvement and the best I have seen so far for Stable Diffusion. Unfortuantely I think it only works for SD 1.5 but they have a demo and I did a bunch of test faces on it and it is pretty great. I don't know how related it is to IP-Adapter, but considering your stint on face analysis and swapping, I figured I would comment on here and let you know in case you missed it because I think it is something you would be interested in.

    • @starzilla2975
      @starzilla2975 3 หลายเดือนก่อน

      @@latentvision In case you missed it, I definitely think you should take a look at the paper with it's associated hugging face model and githubio titled "Face Adapter for Pre-Trained Diffusion Models with Fine-Grained ID and Attribute Control". It came out right before this video and it's exacty what I hoped, even if it only works with sd15

  • @davidb8057
    @davidb8057 3 หลายเดือนก่อน +3

    Fantastic job, Matteo. The amount of knowledge you're sharing in your videos is always amazing.

  • @mehradbayat9665
    @mehradbayat9665 3 หลายเดือนก่อน +6

    ...that last picture 🤣

  • @leolis78
    @leolis78 3 หลายเดือนก่อน +2

    Mateo your work is excellent! you always surprise all of us with your progress! The workflow you show in the video is uploaded somewhere? Thanks a lot!!!

    • @latentvision
      @latentvision  3 หลายเดือนก่อน +3

      it's in the discord but... I pasted it here too pastebin.com/4tYRceiK

    • @leolis78
      @leolis78 3 หลายเดือนก่อน

      @@latentvision thanks so much!!!! 😃

  • @YING180
    @YING180 2 หลายเดือนก่อน

    You are the real master and you are so generous to share those techniques. Thank you so much.

  • @Firespark81
    @Firespark81 3 หลายเดือนก่อน

    Thank you for making this. It was very helpful.

  • @2PeteShakur
    @2PeteShakur 3 หลายเดือนก่อน +2

    brilliant and fresh as ever, keep up the great work matteo! ;)

  • @lhovav
    @lhovav 3 หลายเดือนก่อน +2

    Thanks!

  • @kalicromatico
    @kalicromatico 3 หลายเดือนก่อน +2

    Woowwww!!! this video is a masterclass

  • @d4n87
    @d4n87 3 หลายเดือนก่อน

    Grande Matteo 😁👍 anche per le spiegazioni tecniche dettagliate su queste cose difficili spesso da comprendere

  • @michail_777
    @michail_777 3 หลายเดือนก่อน +1

    Hi, Mateo. I understand you are the one creating the nodes for the IPAdapter. There is a node IPAdapter Encoder, it has a mask. I tried to connect the image and image as a mask, but did not understand what it is for. If possible, please tell me how to apply this mask correctly in this particular node.
    Thank you again.

  • @lucagenovese7207
    @lucagenovese7207 2 หลายเดือนก่อน

    Maestro... grazie!!

  • @sergetheijspartner2005
    @sergetheijspartner2005 3 หลายเดือนก่อน +1

    Do you know that meme where someone is in mathclass and the professor writes 1 + 1 = 2 and he thinks it is easy and then he is distracted for a second and the board is full with the most complex formulaes? That is what your videos feel like, luckily you can pause this and return if you missed something😂

    • @latentvision
      @latentvision  3 หลายเดือนก่อน

      don't worry... happens to me all the times

  • @gnsdgabriel
    @gnsdgabriel 3 หลายเดือนก่อน +2

    Thank you 🙏

  • @tbolton9247
    @tbolton9247 3 หลายเดือนก่อน

    Love your videos and tutorials....best out there and I learn a lot

  • @weirdscix
    @weirdscix 3 หลายเดือนก่อน

    Another excellent video, thank you

  • @adriantang5811
    @adriantang5811 3 หลายเดือนก่อน

    Thank you Teacher!

  • @marshy..
    @marshy.. 2 หลายเดือนก่อน

    Now I just need a faster GPU...
    Excellent video - thank you.

  • @JoeyD786
    @JoeyD786 หลายเดือนก่อน

    Does anyone know how I can get the value and dist data shown in the image preview?

  • @KINGLIFERISM
    @KINGLIFERISM 3 หลายเดือนก่อน

    Just waiting for this to be as good as photomaker.

  • @contrarian8870
    @contrarian8870 3 หลายเดือนก่อน

    Can you explain the concept of "embeddings" in general? What function do they serve? What do these numbers represent?

  • @riccardobiagi7595
    @riccardobiagi7595 3 หลายเดือนก่อน +1

    Great video as always! a question.. Where do I find the "Face segmentation" node? I don't have it and If it's a custom node to install I'm not finding it :( Thank you

    • @no-handles
      @no-handles 3 หลายเดือนก่อน

      update then refresh, you will see it when you search for faceseg..

  • @kytbaba67
    @kytbaba67 3 หลายเดือนก่อน

    Is it possible to make caricature image with similar workflow?

  • @Homopolitan_ai
    @Homopolitan_ai 3 หลายเดือนก่อน +1

    Top 👍

  • @jomiller7332
    @jomiller7332 3 หลายเดือนก่อน

    trouble changing within the node "face Analysis Models" from insightface library to Dlib library, (I did make a Dlib folder within Comfyui Models )

    • @anandwadodkar
      @anandwadodkar 3 หลายเดือนก่อน

      I am stuck too

  • @eucharistenjoyer
    @eucharistenjoyer 12 วันที่ผ่านมา

    Thanks for the video Matteo! But doesn't FaceID load insightface already by default? Why use dlib then?

    • @latentvision
      @latentvision  11 วันที่ผ่านมา +1

      not all face models require insightface

    • @eucharistenjoyer
      @eucharistenjoyer 11 วันที่ผ่านมา

      @@latentvision Thank you, that's what I imagined. It's just my bias and the fact that FaceId is so good that I end up using it in almost all the images I do haha.

  • @mattm7319
    @mattm7319 3 หลายเดือนก่อน

    face align could be really funny to work with ^^ :D

  • @dfriis
    @dfriis 15 วันที่ผ่านมา

    As far as I understand, Insight Face is for non-commercial use - what are alternatives?

    • @latentvision
      @latentvision  15 วันที่ผ่านมา

      depends what you want to do. for face analysis you can use dlib

    • @dfriis
      @dfriis 14 วันที่ผ่านมา

      @@latentvision Thanks for the reply and thanks for the amazing videos! You are an excellent communicator!
      For doing "face transfer", is InsightFace the only option?

  • @fayezhang6085
    @fayezhang6085 2 หลายเดือนก่อน

    Which node in maneger is “Face Warp", or github address? I can't find it.

    • @latentvision
      @latentvision  2 หลายเดือนก่อน

      it's in the face analysis extension. You probably need to upgrade it if you have it already

  • @banzai316
    @banzai316 3 หลายเดือนก่อน

    Very useful

  • @IOVART
    @IOVART 3 หลายเดือนก่อน

    Error occurred when executing FaceAnalysisModels:
    Can you tell me what's wrong? Error occurred when executing IPAdapterUnifiedLoaderFaceID:
    IPAdapter model not found.

  • @GES1985
    @GES1985 3 หลายเดือนก่อน

    Is there a node or workflow that takes 2 images of the same ai person and generates an image that represents the halfway point between the two? Idea being to make frames for video / gif

    • @latentvision
      @latentvision  3 หลายเดือนก่อน

      you may need a controlnet of the face turning

    • @GES1985
      @GES1985 3 หลายเดือนก่อน

      @latentvision does control net have head position points for faces that are turned beyond 90 degrees (like back of head/hair for turning around)

  • @AnNguyen-pd2xi
    @AnNguyen-pd2xi หลายเดือนก่อน

    Hello Latent Vision! What's the best method to get the most similar and realisic face? Using nodes as Controlnet, PulID or training LORA for this face?

    • @latentvision
      @latentvision  หลายเดือนก่อน +1

      depends on the source material and the kind of image you want to generate (eg: can the colors and pose be the same as the original?).

    • @AnNguyen-pd2xi
      @AnNguyen-pd2xi หลายเดือนก่อน

      @@latentvision I'm focusing on similarity. When I try to generate images of babies in cute scenes and costumes, I realize that maintaining facial similarity is harder with babies than with adults. My idea is to incorporate scenes and costumes in Lora to create the style I want and then use your PulID workflow to achieve the best facial results. My goal is to get the realistic face details combine with my desired photography style.

  • @HiProfileAI
    @HiProfileAI 3 หลายเดือนก่อน +2

    I got that working but only with insight face. How do we install Dlib?

    • @bwheldale
      @bwheldale 3 หลายเดือนก่อน +2

      If you only got as far as including the models (as I had) it still has more to do.
      This is how I got it working with portable windows
      Go to the provided link for "Face Analysis for ComfyUI"
      Installation Section:
      For DLIB download (4 models)
      Check which 'python_embedded' python --version in ComfyUI portable (mine was 3116)
      Download the Precompiled Dlib (for Windows e.g., 311) (into ComfyUI portable root folder)
      run the command python -m pip install 'the exact spelling of the downloaded wheel file'
      UPDATE: Well this does get the dlib into the dropdown, but I celebrated too soon:
      Error occurred when executing FaceEmbedDistance:
      setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4,) + inhomogeneous part.
      Sorry, if someone else can help both of us that would be appreciated!

    • @HiProfileAI
      @HiProfileAI 3 หลายเดือนก่อน +1

      @@bwheldale I always have problems with the pip well install stuff I'll try to figure it out and then give an update on how to do it.

    • @bwheldale
      @bwheldale 3 หลายเดือนก่อน

      I can verify the Dlib was installed succesfully, the other issue was something else and has been resolved with the latest update.

  • @runebinder
    @runebinder 3 หลายเดือนก่อน +1

    Downloaded the workflow but getting this error on the FaceEmbedDistance node, any ideas? I've tried to pictures of the same person that were taken on the same shoot and look very similar.
    "Error occurred when executing FaceEmbedDistance:
    setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4,) + inhomogeneous part."

    • @bwheldale
      @bwheldale 3 หลายเดือนก่อน

      Me too

    • @bwheldale
      @bwheldale 3 หลายเดือนก่อน +1

      MIne is working now with the latest update of Face Analysis

    • @runebinder
      @runebinder 3 หลายเดือนก่อน +1

      @@bwheldale I reinstalled Windows over the weekend (File Explorer has been playing up and been putting it off for ages), working fine for me after setting Comfy back up . Would have installed the updated version you mentioned.

  • @adityaghalibhendryan4211
    @adityaghalibhendryan4211 3 หลายเดือนก่อน

    Can FaceID node use dlib too instead insightface so we have free commercial option for FaceID IPAdapter?

    • @latentvision
      @latentvision  3 หลายเดือนก่อน

      unfortunately not at the moment

  • @giusparsifal
    @giusparsifal 3 หลายเดือนก่อน

    Hello and thanks, I am on your discord on workflow section but I can't find how to download it...

  • @sharpwater2
    @sharpwater2 3 หลายเดือนก่อน

    Great video! Anyone know where I can find the 'Image Random Transform' node?

    • @latentvision
      @latentvision  3 หลายเดือนก่อน

      ComfyUI Essentials, link in the description

  • @clavarx11
    @clavarx11 3 หลายเดือนก่อน

    Why not use face alignment by default in all ipadapter nodes? This node is awesome but should be a default thing in ipadapter.

    • @latentvision
      @latentvision  3 หลายเดือนก่อน +1

      we can't foresee all scenarios, up to the user to pick the best workflow for their needs

  • @rambapat588
    @rambapat588 3 หลายเดือนก่อน

    I tried to install instant id and face id from comfy ui manager but is shows import fail error, could it be because of my low vram, cuz I have only 4gb vram or could there be any other reason?

    • @latentvision
      @latentvision  3 หลายเดือนก่อน +1

      4GB won't be enough for InstandID but it could work with SD1.5 models and faceID. check the repository for installation instructions

  • @ismgroov4094
    @ismgroov4094 3 หลายเดือนก่อน

    Thx sir q

  • @user-uv4vv4mk4j
    @user-uv4vv4mk4j 3 หลายเดือนก่อน

    Great, I have a request, now facial analysis can only process one person's image, I think three people together, analysis of the face may produce three different images,Not in the same picture

  • @mr.entezaee
    @mr.entezaee 3 หลายเดือนก่อน

    how to install Dlib ?

    • @latentvision
      @latentvision  3 หลายเดือนก่อน

      check the repository issue tracker or my discord

  • @melihdalar6610
    @melihdalar6610 3 หลายเดือนก่อน

    😍

  • @thevoid6756
    @thevoid6756 3 หลายเดือนก่อน +1

    just fyi "likeliness" is a probability. "likeness" describes similarity.

  • @voxtyz
    @voxtyz 3 หลายเดือนก่อน

    can you share the workflow?

  • @sirmeon1231
    @sirmeon1231 3 หลายเดือนก่อน

    My Manager says dlib is installed, but i can't select it :/ The things you can do with it are pretty awesome!

    • @latentvision
      @latentvision  3 หลายเดือนก่อน +2

      check the repository, you'll find installation instructions

    • @rinpsantos
      @rinpsantos 3 หลายเดือนก่อน

      @@latentvision The same for me... I installed the dlib models into dlib directory and installed dlib library too. However, I can´t select dlib (only insightface).

    • @rinpsantos
      @rinpsantos 3 หลายเดือนก่อน +1

      Well, I installed the dlib library using the ConfyUI portable environment and, now, I can choose dlib.

    • @latentvision
      @latentvision  3 หลายเดือนก่อน

      @@rinpsantos please check the discord for help or the official repository

    • @raysun5889
      @raysun5889 3 หลายเดือนก่อน

      @@rinpsantos Hey man, can you elaborate on that, I was hoping to find a "venv" for virtual environment but I can't..., please help, thanks a lot!

  • @Thank_you_USA
    @Thank_you_USA 3 หลายเดือนก่อน

    ty where is the workflow?

  • @AI.Absurdity
    @AI.Absurdity 3 หลายเดือนก่อน

    🖖

  • @user-rk3wy7bz8h
    @user-rk3wy7bz8h 3 หลายเดือนก่อน

    What's the name of that beautiful girl

    • @latentvision
      @latentvision  3 หลายเดือนก่อน +1

      that would be Rebecca Ferguson