Licence question - InsightFace input
Your license is MIT but I saw 'InsightFace' in the Acknowledgements section. Most models from InsightFace are for academic research only.
Does your tool use InsightFace libraries and models available for commercial usage? If yes, how does it work and which one? Isn't your tool downloading anything from InsightFace?
The code and models of LivePortrait are under MIT license. The code of InsightFace is under MIT licenser, but the models of InsightFace are not. For commercial usage, you should remove the InsightFace models, and use other licensed face-detections models.
I will update the license later. @macztk
And welcome to recommend other licensed, fast, and effective face detection models.
The license is updated. @macztk
Can yoloface (MIT) be used as an alternative to InsightFace? @cleardusk
@cleardusk this fork uses Google's MediaPipe for face detection.
https://github.com/kijai/ComfyUI-LivePortraitKJ
Thanks for your feedback. @chrsbats
Can MediaPipe run on GPU?
@cleardusk I haven't tried it myself but it looks possible to build Mediapipe with GPU support on Ubuntu. I think it requires a little bit of messing around with the build process:
"Mediapipe v0.10.1 GPU Version with CUDA @ Ubuntu 22.04 (22.04c)" https://github.com/riverzhou/mediapipe
In the README for https://github.com/kijai/ComfyUI-LivePortraitKJ they say:
"Biggest difference is the license: Insightface is strictly for NON-COMMERCIAL use. MediaPipe is a bit worse at detection, and can't run on GPU in Windows, though it's much faster on CPU compared to Insightface"
Why not using the latest yoloface? https://github.com/derronqi/yolov8-face
yolov8n , yoloface_8n
Insightface uses multiple models. For instance it is uses mtcnn for initial face detection which is MIT IIRC. What models are being used specifically here?
@jfischoff But LivePortrait use InsightFace's 106 landmarks model to detect the landmarks as the initial ones (although LivePortrait provides a 203 landmarks model with ONNX format).
From what I know, InsightFace usually doesn’t go after commercial use, but to avoid any potential liability, both InsightFace and LivePortrait wouldn’t recommend using InsightFace's models for commercial purposes : )
@macztk try this https://huggingface.co/fal/AuraFace-v1