Giter VIP home page Giter VIP logo

nestle-acne-assessment's Introduction

Spatially Robust Deep Learning Application for Assessing the Facial Acne Severity Using Selfie Images

Microsoft collaborates with Nestlé Skin Health SHIELD (Skin Health, Innovation, Education, and Longevity Development, NSH) to develop a mobile app powered by deep learning models.

There are two main functions of the mobile app:

  1. assess the acne severity of users based on uploaded selfie images as accurately as a dermatologist.
  2. recommend treatment plans appropriate to the specific level of severity of the user’s acne and skin care products with the additional demographic information such as gender, age, skin type, etc.

It allows Nestlé Skin Health to actively engage with their customers, make dermatological expertise user-friendly and accessible at the palms of hands, and address their customers’ needs promptly (as shown in the following Figure). This application significantly shortens the feedback loop for their products with real-time customer data, thus enabling the company to proactively design new or improve existing products.

Screenshot

Here is the Decoded Show for this work:

The New Face of Computer Vision - DECODED S3E2

Getting Started

Nestlé Skin Health (NSH) provides 4700 selfie images for this work, labeled in five categories: 1-Clear, 2-Almost Clear, 3-Mild, 4-Moderate, 5-Severe.

There are a few challenges in this work:

  1. insufficient training data: The number of selfie images (=4700) is small to train a deep learning model from scrach.
  2. poor quality of images and labels: some selfile images are with bad environment control and human labels from dermatolgists are noisy.

To tackle these challenges:

  1. We propose a novel image augmentation approach for face images which addresses the spatial sensitivity problem of CNN models on small training data. It significantly improves the generality of the model on testing images.
  2. We convert the classification problem to a regression model by assigning ordinary numerical values to the five acne severity levels.

In the end, we build a real-world skin management mobile application including the whole cycle of dermatologists, users, skin care products.

Step by step instructions

data_processing_demo.ipynb is the easiest way to check our proposed image augmentation approach. It shows both extracting skin patch and rolling approach on the demo image. As the acne images in this work cannot be shared, an image from Bing Image is provided for demo.

Step1_Data_RemoveNoise.ipynb shows the code for extracting skin patches using acne images

Step2_Data_Augmentation.ipynb goes deeper in rolling approach considering the number of rolling times for each class of acne images.

Step3_Training_Pipeline.ipynb shows how to apply transfer learning and train the fullly connected neural network on acne dataset.

Step4_Scoring_Pipeline.ipynb is used to score test images

Step5_Deployment_Pipeline.ipynb with supporting python files (getPatches.py, model.py, regressionModel.py) shows how to deploy the model to Azure.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.