Abstract
In this paper, we propose a novel Deep Localized Makeup Transfer Network to automatically recommend the most suitable makeup for a female and synthesize the makeup on her face. Given a before-makeup face, her most suitable makeup is determined automatically. Then, both the before-makeup and the reference faces are fed into the proposed Deep Transfer Network to generate the after-makeup face. Our end-to-end makeup transfer network has several nice properties including: (1) complete functions: including foundation, lip gloss, and eye shadow transfer; (2) cosmetic specific: different cosmetics are transferred in different manners; (3) localized: different cosmetics are applied on different facial regions; (4) producing naturally looking results without obvious artifacts; (5) controllable makeup lightness: various results from light makeup to heavy makeup can be generated. Qualitative and quantitative experiments show that our network performs much better than existing state-of-the-art methods.
Introduction
Digital makeup application has traditionally relied on manual "try-on" tools that require users to select specific products, or automated methods that necessitate scarce "before-and-after" image pairs for training. Furthermore, general-purpose style transfer algorithms, such as NeuralStyle, often fail on facial images because they apply styles globally. This leads to "bleeding" artifacts, where lipstick textures might appear on teeth or eye shadow colors smear across the forehead.
To address these issues, we introduce a Deep Localized Makeup Transfer Network. This system is designed to be fully automatic, data-driven, and localized to specific facial regions, ensuring natural-looking results with adjustable intensity.
Methodology
The system operates in two primary stages: recommendation and localized transfer.
Makeup Recommendation
To ensure the suggested makeup is tailored to the user's actual facial structure, the system uses a VGG-Face network. It extracts deep features from the user's "before-makeup" face and calculates the Euclidean distance against a reference dataset of professional makeup looks to find the most compatible "superstar" style.
Localized Transfer Network
The core innovation lies in the localized application of makeup. The process begins with Face Parsing, where a Fully Convolutional Network (FCN) segments the face into 11 distinct regions. This allows the model to apply cosmetic-specific transfer techniques:
- Eye Shadow: Uses Thin Plate Splines (TPS) to warp and align the reference shadow to the user's eye shape, transferring style by altering deep feature representations in the
conv1-1layer. - Lip Gloss & Foundation: These are treated as texture and color transfer problems using Gram matrices across five network layers, restricted strictly to the parsed lip and skin regions to prevent artifacts.
Controllable Lightness
By adjusting the weights of different loss functions during optimization via Stochastic Gradient Descent, the system can generate a range of looks. This allows users to choose between a subtle, natural appearance and a more dramatic, heavy makeup style.
Experimental Results
The proposed method was evaluated using a newly collected dataset of 1,000 "before-makeup" faces and 1,000 "reference" faces.
- Qualitative Performance: Compared to the previous state-of-the-art (Guo and Sim, 2009) and NeuralStyle variants, our method preserves facial structure significantly better and avoids unnatural color bleeding.
- User Preference: In a study with 20 participants, our method was preferred over the Guo and Sim baseline in 65.6% of cases and outperformed NeuralStyle variants in over 96% of comparisons.
- Efficiency: The system is highly efficient, performing a full transfer in approximately 6 seconds on a TITAN X GPU for a 224x224 image pair.
Conclusion and Future Work
The Deep Localized Makeup Transfer Network provides a robust solution for automated digital makeup. While currently optimized for frontal, well-aligned faces, future work will focus on extending the model to handle extreme head tilts and more complex cosmetic elements like contouring and highlighting. Additionally, we aim to explore multi-reference transfer, allowing users to composite features from different reference faces into a single custom look.
Summary updated