top of page
Search

Image Manipulation in Face Craft

Writer: Temitayo ShorunkeTemitayo Shorunke

This week, I dove deep into the intricacies of image manipulation as part of my capstone project, Face Craft. The primary objective was to refine the image manipulation capabilities of the project using StyleGAN2-ADA and CLIP models. The goal is to allow users to alter specific attributes of generated images, such as adding glasses or changing hair color, through intuitive sliders.


The journey began with integrating StyleGAN2-ADA with the CLIP model. This involved loading a pre-trained StyleGAN2-ADA model to generate high-fidelity images and using the CLIP model to understand and apply text-based transformations. I focused on creating a robust pipeline where a randomly generated image could be manipulated in real-time based on user input.


A significant challenge was finding and precomputing latent directions for specific attributes. While I attempted to isolate changes for attributes like glasses, hair color, and face shape, the process is still a work in progress. Fine-tuning these directions to achieve precise control over the image's attributes remains ongoing. The trial-and-error nature of exploring the latent space has been both challenging and insightful, revealing the complexities of attribute manipulation.


To enhance the user experience, I implemented a graphical interface using Tkinter. This interface features sliders that adjust the intensity of each attribute's manipulation. The real-time feedback provided by the interface was essential for ensuring the manipulations were both intuitive and effective. I also optimized the image resizing process to ensure smoother transitions and better visual quality using the latest image resampling techniques.


Overall, this week's work significantly advanced the image manipulation functionality of Face Craft. While I haven't yet successfully isolated the attributes like glasses and hair color, the progress made sets a solid foundation for further enhancements. I will continue to fine-tune and improve this aspect in the coming week, striving to create a powerful, user-friendly tool for creative image generation and manipulation.

 
 
 

Recent Posts

See All

FaceCraft: Crafting Faces with AI

Our capstone project, FaceCraft, has been a journey of innovation, learning, and overcoming challenges. Our goal was to develop an AI...

Bio Generator and Image Captioning

This week, I focused on two part of our capstone projects: developing a bio generator and generating image captions for training data....

Comentários


©2022 by Temitayo's Portfolio

bottom of page