You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@eyaler Thanks; I've seen this happen before. Feel free to submit a patch, or point me in the right direction, otherwise, I might track it down eventually...
thanks. its just the above. in face_alignment.py replace: img = PIL.Image.open(src_file)
with: img = PIL.Image.open(src_file).convert('RGBA').convert('RGB')
this should also take care of your 'alpha' option
when a padding is needed, the code in face_alignment will corrupt images with an alpha channel. fixed by:
img = PIL.Image.open(src_file).convert('RGBA').convert('RGB')
The text was updated successfully, but these errors were encountered: