Matteo Spinelli 8846653446 Merge pull request #37 from gaowei-space/fix_noface
fix: Fix the iteration error when no face is detected
2025-05-20 07:18:36 +02:00
2024-05-13 10:09:53 +02:00
2024-02-20 17:25:22 +01:00
2024-02-20 17:25:22 +01:00
2024-02-20 17:25:22 +01:00
2024-02-22 11:03:46 +01:00
2024-02-20 17:25:22 +01:00
2024-02-20 17:18:42 +01:00
2024-07-11 19:29:10 +02:00
2025-04-14 09:40:28 +02:00

Face Analysis for ComfyUI

This extension uses DLib or InsightFace to perform various operations on human faces.

The most obvious is to calculate the similarity between two faces. The best way to evaluate generated faces is to first send a batch of 3 reference images to the node and compare them to a forth reference (all actual pictures of the person). That will give you a baseline number that you can use to compare to generated images.

Important

2025.04.14 - I do not use ComfyUI as my main way to interact with Gen AI anymore as a result I'm setting the repository in "maintenance only" mode. If there are crucial updates or PRs I might still consider merging them but I do not plan any consistent work on this repo.

Installation

You need to install either InsightFace or Dlib (or both).

For DLIB download Shape Predictor, Face Predictor 5 landmarks, Face Predictor 81 landmarks and the Face Recognition models and place them into the dlib directory.

Precompiled Dlib for Windows can be found here.

face analysis

The extension also supports AuraFace that is a free alternative to InsightFace. Download all the files and place them under models/insightface/models/auraface/

S
Description
No description provided
Readme Apache-2.0
210 KiB
Languages
Python 100%