cubiq / ComfyUI_FaceAnalysis

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

Fixed filter_best > 0 option #12

Closed dimtoneff closed 4 months ago

dimtoneff commented 5 months ago

When filter_best option is >0 the filtering of the best matched image/s didn't work.

A dirty fix for the error described here: https://github.com/cubiq/ComfyUI_FaceAnalysis/issues/9

@cubiq feel free to change it to your own implementation, I just did a quick thing here so I can use the feature.

After the fix:

image 1_ 2_ 3_

The floats list returns: image

cubiq commented 4 months ago

the node structure changed, not sure if this is still an issue