Solution
We designed and implemented the responsive web face-morphing application which was fitted up with functionality to be accessed on both PC and mobile devices. The user is enabled to upload their photo and morph it to arrive at a few different age-versions of their image. They can also share the set of images that have been generated via their social media channels, i.e. Twitter and Facebook. The application was built in Python and we used Docker and the open source message broker Active MQ to distribute work and scale up as needed; the scale-up can be achieved by adding more docker containers responsible for "morphing". While working on a solution, we started with a set of face templates for young and old ages as well as for each gender and later merged the images, i.e. the appropriate templates as well as the the image uploaded by the user. The approach helped achieve some fairly good results. The solution was integrated with the AWS Rekognition API - a deep learning-based image and video analysis service - to validate the uploaded photo / image, e.g. to identify the objects in the photo, establish the number of faces in the photo and the like. The main functionality was implemented with the help of the open source project “face_morpher”, which had to be modified so that the image background remains stable, while only the face area undergoes changes. You may see the results in the photos below.