Exploration of a Melanoma Detection and Segmentation Model on Mobile Devices for Accessible Point-Of-Care Diagnostics
Welcome to the small-models
repository where I am working on the Exploration of a Melanoma Detection and Segmentation Model on Mobile Devices for Accessible Point-Of-Care Diagnostics! This repository contains resources and code related to the detection and classification of melanoma skin cancer using deep learning and computer vision techniques.
The primary objective of this project is to develop robust methods for automated detection and classification of melanoma skin cancer lesions from dermatoscopic images. Additionally, we aim to optimize models considering energy consumption and memory limitations for deployment on Edge Devices or Commercial Mobile Devices, thus enhancing early diagnosis and improving treatment outcomes.
The Kaggle Melanoma Skin Cancer Dataset consists of 10,000 dermatoscopic images annotated with benign and malignant labels. This dataset is essential for developing deep learning models to accurately classify melanoma. It includes:
- Training Images: 9,600
- Evaluation Images: 1,000
- Features: Image paths, class types, and target labels stored in a structured format (e.g., CSV, Pandas DataFrame).
- Image Processing: Techniques include resizing, normalization, and augmentation to enhance model generalization.
- Exploratory Data Analysis (EDA): Descriptive statistics and visualization of skin lesion characteristics to gain insights into the dataset.
- Convolutional Neural Networks (CNNs): Architectures designed for image classification and segmentation tasks.
- Fully Convolutional Networks (FCNs): Used for semantic segmentation of skin lesions to delineate boundaries and aid in diagnosis.
- Training Metrics: Evaluation of model performance using loss functions and optimizer settings.
- Testing Metrics: Assessment of model accuracy, precision, recall, F1 score, and area under the ROC curve (AUC) with validation and test datasets.
- Feature Maps: Visualization of feature extraction methods (e.g., adaptive thresholding, edge detection, contour detection) applied to sample images.
- Confusion Matrices: Representation of model classification results and error analysis.
- Integration of Additional Data: Incorporation of larger and diverse datasets (e.g., Skin Cancer MNIST: HAM10000) to enhance model robustness.
- Data Compression: Study of quantization, pruning, and knowledge distillation techniques using libraries such as TensorRT, PyTorch Mobile, and Apache TVM.
- Advanced Techniques: Exploration of ensemble methods, transfer learning, and knowledge representation for improved diagnostic accuracy.
- iOS App Development: Development of a user-friendly iOS application using Swift and CoreML for real-time image classification and segmentation.
- Code: Implementation scripts and notebooks for data preprocessing, model training, and evaluation.
- Documentation: Detailed explanations, tutorials, and guides to replicate experiments and understand methodologies.
This repository serves as a comprehensive resource for researchers and practitioners interested in leveraging machine learning for melanoma skin cancer detection. Contributions, issues, and collaborations are welcome to further advance the field and promote accessible healthcare solutions.