djbielejeski / a-person-mask-generator

Extension for Automatic1111 and ComfyUI to automatically create masks for Background/Hair/Body/Face/Clothes in Img2Img
MIT License
247 stars 30 forks source link

Failed to detect a face with glasses #15

Closed arafatx closed 6 months ago

arafatx commented 8 months ago

I've experimented with several photos of a person wearing glasses, and seems like most of the time, the glasses are not included in the final output. Perhaps we could consider adding a new category as 'face accessories' ?

Here is a mask example taken from a person with glasses:

image

Thank you.

djbielejeski commented 6 months ago

This isn't my segment model, its from MediaPipe (Google): https://developers.google.com/mediapipe/solutions/vision/image_segmenter#multiclass-model