Machine Learning techniques for image manipulation