Patent ID: 11861771
Assignee: ALGOFACE, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 11:
12. A virtual hair extension system, comprising:
a memory device having a reference image of a selected hair extension, and a user image of a user having hair;
a computer being operably coupled to the memory device, the computer having a hair extension blending module;
the hair extension blending module generating a hair orientation mask utilizing a binary hair mask, the user image, and a plurality of Gabor filters; the hair orientation mask indicating an orientation of the hair in the user image;
the hair extension blending module determining an estimated hair length of the hair of the user utilizing the user image and the binary hair mask;
the hair extension blending module generating a resized binary hair mask utilizing the binary hair mask, the estimated hair length, and a desired length and a desired volume of hair associated with a SKU of the selected hair extension, the resized binary hair mask having the desired length and the desired volume;
the hair extension blending module generating a resized hair orientation mask utilizing the hair orientation mask, the estimated hair length, and the desired length and the desired volume of hair associated with the SKU of the selected hair extension, the resized hair orientation mask having the desired length and the desired volume;
the hair extension blending module having a generative adversarial neural network module that generates a first modified user image and a second modified user image based on the user image, the reference image, the resized binary hair mask, and the resized hair orientation mask; the first modified user image having hair with a color corresponding to a color of the hair in the user image and having the desired length and the desired volume; the second modified user image having hair with a color corresponding to a color of the hair in the reference image and having the desired length and the desired volume; the color of the hair in the reference image is identical to the color of hair associated with the SKU of the selected hair extension;
the hair extension blending module generating a blending mask by multiplying each pixel of the resized binary hair mask by a corresponding pixel of the resized hair orientation mask; and
the hair extension blending module having an Alpha blending module that blends the first modified user image, the second modified user image, and the blending mask to obtain a final modified user image having the hair of the user with the selected hair extension thereon.