Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0/24 image face detected #108

Open
jonlepage opened this issue Jul 11, 2024 · 7 comments
Open

0/24 image face detected #108

jonlepage opened this issue Jul 11, 2024 · 7 comments
Labels

Comments

@jonlepage
Copy link

not work with anime or toon ...
ex:
image
image

@cleardusk
Copy link
Member

One way to handle this is to manually crop the source image, and disable auto-cropping : )

@fhdrheh12
Copy link

I went through the same experience. They say that face recognition is not possible even if you proceed with an image with just a cut of the face.

(anime images)
aaa1
aaaa22
ccc1q1

@Tom-Neverwinter
Copy link

I always try the "pumpkin test" on these and sadly it fails. I take a handful of pumpkins to see how it recognizes a face

@NineMeowICT
Copy link

NineMeowICT commented Jul 13, 2024

@cleardusk Is it possible to use YOLO to detect faces instead of Insightface

UPDATE: Error is raised even after I disabled auto cropping:
Traceback (most recent call last):
File "/media/ninemeow/Delta/LivePortrait/inference.py", line 59, in
main()
File "/media/ninemeow/Delta/LivePortrait/inference.py", line 55, in main
live_portrait_pipeline.execute(args)
File "/media/ninemeow/Delta/LivePortrait/src/live_portrait_pipeline.py", line 117, in execute
driving_lmk_crop_lst = self.cropper.calc_lmks_from_cropped_video(driving_rgb_lst)
File "/media/ninemeow/Delta/LivePortrait/src/utils/cropper.py", line 197, in calc_lmks_from_cropped_video
raise Exception(f"No face detected in the frame #{idx}")
Exception: No face detected in the frame #0

@cleardusk
Copy link
Member

cleardusk commented Jul 13, 2024

It seems that X-Pose generalizes to animals, anime, etc, #119 (comment) @NineMeowICT : )

@NineMeowICT
Copy link

@cleardusk Thanks. I will give it a try.

@jonlepage
Copy link
Author

i think also alpha background make issu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants