KwaiVGI / LivePortrait

Bring portraits to life!
https://liveportrait.github.io
Other
11.73k stars 1.22k forks source link

Licence question - InsightFace input #193

Open macztk opened 1 month ago

macztk commented 1 month ago

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?

cleardusk commented 1 month ago

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

cleardusk commented 1 month ago

And welcome to recommend other licensed, fast, and effective face detection models.

cleardusk commented 1 month ago

The license is updated. @macztk

juntaosun commented 1 month ago

Can yoloface (MIT) be used as an alternative to InsightFace? @cleardusk

chrsbats commented 1 month ago

@cleardusk this fork uses Google's MediaPipe for face detection.

https://github.com/kijai/ComfyUI-LivePortraitKJ

cleardusk commented 1 month ago

Thanks for your feedback. @chrsbats

Can MediaPipe run on GPU?

chrsbats commented 1 month ago

@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"

C0untFloyd commented 1 month ago

Why not using the latest yoloface? https://github.com/derronqi/yolov8-face

juntaosun commented 1 month ago

yolov8n , yoloface_8n