Master's Thesis
Monitoring Diabetic Foot From Images and Generative AI
— 2025
Key information
Authors:
Supervisors:
Published in
November 21, 2025
Abstract
Diabetic foot ulcers are a severe complication of diabetes and can lead to infections, amputations and even death if left untreated. Managing these complications requires timely detection and continuous monitoring. However, current methods rely on visual inspections by healthcare professionals, which can result in delayed evaluations. This thesis proposes a machine learning methodology for the evaluation of diabetic foot risk, combining pre-trained convolutional neural networks (CNNs) with Generative Al for dataset annotation. The GPT-4o-mini model was used to assign risk labels to foot images. The training of the models followed a two-phase approach: initially backbone is frozen and only a custom head is trained, followed by fine-tuning where part of the backbone layers are unfrozen. The dataset splitting strategy is based on an approach by patients, and data augmentation and oversampling techniques were applied to address class imbalance, with special emphasis on High Risk cases, as it is the minority class. The results obtained show that both models achieved good overall performance, with ResNet50 showing superior results and therefore being the selected model for the development of an app to showcase this work (Streamlit App), where users can explore the trained model. The High Risk class achieved the highest performance. The Low and Medium Risk classes also showed good performance but were prone to confusion due to the similar features of the images belonging to those classes.
Publication details
Authors in the community:
Afonso Pinto Brito Nobre
ist199883
Supervisors of this institution:
Fields of Science and Technology (FOS)
electrical-engineering-electronic-engineering-information-engineering - Electrical engineering, electronic engineering, information engineering
Publication language (ISO code)
eng - English
Rights type:
Embargo lifted
Date available:
October 23, 2026
Institution name
Instituto Superior Técnico