The app asks you to take a selfie and then runs Facial Recognition to detect the gender. Based on the detected gender, it'd recommend products to you.
I have used Microsoft's Oxford Project for facial recognition. Reference: https://www.projectoxford.ai/