All fundamental DL4J dependencies are included in the pom.xml. The following project is built by me and my friend, Liang Han Sheng.
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 through transfer learning method using VGG-16 model in this project. It is able to classify acne seriousness into:
- Normal
- Level 0
- Level 1
- Level 2
and provide different solutions for user to cure the acne issue as shown below:
- Introduction
- Contents
- Dataset
- Annotation
- Data Preprocessing
- Running on IDE
- Running on Terminal
- Results of AI Model
- Future Improvements
- Additional Information
250 HD images were being hand-picked for each classes from various internet sources.
Data annotation is being carried out by separating dataset into 4 classes.
To increase the size of the dataset for training, data preprocessing is being carried out which includes:
- Horizontal Flip
- Vertical Flip
- 15° rotation
- 30° rotation
- Import project
- Wait for IDE to resolve dependencies
- Navigate to
MyFirstDL4JProject.java - Run program
Firstly, the project needs to be compiled as a jar file. The command used will build an uber jar. This type of jar compiles all classes from this project with its dependencies.
mvn clean package
The command will output .jar file in the target directory.
cd target
java -cp my-first-dl4j-project-1.0-SNAPSHOT-bin.jar ai.certifai.MyFirstDL4JProject
MyFirstDL4JProject is the class to run which is located in ai.certifai package
The AI Model from transfer learning is able to achieve up to 74% accuracy by training with only 250 HD images from each classes.
- Platform to discuss skin care products
- Cross geographical skin samples
- Develop smartphone app
- More detailed classifier
- Higher Accuracy
Additional information about this project can be read here.


