You can access the web version at https://teledermatologis-ai.streamlit.app/
Check out the project paper at https://ieeexplore.ieee.org/abstract/document/10402645
Welcome to Skin Disease AI, an advanced system designed to recognize and diagnose skin diseases using machine learning and image processing techniques. This project offers an AI solution that can significantly assist in the diagnostic process of six different types of skin lesions.
Skin conditions are a common reason for clinic visits, with an accurate diagnosis being crucial for effective treatment. This project presents a robust machine learning system that analyzes images to identify and diagnose different types of skin lesions.
The dataset for this project consists of a total of 1,657 images. These images represent 6 types of skin lesion classes and 1 non-skin lesion class, gathered from public dermatologist datasets and self-collected sources.
We utilized the Xception architecture to create our skin lesion diagnosis model. Trained on the complete dataset, we enhanced our training with data augmentation for classes with fewer images. Our model achieved an impressive 92% accuracy on the test set. In addition, we assessed our model using various metrics, including the confusion matrix, accuracy and loss histograms, and a comprehensive classification report.
-
'preprocessing.py': This code loads the entire dataset, perform the required image preprocessing, and splits the images into train, validation and test sets.
-
'sets_visualization.py': This code used to show the distribution of the different skin lesions' types through the train, validation and test sets.
-
'augmentation.py': Code for adding augmented images to our dataset for classes with a lack of images.
-
'model.py': The code we used to build our Xception model for skin lesion diagnosis.
-
'evaluate.py': Code for evaluating our model for fine-tuning and better understanding. It shows the confusion matrix, accuracy and loss histograms, and classification report.
-
'predict.py': Code for prediction a batch of images from a directory, using our model.