cubiq / ComfyUI_FaceAnalysis

Extension for ComfyUI to evaluate the similarity between two faces
Apache License 2.0
227 stars 25 forks source link

Dlib missing in Face Analysis Models node #14

Open riccardobiagi opened 1 month ago

riccardobiagi commented 1 month ago

HiI I downloaded every dlib model and I placed in /custom_nodes/ComfyUI_FaceAnalysis/dlib but In the Face Analysis Models node in Library I see only Insightface. Am I missing some steps to have dlib working? I'm on a M1 mac. Thank you

cubiq commented 1 month ago

you need to install dlib dependency, I don't know if it's available on mac, you probably have to compile it from source.

riccardobiagi commented 1 month ago

Ok, thank you for the feedback!

HiProAI commented 1 month ago

I have the same problem. I've downloaded all models and placed them into the dlib folder. I've also installed the precompiled dlib dependency through here python -m pip install dlib-19.22.99-cp310-cp310-win_amd64.whl But alas, no dlib shows up in node only insight face. I'm on Windows 11 Any ideas ?

Limbicnation commented 1 month ago

Install CMake from the conda-forge channel conda install -c conda-forge cmake

Alternatively, you can install CMake using pip: pip install cmake

Install all required Python packages listed in the requirements file pip install -r requirements.txt

lhovav commented 3 weeks ago

@Limbicnation it doesn't help...

Ling-APE commented 1 week ago

for windows, try to put the dependency file at ComfyUI_windows_portable\python_embeded then click and type cmd in the directory bar and install it there, then dlib shows up for me in my case.

YuanGYao commented 3 days ago

If you are using the ComfyUI_windows_portable, then the steps to install dlib are as follows:

  1. Go to the root directory of ComfyUI_windows_portable
  2. Depending on the embedded python version, download the corresponding whl file and place it in the root directory of ComfyUI_windows_portable
  3. Start a terminal in the root directory of ComfyUI_windows_portable
  4. Type the following command in the terminal and execute it
    .\python_embeded\python.exe -m pip install dlib-19.24.1-cp311-cp311-win_amd64.whl
lhovav commented 7 hours ago

@YuanGYao Can confirmed it works! Thank you for the assistance

If you are using the ComfyUI_windows_portable, then the steps to install dlib are as follows:

  1. Go to the root directory of ComfyUI_windows_portable
  2. Depending on the embedded python version, download the corresponding whl file and place it in the root directory of ComfyUI_windows_portable
  3. Start a terminal in the root directory of ComfyUI_windows_portable
  4. Type the following command in the terminal and execute it
.\python_embeded\python.exe -m pip install dlib-19.24.1-cp311-cp311-win_amd64.whl

@YuanGYao Can conifm it works! Thank you for the assistance! :)