HairstyleAI
An application for realistic
hairstyle replacement in portrait photos
TECH STACK
• Python
• Keras
• OpenCV
• Dlib
Tasks
• Find the best solution for face-swap to transfer the face to different hairstyles without retraining models for each new hairstyle

• Assemble a set of hairstyles with different face shapes
• Develop a bot for vk.com with a wizard to upload photos and a choice of hairstyles

• Design a scalable system to run a bot and models.
How it works
The application uses a neural network. It discovers the face and puts it into the photo with the desired hairstyle.
The model finds the most similar face from the dataset's portrait set so that the combination is natural.
An example of the bot's work
Users can change the styling and hair color in photos. To do it, you need to select the parameters from the list that the bot offers.
Look at our other projects