kijai / ComfyUI-LivePortraitKJ

ComfyUI nodes for LivePortrait
MIT License
1.66k stars 127 forks source link

raise ValueError("No face detected in FIRST source image") #131

Open vitalbuttering opened 3 months ago

vitalbuttering commented 3 months ago

I sometimes get tired just trying to re-edit my source video over and over again until LivePortrait detects at least a reasonable face on the first frame. The problem is, it's always hard to do it right the first time, especially when you have a face that is somewhat farther away or partially hidden in shadow. Anyway, this is more of a feedback rather than an issue.

If anyone has better tips on ensuring LivePortrait detects a face for 100% certainty, let me know.

alenabkru commented 3 months ago

I sometimes get tired just trying to re-edit my source video over and over again until LivePortrait detects at least a reasonable face on the first frame. The problem is, it's always hard to do it right the first time, especially when you have a face that is somewhat farther away or partially hidden in shadow. Anyway, this is more of a feedback rather than an issue.

If anyone has better tips on ensuring LivePortrait detects a face for 100% certainty, let me know.

Hi. the same problem with the video to video with animals! from the same picture - recognizes the face of the animal. but if the same picture with the animal very slightly move to make a video to video, it stops recognizing the face. I'm exhausted, I can't do it with video to video in any way((((((((((((((

vitalbuttering commented 2 months ago

Our worst nightmare... lol.

image

vitalbuttering commented 2 months ago

I've figured out a solution. Insert a neutral expression image of the same character as the first frame of your source video. This should do the trick.

gt732 commented 2 months ago

I've figured out a solution. Insert a neutral expression image of the same character as the first frame of your source video. This should do the trick.

what happens if the face is not in camera does it error out?