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
Alignment #1
Comments
Please check the RGB channels of the PNG file you exported from Photoshop. One of the condition for the input is that if A = 0, then RGB should be (0,0,0). When you remove the background using Photoshop, it is most likely the case that it just sets the alpha channel to 0, leaving the RGB channel as white. Please clear the RGB channels. |
You are right, after clear the RGB channels, the method work well. |
Hi, Great job! Thanks for your sharing.
The method works well in given examples, however, I get a worse result when using the picture generated by waifulabs.com.
The pic is from waifulabs.com, and I convert it to RGBA format with Photoshop. I alignment the face to 128x128 center box and resize the pic to 256x256
the results look like this:
I believe it should be something wrong at the alignment,
so could you please share the alignment code?
Here my code of alignment:
Thanks, your reply will be appreciated.
The text was updated successfully, but these errors were encountered: