Skip to content

0xhephaistos/ComfyUI_FaceAnalysis

 
 

Repository files navigation

Face Analysis for ComfyUI

This extension uses DLib or InsightFace to calculate the Euclidean and Cosine distance 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.

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

About

Extension for ComfyUI to evaluate the similarity between two faces

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%