Vitamin deficiencies pose significant health risks if left undiagnosed, particularly in regions with limited access to medical testing. This research presents a dl based system for automated detection of vitamin deficiencies using image classification. Leveraging the MobileNetV2 (Yashvi Chandola, 2021) architecture, the model is trained to classify images into six categories corresponding to deficiencies in Vitamins A, B, C, D, E, and K.
The system utilizes TensorFlow and a transfer learning approach to enhance training efficiency and accuracy. A user-friendly graphical interface built with Tkinter allows users to upload images and receive real-time predictions, accompanied by detailed descriptions of symptoms, dietary sources, and medical advice for the detected vitamin deficiency. Experimental results indicate promising accuracy of 98% across multiple classes, supporting the feasibility of deploying this lightweight application in clinical field settings. The proposed system also introduces additional features such as confidence-based prediction display, rich nutritional advice, and expandable class support, making it a practical tool for early nutritional screening and public health education.
Table of Contents
Abstract
1. Introduction
2. Literature Review
3. Methodology
4. Implementation
5. Results & Discussions
6. Conclusion
7. References
ABSTRACT
Vitamin deficiencies pose significant health risks if left undiagnosed, particularly in regions with limited access to medical testing. This research presents a dl based system for automated detection of vitamin deficiencies using image classification. Leveraging the MobileNetV2 (Yashvi Chandola, 2021)architecture, the model is trained to classify images into six categories corresponding to deficiencies in Vitamins A, B, C, D, E, and K. The system utilizes TensorFlow and a transfer learning approach to enhance training efficiency and accuracy. A user-friendly graphical interface built with Tkinter allows users to upload images and receive real-time predictions, accompanied by detailed descriptions of symptoms, dietary sources, and medical advice for the detected vitamin deficiency. Experimental results indicate promising accuracy of 98% across multiple classes, supporting the feasibility of deploying this lightweight application in clinical field settings. The proposed system also introduces additional features such as confidence-based prediction display, rich nutritional advice, and expandable class support, making it a practical tool for early nutritional screening and public health education.
Keywords: Vitamin Deficiency, MobileNetV2, Deep Learning, Tensorflow, Real Time Prediction.
1. INTRODUCTION
Vitamins are essential micronutrients that play a crucial role in maintaining human health by supporting metabolism, immune function, and cellular processes. Deficiencies in vitamins such as A, B, C, D, E, and K can lead to serious health complications, including vision impairment, weakened immunity, delayed wound healing, bone disorders, and neurological problems.Despite the importance of early detection, diagnosing vitamin deficiencies remains challenging because it relies heavily on blood tests and clinical assessments, which may not always be accessible or affordable, especially in remote and underdeveloped regions. The increasing global burden of vitamin-related disorders highlights the need for an efficient, accessible, and cost-effective diagnostic solution. [1]
In recent years, artificial intelligence (AI) and deep learning have demonstrated remarkable potential in the field of medical diagnostics. Convolutional Neural Networks (CNNs) (ibm.convolutional neural networks, 2022)have proven to be highly effective in image classification tasks, particularly in medical imaging applications such as disease detection and automated diagnosis. Leveraging these advancements, this research presents a deep learning-based approach to detecting vitamin deficiencies using image classification techniques.
The system is designed to classify user-provided images into six categories corresponding to different vitamin deficiencies. It utilizes MobileNetV2, a lightweight and computationally efficient CNN model, which enables fast and accurate classification. By incorporating transfer learning, the model is trained on a curated dataset to enhance its ability to recognize visual patterns associated with different vitamin deficiencies. [2]
To facilitate accessibility and usability, the model is integrated into a user-friendly graphical user interface (GUI) developed using Tkinter. The system allows users to upload an image, which is then analyzed by the deep learning model to predict the most likely vitamin deficiency. In addition to providing the classification result, the system offers a detailed report containing information about symptoms, health implications, and dietary recommendations to address the detected deficiency [3]. Unlike traditional diagnostic methods that require specialized medical expertise, this AI-powered solution enables individuals to perform preliminary screenings with minimal effort.
The proposed system introduces several additional enhancements to improve user experience. A real-time progress indicator provides visual feedback during the image processing phase, ensuring a smooth and engaging interaction. To make the tool more accessible to a wider audience, an optional voice output feature allows users to receive spoken descriptions of their results, with customizable settings to adjust voice speed and gender. Furthermore, the system is designed to be lightweight, making it suitable for deployment on various platforms, including mobile and web-based applications. [4]
By combining deep learning with an intuitive user interface, this research aims to bridge the gap between AI-driven healthcare solutions and practical medical applications. The system has the potential to serve as an early detection tool for vitamin deficiencies, assisting individuals in taking proactive steps toward improving their nutrition and overall well-being. Additionally, it could be utilized in telemedicine, nutrition counselling, and public health awareness campaigns to educate users about the importance of maintaining adequate vitamin levels.
Another important aspect of vitamin deficiency detection is the role it plays in preventive healthcare. Many individuals remain unaware of nutritional deficiencies until severe symptoms appear, which may lead to long-term health complications. Early detection allows individuals to take corrective measures such as improving dietary intake, taking supplements, or seeking medical advice. By providing an accessible and automated screening tool, the proposed system helps individuals identify possible deficiencies at an early stage and promotes awareness about the importance of balanced nutrition and healthy lifestyle practices.
This study not only explores the technical aspects of developing a vitamin deficiency detection model but also evaluates its effectiveness in real-world scenarios.
2. LITERATURE REVIEW
2.1 ELDEEN [1] study proposes free access to an Artificial Intelligence-based application for smartphones, tabs and electronic gadgets to detect vitamin deficiency in humans using pictures of specific body organs like skin, nails, eyes, and so on. Recent vitamin deficiency detection methods require expensive laboratory testing. Lack of vitamins can cause visible changes in the body, like dry skin,weak hair, and brittle nails. Different vitamin deficiencies show different signs in various body parts. These symptoms help us understand that the body needs proper nutrition.Sothis application then suggests a list of nutritional sourcesthatfightthe detected deficiency. The modern software was trained to identify and compare vitamin deficiencies with a high confidence score from images of human organs, which are used as inputs for the selected body parts that are known to show different vitamin deficiency symptoms in terms of changes in the tissue's structure. This application is a useful tool for people to overcome simple problems that affect millions of people worldwide without the necessarynutritionalawareness of the complete body, and it will help healthcare departments in the long term to obtainhighly accurate diagnoses.
2.2 KALAVATI DEVI [2] studied WHO data, which indicates that 2.8% of the disease in the world is caused by micronutrient insufficiency due to improper consumption of a balanced diet. The micronutrient deficiency is detected from the individual’s blood sample,which is an invasive technique. Convolution neural network patterns are used in the suggested deep learning patterns to extract the features of the parts of the eye, nail and tongue. CNN-LSTM and CNN-GRU architectures are used to predict the deficiency in the images by extracting the features and performing the classification. A collection of 140 images was used as a dataset in this system. The real-time images are used to train the model, which is then tested with the sample images for increased accuracy. The simulation of the CNN network with CNN-GRU has very low MSEs with 0.22%, results show that the proposed system achieved an accuracy of 99.6%, specificity of 99.7% and sensitivity of 99.4%.
2.3 MARUTHAMUTHU [3] study proposes a novel approach for detecting vitamin deficiencies using image processing techniques and Convolution Neural Networks (CNNs). The method involves 3 methods:1)image acquisition, 2)preprocessing and3)feature extraction using a pre-trained CNN, and classification based on learned patterns. Extensive experiments on a diverse dataset demonstrate high accuracy in detecting various types of deficiencies. The proposed system offers non-invasive early screening, personalised recommendations, and healthcare decision support. The results highlight the potential forimplementation and future improvements in dataset expansion and CNN architecture exploration.
2.4 SAMBASIVAM [4] the study highlights that Vitamin D Deficiency (VDD) is a major global health concern and emphasises the need for non-invasive techniques to estimate its severity. To address this, primary data consisting of serum Vitamin D measurements were collected from 3000 college students aged between 17 and 21 years.Several input variables were considered for analysis, including demographic and physical factors such as age, gender, weight, height, body mass index (BMI), waist circumference, body fat percentage, and bone mass, along with lifestyle-related factors like physical activity, exposure to sunlight, and milk intake.
A variety of machine learning algorithms were applied to predict the severity of VDD, including K-Nearest Neighbours (KNN), Decision Tree (DT), Random Forest (RF), Bagging, Extra Trees, Stochastic Gradient Descent (SGD), Gradient Boosting (GB), Support Vector Machine (SVM), and Multi-Layer Perceptron (MLP).The experimental findings indicate that the Random Forest model delivered the highest performance, achieving an accuracy of 96% and showing strong results across both training and testing datasets. Furthermore, statistical validation using McNemar’s test confirms that the Random Forest classifier performs significantly better when compared to the other models.
2.5 SRIVIDHYA [5] study proposes a deep learning-based method for the detection of vitamin deficiencies using the AlexNet architecture. AlexNet, known for its strong performance in image classification tasks, is utilised to analyse visual patterns related to deficiency symptoms.The research investigates how image processing combined with deep learning can be effectively applied for identifying vitamin deficiencies with improved precision. The main objective is to increase detection accuracy while reducing incorrect predictions, thereby ensuring a more dependable system for early-stage diagnosis.To support this approach, a diverse dataset consisting of images representing multiple types of vitamin deficiencies is collected. These images are pre-processed to enhance important features and minimise noise, which helps improve the model’s learning capability. Subsequently, the AlexNet model is trained to recognise distinctive visual characteristics associated with different deficiencies. The trained model is then thoroughly evaluated using testing procedures to validate its accuracy and overall performance in real-world scenarios.
2.6 K.REDDYMADHAVI [6] proposes a non-invasive approach forthe early detection of vitamin deficiencies using a tool called image processing and deep learning techniques. The study emphasizes that vitamin deficiencies produce visually distinguishable symptoms on body parts such as the eyes, lips, tongue, and nails. A comprehensive image dataset consisting of both vitamin-deficient and healthy samples was collected for experimentation. Preprocessing techniques were applied to enhance image quality and remove noise before analysis. The study employed Convolutional Neural Networks (CNN) and Artificial Neural Networks (ANN) for feature extraction and classification tasks, while OpenCV tools were used for image processing operations. Furthermore, transfer learning methods were implemented using pre-trained models such as MobileNet and NASNet to improve classification performance and reduce training time. Experimental validation was performed on large datasets by measuring accuracy, sensitivity, and overall model performance. The results demonstrated that the proposed deep learning approach achieved superior detection accuracy compared to traditional machine learning-based vitamin deficiency identification systems.
2.7 G. KUMARA VELAN [7] presents an enhanced deep learning approach for nutrient deficiency classification in rice plants using a modified MobileNet Convolutional Neural Network (CNN) architecture. The study highlights that conventional MobileNet models provide only minimal classification accuracy for plant nutrient deficiency detection. To address this limitation, the authors introduce architectural modifications, including the addition of new layers, implementation of dropout handling mechanisms, and selection of suitable optimization techniques to improve model performance. Furthermore, the developed model’s performance is compared with several state-of-the-art deep learning architectures, including VGG16, ResNet variants, InceptionV3, InceptionResNetV2, and standard MobileNet models. Experimental results demonstrate that the modified MobileNet CNN achieves superior classification accuracy compared to the existing deep learning models. The improved performance indicates the effectiveness of architectural enhancements in handling complex plant image features. Finally, the study implements the developed model into user-friendly web and mobile applications for practical use by farmers.
2.8 S.HRUSHIKESAVA [8] discusses the importance of crop yield in agriculture and highlights the impact of plant diseases and nutrient deficiencies on productivity. The study emphasizes that inadequate nutrients such as iron, magnesium, calcium, nitrogen, and potassium significantly reduce plant growth and yield. To identify these deficiencies, various ML and DL techniques, includingANNs, Convolutional Neural Networks, DenseNet, VGG, InceptionResNet, and MobileNet, are utilized. Among these models, MobileNet demonstrates superior performance with classification accuracy reaching up to 98%, outperforming other architectures. The study presents graphical comparisons to clearly illustrate the performance differences among the models. A MobileNet process captured plant images as input and performs training and testing to classify nutrient-deficient and healthy plants. Its depth wise and point wise convolution mechanisms reduce computational complexity while maintaining high accuracy. The findings indicate that MobileNet-based detection systems help farmers easily diagnose nutrient deficiencies and improve crop yield and plant health.
2.9 RATHEESH RAJU [9] has explored the use ofdigital image analysis and deep learning techniques for detecting plant nutrient deficiencies, which are major challenges in precision agriculture. The study focuses on developing an ensemble technique learning framework for nutrient deficiency detection in black pepper plants and evaluating its effectiveness in classification and yield-loss prediction. An ensemble model combining MobileNetV2 and a custom shallow Convolutional Neural Network is implemented to improve detection accuracy. Background noise is reduced using the U2Net model to enhance feature extraction from leaf images. The framework is validated using a large black pepper dataset and further tested on a rice plant dataset to examine generalizability. The yield-loss forecasting model also provides accurate estimates, helping assess the impact of nutrient deficiencies on crop production. The findings indicated that the ensemble deep learning framework offers strong performance, scalability, and adaptability across different crops. This approach supports automated nutrient monitoring and serves as an effective decision-support system for precision agriculture .
2.10 NITYA RANJAN MANIHIRA [10] emphasizes the importance of balancednutrient management for improving crop productivity and highlights the limitations of traditional visual inspection methods for diagnosing nutrient deficiencies. To overcome subjectivity and scalability issues, the study introduces a lightweight deep learning framework based on MobileNetV2 for automated nutrient deficiency classification. The model is enhanced using a Convolutional Block Attention Module (CBAM), which improves feature extraction by focusing on important spatial and channel-wise information. Transfer learning with pretrained weights enables the system to achieve high classification performance even with a limited dataset. The study highlights the effectiveness of attention mechanisms in improving deep learning-based image classification tasks. The results suggest that advanced lightweight architectures can support rapid and scalable nutrient deficiency diagnosis. This approach provides an efficient and real-time solution for precision agriculture and smart nutrient management systems.
Several studies have demonstrated that deep learning models can significantly improve the accuracy of medical image analysis. Researchers have explored various neural network architectures, such as CNN, (B. Venkata Swamy; Lakkakula Hari Prasad; M. ShyamSundar;
Harika Pothini; Aarthi R; Shrikant Upadhyay, n.d.). These approaches focus on extracting complex patterns from images that are difficult to identify manually. The findings from previous studies indicate that image-based analysis can serve as a reliable non-invasive method for detecting nutritional deficiencies, motivating further research into lightweight and efficient models suitable for real-time applications.
3. METHODOLOGY
3.1 Proposed System
Illustrations are not included in the reading sample
Fig 1: Proposed System Architecture
The proposed system is designed to detect vitamin deficiencies using image-based analysis and deep learning techniques. The system focuses on analyzing fingernail images to identify visual patterns associated with different vitamin deficiencies.
These visual indicators can include discolouration, texture changes, or other abnormalities that may reflect nutritional imbalances. By using artificial intelligence techniques, the system can automatically identify these patterns and classify them into specific vitamin deficiency categories.
The system consists of several major components, including image acquisition, preprocessing, feature extraction, model training, and prediction. Users upload fingernail images through the graphical user interface, which are then processed and analyzed by the trained deep learning model. After processing the image, the system predicts the most likely vitamin deficiency and displays the results along with relevant health information and dietary recommendations.
MobileNetV2
Illustrations are not included in the reading sample
Fig 2: MobileNetV2 Architecture
MobileNetV2 is a convolutional neural network architecturethat is widely used for image classification and computer vision tasks. It is specifically designed to perform productivity on devices with limited computational resources while scoring high prediction accuracy. The architecture improves upon earlier models by introducing inverted residual blocks and linear bottleneck layers, which help reduce computational complexity without sacrificing performance.
In this research, MobileNetV2 is used as the base model for feature extraction and classification of fingernail images. The model is pretrained on a large dataset and then fine-tuned using the vitamin deficiency dataset through transfer learning. This technique allows the model to reuse previously learned image features and adapt them to the specific task of vitamin deficiency detection.
The use of MobileNetV(Yashvi Chandola, sciencedirect, 2021)2 offers several advantages, including faster training time, lower memory requirements, and efficient processing of images. These characteristics make it suitable for real-time healthcare applications and systems that require quick predictions with minimal hardware resources.
3.2 System Architecture
Illustrations are not included in the reading sample
Fig 3: MobileNetV2 System Architecture
The system architecture represents the overall workflow of the vitamin deficiency detection system. It illustrates how different components of the system interact with each other to process input images and generate predictions. The architecture includes multiple stages such as image input, pre-processing, feature extraction, classification, and result generation.
The process begins when a user uploads a fingernail image through the graphical interface. The uploaded image undergoes pre-processing steps such as resizing, normalisation, and noise reduction to ensure that the data is suitable for model analysis. These pre-processing techniques help improve the quality of input images and enhance the accuracy of the model.
After pre-processing, the image is passed to the trained MobileNetV2 model, which extracts important visual features and performs classification. The model analyses the extracted features to determine the most probable vitamin deficiency category. Finally, the prediction results are displayed to the user through the interface along with additional information and recommendations for improving nutritional health.
MobileNetV2 Algorithm
Step 1: Data Upload
Input: Raw organ images of individuals.
Output: The images are stored in the system’s data storage.
Step 2: Data Pre-processing
Input: Raw images from the dataset.
Output: Pre-processed images suitable for MobileNetV2. This involves:
• Resizing images to 224x224 pixels.
• Converting images to grayscale (if required).
• Normalising pixel values to [0,1] or [-1,1].
• Applying data augmentation (rotation, flipping, etc.).
Step 3: Train-Test Split
Input: Pre-processed image data.
Output: Two datasets:
• Training Set: Used to train the MobileNetV2 model (typically 80% of the data).
• Testing Set: Used to evaluate the model’s performance (typically 20% of the data).
Step 4: Model Selection & Training
Input: Pre-processed images and their corresponding labels.
Output: Trained MobileNetV2 model. The process includes:
• Using pretrained MobileNetV2 (transfer learning).
• Replacing the last fully connected layer with a custom classification layer.
• Training the model using Categorical Cross-entropy loss and Adam optimiser.
• Monitoring model performance using accuracy and loss metrics.
Step 5: Model Evaluation
Input: Trained model and test dataset.
Output: Performance metrics, including:
• Accuracy
• Precision, Recall, and F1-Score
• Confusion Matrix
Step 6: Prediction & Output Generation
Input: A new skin image for analysis.
Output:
• The predicted vitamin deficiency category (e.g., Vitamin A, B, or C deficiency).
• Confidence score of the prediction.
• Recommended dietary or medical suggestions based on the deficiency detected .
4. IMPLEMENTATION
The implementation phase of the vitamin deficiency detection system focused on developing a robust deep learning-based image classification framework integrated with an interactive graphical user interface. The dataset comprised fingernail images categorised according to different vitamin deficiency classes. Before training, the images underwent preprocessing steps including resizing to 128x128 pixels to ensure uniformity and normalisation of pixel intensities to accelerate model convergence and improve numerical stability.
A transfer learning strategy was adopted using the pre-trained MobileNetV2 architecture, which was originally trained on the ImageNet dataset. To adapt the model to the specific task, the final 20 layers were unfrozen and fine-tuned, enabling the network to learn domain-specific visual features associated with vitamin deficiencies while retaining previously learned generalized image representations.
The customized classification head of the model consists of a Global Average Pooling layer that reduces spatial dimensions and computational complexity, followed by a fully connected dense layer containing 128 neurons activated using the ReLU function to introduce non-linearity. A dropout layer with a dropout rate of 0.4 was incorporated to minimize overfitting by randomly disabling neurons during training. The final output layer employs a softmax activation function to perform multi-class classification across the vitamin deficiency categories.
The model was compiled using the Adam optimizer with a learning rate of 0.0003, chosen for its adaptive gradient capabilities and efficient convergence. Categorical cross-entropy was used as the loss function to measure prediction error across multiple classes. Training was conducted for 20 epochs with a batch size of 16, balancing computational efficiency and learning stability.
After successful training, the model was serialized and integrated into a user-friendly GUI developed using Tkinter. The interface allows users to upload fingernail images or capture images in real time for instant analysis. Once an image is provided, it is automatically preprocessed and forwarded to the trained model for inference.
The GUI presents the uploaded image alongside the predicted vitamin deficiency label and its corresponding confidence score. To enhance user awareness, the system also displays comprehensive information, including common symptoms, recommended dietary sources, preventive measures, and health suggestions related to the detected deficiency. This integration ensures that the system not only performs accurate classification but also functions as an educational and preventive healthcare tool.
Vitamin Deficiency Prediction Workflow
User Input:
Users provide fingernail images that may exhibit visible symptoms of vitamin deficiencies through upload or camera capture.
Prediction Engine:
The front-end interface transmits the input image to the backend server, where deep learning models analyse visual patterns to detect deficiencies. Feature extraction and classification are performed using advanced CNN architectures.
Results Display:
Prediction outputs are presented in an intuitive format showing the detected vitamin deficiency, confidence level, possible causes, nutritional recommendations, and corrective actions.
Backend Module
The backend module manages application logic, data processing, and deep learning inference operations. It ensures secure data handling, efficient model execution, and smooth communication between system components.
Data Processing:
Input images received from the frontend undergo pre-processing operations such as resizing, normalisation, and formatting to match model input specifications.
Model Implementation:
The backend integrates multiple pre-trained deep learning architectures, including MobileNetV2, DenseNet, CNN, and VGG16, to analyse image features and identify deficiency patterns.
Model Selection:
Among the evaluated architectures, DenseNet demonstrated superior classification accuracy and robustness during experimental validation. Therefore, it is used as the primary prediction engine, while other models serve as comparative benchmarks and fallback options.
Result Generation:
The selected model produces prediction probabilities that are post-processed into user-readable outputs. These results are then transmitted back to the frontend interface for visualisation and user guidance.
5. RESULTS AND DISCUSSION
The vitamin deficiency detection system was successfully implemented using a deep learning model and a custom-built graphical user interface (GUI). The model, based on MobileNetV2, demonstrated high performance in classifying fingernail images into six vitamin deficiency categories. After 20 epochs of training, the model achieved satisfactory accuracy levels on both the training and test datasets, indicating its ability to generalise well to unseen data.
The GUI significantly enhances user interaction by allowing two primary input methods: image upload and real-time webcam capture. Upon receiving an input image, the system performs inference using the trained model and displays the predicted vitamin deficiency along with a confidence score. This is followed by descriptive nutritional information, including symptoms and food sources relevant to the predicted vitamin. A text-to-speech feature was also integrated using pyttsx3, enabling the system to verbally communicate the results, making it more inclusive for users with visual impairments or reading difficulties.
In practical use, the system provided accurate and fast predictions, with inference times typically under one second per image. The confidence scores helped users gauge the reliability of the predictions, and the educational information provided a value-added component by increasing awareness about the role of specific vitamins in overall health. One key strength observed during testing was the model’s consistent ability to recognise distinct nail features corresponding to vitamin deficiencies across varied lighting conditions and image sources (camera or upload). However, the system may exhibit reduced accuracy in images that are blurry, occluded, or poorly lit, which highlights the importance of maintaining image quality during input.
The results of the proposed vitamin deficiency detection(B. Venkata Swamy; Lakkakula Hari Prasad; M. ShyamSundar; Harika Pothini; Aarthi R; Shrikant Upadhyay, n.d.)The system demonstrates the effectiveness of deep learning techniques in analysing fingernail images for health-related predictions. The MobileNetV2-based model was trained using a dataset of labelled images representing different vitamin deficiency conditions. After the training phase, the model was evaluated using a testing dataset to measure its classification performance. The evaluation results indicate that the model is capable of identifying visual patterns associated with various vitamin deficiencies with satisfactory accuracy.
The system successfully extracted relevant features from the input images and classified them into appropriate categories using the trained neural network. The use of transfer learning with the MobileNetV2 architecture significantly improved the training efficiency and reduced computational requirements. The model showed consistent performance across multiple test samples, indicating its ability to generalise well to unseen data.
In addition to classification accuracy, the practical usability of the system was also considered. The graphical user interface allows users to easily upload images and receive predictions without requiring technical expertise. The system provides the predicted vitamin deficiency along with additional health-related suggestions, which can help users understand potential nutritional issues. This feature enhances the practical value of the application as a preliminary screening tool.
Furthermore, the experimental results suggest that deep learning-based image analysis can serve as a supportive technology for healthcare applications. Although the system is not intended to replace medical diagnosis, it can assist in raising awareness about possible vitamin deficiencies and encourage individuals to seek professional medical advice when necessary.
Illustrations are not included in the reading sample
Fig 4: Graphical User Interface (GUI) Home Screen
This figure shows the main interface of the application, where users can upload an image or capture it using a webcam for vitamin deficiency prediction.
Abbildung in dieser Leseprobe nicht enthalten
Fig 5: Image Upload Interface
This figure displays the file upload option in the GUI where users select a fingernail image from their system for analysis.
Abbildung in dieser Leseprobe nicht enthalten
Fig 6: Image Processing and Prediction
This figure illustrates the stage where the uploaded image is processed by the trained MobileNetV2 model to extract features and perform classification.
Illustrations are not included in the reading sample
Fig 7: Prediction Result Display
This figure shows the output screen where the system displays the predicted vitamin deficiency along with the confidence score.
Illustrations are not included in the reading sample
Fig 8: Nutritional Information and Recommendations
This figure presents the detailed information provided by the system, including symptoms, dietary sources, and health advice related to the predicted vitamin deficiency.
6. CONCLUSION
This project successfully demonstrates the practical application of deep learning and computer vision in the field of health diagnostics through the development of a vitamin deficiency detection system. By leveraging the power of MobileNetV2, we built a lightweight yet effective image classification model capable of identifying vitamin deficiencies based on visual cues. The integration of Tkinter-based GUI provides users with a friendly interface to upload or capture images, receive predictions, and access detailed nutritional guidance.
This research presented a deep learning-based approach for detecting vitamin deficiencies using fingernail images. The proposed system utilises the MobileNetV2.(Yashvi Chandola, sciencedirect, 2021)convolutional neural network architecture to analyse visual patterns and classify images into different vitamin deficiency categories. By combining image pre-processing, feature extraction, and transfer learning techniques, the system was able to achieve reliable classification performance.
The developed system demonstrates how artificial intelligence and computer vision technologies can be applied to healthcare problems. The integration of a user-friendly graphical interface allows users to easily interact with the system and obtain predictions in a simple and efficient manner. This makes the application suitable for preliminary health screening and awareness regarding nutritional deficiencies.
The results obtained from the experiments indicate that the MobileNetV2 model is capable of effectively learning important features from fingernail images and providing accurate predictions. The lightweight nature of the model also makes it suitable for implementation in real-time applications and resource-constrained environments.
Key enhancements such as voice assistance, detailed deficiency descriptions, and real-time image capture make the application both accessible and informative. This system not only automates the initial screening for common vitamin deficiencies but also promotes awareness about nutritional health by offering advice and food source recommendations.
While this prototype focuses on image-based detection, it opens the door for further improvements, such as integrating medical history analysis, multi-modal inputs, or mobile deployment for
In conclusion, the proposed system highlights the potential of AI-based healthcare solutions in assisting individuals with early detection of vitamin deficiencies. Future improvements may include expanding the dataset, incorporating additional visual indicators such as skin or tongue images, and deploying the system on mobile or cloud-based platforms to increase accessibility and usability.
7. REFERENCES
[1] Eldeen, A. S., AitGacem, M., Alghlayini, S., Shehieb, W., & Mir, M. (2020, February). Vitamin deficiency detection using image processing and a neural network. In 2020 Advances in Science and Engineering Technology International Conferences (ASET) (pp. 1-5). IEEE.
[2] Kalavathi Devi, T., Baluprithviraj, K. N., Madhan Mohan, M., Uma Devi, S., Sakthivel, P., Rajeshwari, P., &Vinodha, B. (2023). Non-invasive method for the prediction of micronutrient deficiency using sequential learning techniques. Computer Methods in Biomechanics and Biomedical Engineering: Imaging &Visualisation, 11 (6), 2322-2332.
[3] Maruthamuthu, R., & Harika, T. (2023). Vitamin deficiency detection using image processing and a neural network. International Journal of Scientific Research in Computer Science, Engineering and Information Technology (IJSRCSEIT), 9 (4), 200-205.
[4] Sambasivam, G., Amudhavel, J., & Sathya, G. J. I. A. (2020). A predictive performance analysis of vitamin D deficiency severity using machine learning methods. IEEE Access, 8, 109492-109507.
[5] Srividhya, N., Divya, K., Sanjana, N., Kumari, K. K., &Rambhupal, M. (2024). NOVEL METHOD VITAMIN DEFICIENCY DETECTION USING ALEXNET DNN ALGORITHM. EPRA international journal of multidisciplinary research.
[6] Reddy Madhavi, K. et al. (2026). Early Prediction of Vitamin Deficiency Utilising Ensemble Model with MobileNet and NASNet Architectures. In: Bhateja, V., Biju, S.M., Udgata, S.K. (eds) Information System Design: AI and ML Applications. ISDIA 2025. Lecture Notes in Networks and Systems, vol 1565. Springer, Singapore.
[7] Majji V. Appalanaidu (*Department of Computer Science, Pondicherry University, Karaikal Campus, Karaikal, India) and G. Kumaravelan International Journal of Image and Graphics 2024 24:05
[8] Sangaraju, Hrushikesava Raju & Salina, Adinarayana & Prasanna, N. & Jumlesha, Shaik & Sesadri, Uruturu & Hema, Chindu. (2023). Nutrient Deficiency Detection using a MobileNet: An AI-based Solution. 609-615. 10.1109/I-SMAC58438.2023.10290697.
[9] Raju, R., and T. M. Thasleema. 2026. “Nutrient Deficiency Detection and Yield Loss Prediction in Black Pepper Using U2Net and Ensemble of Shallow CNN and MobileNetV2.” Journal of Plant Nutrition and Soil Science189, no. 1: 59-68. https://doi.org/10.1002/jpln.70031
[10] Manihira, N.R., Sethy, P.K. Transfer learning-based lightweight MobileNetV2 with CBAM attention for rice leaf nutrient deficiency detection. Neural Comput&Applic 37, 27179-27198 (2025). https://doi. org/10.1007/s00521 -025-11665-w
[11] Satyanarayana, K. V., Pujitha, G., Vishal, B., & Varma, I. P. (2023). Identification of vitamin deficiency and recommendation of rich vitamin food using machine learning techniques. Journal of Survey in Fisheries Sciences, 10 (2S), 2766-2777.
[12] Roy, K., Chaudhuri, S. S., Ghosh, S., Dutta, S. K., Chakraborty, P., & Sarkar, R. (2019, March). Skin Disease detection based on different Segmentation Techniques. In the 2019 international conference on opto-electronics and applied optics (Optronix) (pp. 1-5). IEEE.
[13] Fiorentini, D., Cappadone, C., Farruggia, G., & Prata, C. (2021). Magnesium: biochemistry, nutrition, detection, and social impact of diseases linked to its deficiency. Nutrients, 13 (4), 1136.
[14] Vitamin Deficiency Detection Using Image Processing,Anagadi Yogesh,Dr. Deepa V. B.Abhishek Ramesh Halagatti, Darshan Girish NayakAkash S. B, Dec 2025DOI: 10.55041/IJSREM55467,ISBN: 2582-3930.
[15] Vitamin D Deficiency as a Risk Factor for Gestational Diabetes Mellitus, Maryam BrijaniKarovai, Reza Yekani, Maryam Homayoun, BrijaniKarovai, Maryam Homayoun.Nov 2024, DOI: 10.22034/6.4.1, ISBN: 2423-6632.
[...]
- Quote paper
- Deva Kranthi (Author), Solipuram Gayathri (Author), 2026, Vitamin Deficiency Detection using Deep Learning, Munich, GRIN Verlag, https://www.hausarbeiten.de/document/1737355