/Skin_Disease_AI

A Python-based computer vision and AI system for skin disease recognition and diagnosis. Led end-to-end project pipeline, including data gathering, preprocessing, and training models. Utilized Keras, TensorFlow, OpenCV, and other libraries for image processing and CNN models, showcasing expertise in deep learning and machine learning techniques.

Primary LanguagePureBasic

Skin Disease AI

Skin Lesion Diagnosis using Machine Learning

Implemented using:



Do remember to star ⭐ the repository if you like what you see!

Star Badge GitHub stars



You can access the web version at https://teledermatologis-ai.streamlit.app/

I would appreciate hearing your thoughts on it. Thank you!


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.


🎯 Introduction

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.


📚 Dataset

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.


🤖 Model

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.


📂 Repository Structure

  • '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.


Do remember to star ⭐ the repository if you like what you see!


Made with ❤️ by Nadav Ishai