Giter VIP home page Giter VIP logo

acne_demo's Introduction

Acne Classification with Deep Learning

All packages and dependencies are included in the requirements.txt.

Python Version

  • 3.7

Introduction

Without a doubt, most of teenages face acne problem. However, there isn't a guideline on how serious the acne is and what proper steps should be taken in order to cure the acne and prevent scars. Hence, acne classification is developed using deep learning. It is carried out using Resnet-18 model in this project. It is able to classify acne seriousness into:

  1. Normal
  2. Level 0
  3. Level 1
  4. Level 2

as shown below:


Dataset

250 HD images were being hand-picked for each classes from various internet sources.


Annotation

Data annotation is being carried out by separating dataset into 4 classes.


Data Preprocessing

To increase the size of the dataset for training, data preprocessing is being carried out which includes:

  • Flip: Horizontal, Vertical
  • 90° Rotate: Clockwise, Counter-Clockwise, Upside Down
  • Crop: 0% Minimum Zoom, 50% Maximum Zoom
  • Rotation: Between -15° and +15°
  • Blur: Up to 10px
  • Rotate: 30 degree

Installling Requirements

pip install -r requirements.txt

Run the code

streamlit run main.py

Results of AI Model

The AI Model is able to achieve up to 90% accuracy by training with only 250 HD images from each classes.

Accuracy Loss Function Confusion Matrix

Future Improvements

  1. Platform to discuss skin care products
  2. Cross geographical skin samples
  3. Develop smartphone app
  4. More detailed classifier
  5. Higher Accuracy
  6. Implement Object Detection
  7. Suggest Possible Treatments
  8. Consult Dermatologist Virtually

Application

Mobile App Web App

Additional Information

Additional information about this project can be read here.

acne_demo's People

Contributors

yinchuangsum avatar xian-cong avatar hansheng0512 avatar

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.