Abstract
Background
Anemia is a significant global health concern, often stemming from iron deficiency or deficiencies in folate, vitamins B12, and A. Anemia disproportionately impacts vulnerable populations like children, adolescent girls, and pregnant or postpartum women.
Purpose
Anemia is a serious public health issue, impairing productivity, cognitive development, and increasing mortality rates. Anemia is usually detected through blood tests measuring hemoglobin levels, but non-invasive solutions are rquired to lower discomfort, enhance accessibility, and allow for regular monitoring. These methods are essential for early detection in vulnerable populations.
Methodology
The research methodology involves extracting valuable information from nail images using data mining algorithms. The focus is on calculating the percentage of blue- and red-stained cells within specific regions of interest in the nail images. Machine-learning algorithms are employed to transform these data into actionable insights for disease diagnosis.
Results
The system demonstrates effectiveness in accurately detecting anemia and providing prediagnosis reports to healthcare providers. The reports include comprehensive information such as patient symptoms, health history, test results, and the doctor’s preliminary assessment. This aids in timely and accurate treatment decisions.
Conclusion
This research showcases the potential of image processing and machine learning in improving anemia diagnosis and facilitating personalized healthcare interventions.
Keywords
Introduction
The healthcare business has advanced significantly in recent years, generating vast amounts of data. These data must be processed to extract useful information for analysis, predictions, recommendations, and decision-making. One crucial area in medicine is predicting disease at the right time, as a lack of accuracy can lead to severe consequences. This study proposes a supervised machine-learning algorithm based on neural network algorithms to predict anemia using old image data collected from pathology centers and clinics. The results show that the naive Bayes method outperforms other algorithms, such as Fundus, in terms of accuracy. Anemia that is severe enough to cause is known to have distinctive Fundus characteristics. Twenty percent of anemic patients reported the development of extravascular lesions. The severity of anemia is also associated with venous tortuosity. Retinopathy, a condition characterized by damage to the blood vessels in the retina, is low hemoglobin (Hb) readings observed also related to acute retinopathy in 28.3% of individuals experiencing anemia or thrombocytopenia. The study focused on identifying ocular manifestations in patients with anemia, highlighting conjunctival pallor and retinal hemorrhages as key indicators. 1 Conducted on 96 patients aged 18–50 at GMC Rajouri, the research emphasized recognizing these ocular signs for early detection and management of anemia. The ophthalmic evaluation was deemed crucial in identifying anemia, showcasing the potential of ocular manifestations in aiding timely diagnosis and treatment. As defined by the World Health Organization (WHO), anemia is characterized by a decrease in blood Hb concentration or hematocrit (Hct) levels below certain thresholds. For adult males, anemia is typically defined as Hb <130 g/L (<13 g/dL) or Hct <39%, while for adult females, it is Hb <120 g/L (<12 g/dL) or Hct <37%. Acute anemia often results from blood loss, causing hypovolemia and organ dysfunction. Chronic anemia presents as fatigue, breathlessness, and paleness. Diagnosis involves assessing RBC production and morphology using tests like the reticulocyte index and blood smear analysis. 2 Postpartum anemia is a serious condition that can significantly impact a woman’s quality of life, cognitive abilities, and emotional well-being.3–6 Due to low-frequency acute retinopathy with anemic patients, its potential applicability as both diagnostic characteristics is limited. Fundus photography is used to detect anemia and accurately quantify Hb levels. Anemia hand pattern analysis is a diagnostic procedure that involves examining the palms for signs and symptoms of anemia. By examining the blood vessels, color, shape, size, and other physical characteristics of the hand, a health professional can identify anemia in the patient. Anemia is a disorder in which insufficient red blood cells, usually Hb, are produced to carry oxygen around the body. Anemia symptoms typically include tiredness, pale skin, and general weakness. Anemia status bill analysis helps healthcare professionals determine the severity of a patient’s condition and make a more accurate diagnosis. The physician reviews the report and decides if hand sample analysis is performed. Prediagnosis reports are essential for providing detailed information to healthcare professionals for treatment decisions. Sending a prediagnosis report to a hospital for treatment can help ensure the patient receives the best possible care. According to the WHO, between 1995 and 2005, 24.8% of the world’s population suffered from anemia. The estimated worldwide level of anemia is 9% in industrialized nations, with 43% in poor countries. The WHO plans to eliminate anemia in half of women of reproductive age (15–49 years) by 2025. An intrusive examination, especially the blood sample collection, might be used to determine whether a person has anemia.
The gold standard for diagnosing anemia is the Hb concentration in human blood. On the other hand, collecting a blood sample is an intravenous process requiring specialized surgical instruments. Diagnostic procedures necessitate considerable effort but may expose healthcare personnel to the danger of getting blood-borne illnesses, and patients must experience discomfort while taking blood samples. Aside from this invasive procedure, there are many non-invasive ways to identify anemia, such as examining conjunctiva, fingernails, palms, and tongue. Its conjunctiva, fingers, palms, and tongues seem somewhat pale, indicating that its blood is low in Hb. Prediagnosis reports are essential for providing detailed information to healthcare professionals for treatment decisions. Sending a prediagnosis report to a hospital for treatment can help ensure the patient receives the best possible care. In order to send a prediagnosis report to a hospital, several steps must be taken. The first step is to obtain the patient’s medical history. This should include any test results, treatments, and medication the patient has taken. The next step is to write an essay summarizing the patient’s current medical status and presenting the necessary diagnostic tests or treatments. This essay can include the patient’s present symptoms, previous medical history, physical findings, and laboratory reports. Also, the given home kit provides images of hand patterns, an analysis report, a prediagnosis report, and a primary health checkup report in PDF for the concerned hospital or doctor. The doctor will suggest the result of treatment based on the analysis. Anemia is associated with symptoms such as tiredness, breathlessness, and emotional instability, which can affect a woman’s ability and increase the risk of postpartum depression and maternal mortality, making it a critical global health concern. Addressing postpartum anemia is essential to ensure mothers’ and newborns’ health and well-being. Efforts to address anemia should focus on targeted interventions such as iron fortification of food and supplementation in specific at-risk groups like young children, adolescent females, pregnant women, and lactating mothers.7, 8 Genetic counseling for hemoglobinopathies is also crucial to prevent severe anemia-related diseases. Overall, there is a need for continued efforts and resources to combat anemia with early detection and prediagnosis. The research comprehensively analyses Hb trends and anemia prevalence worldwide. Using data from 257 surveys, the study highlights the significant burden of anemia, particularly in children and women, and underscores the importance of addressing this public health issue through targeted interventions and policies. Policymakers and public health officials must implement strategies to reduce anemia and improve the health outcomes of vulnerable populations globally. 9 The study utilized data from the National Micronutrient Survey 2011–2012 and the British Geological Survey 2001 to assess key influencers of anemia in Bangladesh. Hb levels were measured using a portable photometer, and ferritin and C-reactive protein (CRP) levels were measured using enzyme-linked immunosorbent assay (ELISA). 10 The study evaluated animal source food intake, groundwater iron concentration, and prevalence of congenital Hb disorders. Statistical analyses were conducted to understand the associations between these factors and Hb levels. The assessment of retinal Fundus images from adults with diabetes found that a deep machine-learning algorithm shows high sensitivity and specificity in detecting referable diabetic retinopathy. Machine-learning algorithms, especially deep learning techniques, have demonstrated potential in medical imaging tasks such as diabetic retinopathy detection. These algorithms can extract predictive features from images, resulting in precise classification. Adjudication processes can enhance algorithm performance by offering a strict reference standard for training. Combining machine-learning algorithms with expert adjudication can improve the precision and effectiveness of diabetic retinopathy screening programs.11–14
Literature Review
A non-invasive method is a technique that does not require breaking the skin or entering body cavities to obtain measurements or perform assessments. Non-invasive methods are essential in healthcare as they provide safer, more comfortable, and lower-risk alternatives to invasive procedures. They are precious for monitoring patients, as they reduce the potential for complications, improve patient experience, and can be used in various medical settings.15–21 The article discusses advancements in multiwavelength pulse oximetry, particularly the “Rainbow Technology” by Masimo Corp. It highlights the non-invasive measurement of dyshemoglobins and total Hb, showcasing improved accuracy in clinical monitoring. The technology allows for continuous monitoring of MetHb, COHb, and Hbt, with the potential for measuring other blood substances in the future. 22 The methodology involved collecting a dataset of lip images, processing them digitally, and using transfer learning CNN models for classification, with 138 individuals involved. Anemia diagnosis is based on WHO standard values. The study utilized a convenience sampling approach and captured high-resolution lip images for analysis by experienced medical professionals. 23 The capturing images of the palpebral conjunctiva using a smartphone camera and analyzing the color intensity of the images. Data on Hb levels were collected using spectrophotometric methods. The color intensity data was then analyzed through regression analysis to establish a correlation with Hb levels. Results showed a correlation between color intensity and Hb levels, indicating the potential for smartphone-based anemia detection during pregnancy. 24
A comprehensive review of research papers on invasive, minimally invasive, and non-invasive methods for measuring Hb levels. The challenges and opportunities associated with each technique compared factors such as data collection sites, biosignal processing techniques, theoretical foundations, photoplethysmogram signal analysis, machine-learning algorithms, and prediction models for Hb level calculation. This analysis recommends developing a practical smartphone-based point-of-care tool for non-invasive Hb measurement.25, 26 Using SpHb, as a non-invasive screening tool in pre-anesthesia clinics can efficiently rule out anemia and quickly identify patients who need further intervention. It streamlines the process by reducing the need to recall patients for lab tests. 27 While SpHb is valuable, traditional lab tests remain the gold standard for accurate Hb measurement and are essential for standard healthcare practices. While SpHb may offer reasonable accuracy, its trending ability is limited in CO2 insufflation and can be influenced by PaCO2 levels.28, 29 More studies are needed to investigate the impact of CO2 insufflation on SpHb measurements. Anemia in heart failure patients incurs significant economic burdens, including healthcare costs, hospitalizations, and readmissions, necessitating effective treatment strategies and resource utilization. 30 The research by Mulani and colleagues focuses on efficient implementations of cryptographic algorithms and image authentication on reconfigurable platforms.28–30 Additionally, their work explores the application of machine learning in various domains, showcasing advancements in chatbot development, blood glucose level estimation, and dermatological disease detection.31–33 Patel et al. focus on field-programmable gate array (FPGA) implementations of advanced encryption standard (AES) algorithms for secure data communication.34–36 Recent research includes studies on IoT-based environmental monitoring, 37 high-throughput AES algorithm implementation, 38 area-optimized AES algorithm on FPGA, 39 secure digital image watermarking, 40 high-speed AES algorithm implementation, 41 cryptographic algorithm optimization, 42 Viterbi decoder implementation approaches, 43 pressure drop analysis in Coriolis flow meters, 44 BIOBOT System for COVID care, 45 chatbot design using reinforcement learning, 31 non-invasive blood glucose estimation, 32 accuracy of Hb monitoring in surgery, 15 Hb monitoring with CO2 insufflation, 46 and economic impact of anemia in heart failure. 47
Materials and Methods
Categories of Predictive Models
This work produced two sorts of predictions in this study: continuous (e.g., Hb or hematocrit, referred to as the “regression problem”) and categorized (e.g., presence or absence of anemia after this “classification task”). Theoretically, a single model may be trained for regression and classification applications. However, they trained separate models for classification and regression tasks to maintain the loss function on a similar scale. This work examined the characteristics of three different kinds of prediction models, each having a unique set of information for each one of these tasks. This work utilized linear regression as a foundation for said regression task and logistic regression for said classification challenge. Only demographic and data are utilized in these linear as well as logistic regression models (“metadata” refers to race, age, gender, smoking status, systolic and diastolic blood pressure, pulse rate, length, and weight, as well as body mass index). “Metadata models” are what they are. The second model employed a convolutional neural network (CNN) (explained in more detail in the following section) as input and a Fundus picture as output (“Fundus-only model”). The fourth and final classifier type considered both meta and Fundus photos. Before a wholly linked layer, metadata is combined with the output using Inception v4 architecture 44 (“joint model”). Essentially, the Fundus image is passed into a deep learning model (like the Fundus-only model), and the deep convolution program’s output and metadata are integrated into the joint model’s final layer (i.e., the “late fusion model”).
Development of the Machine-learning Algorithms
As previously indicated, Fundus pictures are preprocessed, and input metadata, including continuous target output (such as Hb), are normalized to have zero mean and unit variation. A deep convolutional network with the Inception v4 framework is being created and then trained with TensorFlow using these data. The Inception v4 system has been seeded utilizing values from networks that had previously been trained to identify objects inside this image dataset, whereas auxiliary network weights form metadata being seeded at randomness. For the regression task, the squared error has been utilized as the loss function, while the cross-entropy is employed for the classification job. The model is trained on something like a Google Tensor Processing Unit accelerator using momentum stochastic mini-batch gradient descent using linear warm-up. The proposed training process is selected to reduce the number of mistakes inside this tuning dataset because the network has 43 million variables. Humans halted training during convergence to avoid overfitting by halting 50 parameters earlier based on training dataset performance.
Data Availability
Accessible is the evidence to support their study’s results limitations through using old image data collected from pathology centers or clinics.
Patient Report Generation and Send to the Doctor or Consultant Hospital
The system detects whether the anemia is present and provides an assumption of various diseases. The detailed flow diagram is shown in Figure 1. All patient details include enrolled history and primary health reports like temperature, SpO2, and body pressure. The captured images and report data are sent to the Consultant hospital or the concerned doctor via email with a PDF file.
Proposed Design Flow.
The image of nails taken by a camera with a color detection algorithm will be provided to the Expert System for Disease Diagnosis (ESDD). The system is trained to set data and will compare the input image with all its data for further predictions of any diseases.
Proposed System Architecture
The proposed design flow is depicted in Figure 1. The proposed system includes a camera, color detection algorithm-trained data set and ESDDS. The input from the camera of nail is given to the ESDDS, which will be further processed with the color detection algorithm and trained data set to predict the anemia. Various tests, including lab tests, urine samples, and symptoms in numerous body areas, may be used to diagnose sickness. This work proposes a system that will take a nail picture as input and forecast probable illnesses based on color shifts as output, as shown in Figure 2. This work is not concerned with system correctness since this is the initial step toward a flawless system.
Flow Diagram of ESDD.
The primary goal of this solution design is to produce a cost-effective and time-saving application for usage in the healthcare area. The system uses a nail picture as input.
Further, the image will be preprocessed to compare it with the dataset. The output is given to the color matcher, and diseases are predicted if the match is found. The suggested approach will aid in avoiding unnecessary testing in the early stages of sickness. Figure 3 shows the actual image of the prediagnostic device.
Prediagnosis Device.
The process of Hb detection using nail images entails the acquisition of high-resolution images of the nail bed, followed by preprocessing techniques to enhance clarity. Subsequently, the nail bed region is segmented, and relevant features associated with Hb levels are extracted. Machine-learning models, particularly CNNs, undergo training using datasets that have been labeled to make accurate predictions. The integration with Raspberry Pi allows for real-time processing and the development of user-friendly interfaces for clinical or research purposes. This integration has undergone extensive testing and optimization. Finally, it will forecast potential disorders. Patients and physicians may indeed utilize this approach in healthcare.
Data Input Constraints
Nails should be clean and free of color, such as nail paint or artificial markings.
The photograph should be shot in natural light.
The image backdrop should be white or black.
The image should be clear and without flash.
System Architecture
The ESDD system will consist of the following steps:
Capture and upload nail pictures to the ESDD system.
Using the ESDD system’s graphical user interface (GUI), pick the region of interest (ROI) of an image for illness prediction.
Send the ROI picture component and personally identifiable information to the system for further processing.
On the server side, figure out the average RGB color of the ROI of the nail picture.
Obtain the nail color in RGB format for the picture supplied.
The server communicates the existence or absence of illnesses, as shown in the tabular style on the GUI.
Training Dataset Using Fundus
In ESDD, the Fundus tool trains data (nail photos of patients) for the proposed system. The proposed system gathers photographs featuring patients attending the hospital in this section. These photos are sent to imageUtils.java to determine the median RGB of the image, followed by diseaseclassifier.java, and categorized into these averaged RGB values.
The Fundus Algorithm Follows These Steps
Step I: Such a decision tree is created utilizing its algorithms, and a dataset collection.
Step II: At each node within the tree, the algorithm picks the property that divides the sample across subsets with a larger prevalence within one subclass than the other.
Step III: Its standardized information gain determines these divides (energy disparity).
Step IV: This choice is made using the property with the largest averaged extracted features.
Step V: This method then recourses across a particular sub.
This Algorithm has Three Base Cases
Case I: If all the samples belong to the identical classification, the leaf node identifying a specific class becomes produced.
Case II: If no component delivers information gain, then the class’s predicted value is utilized to implement economics further up the tree.
Case III: If a previously unknown class is discovered, the anticipated value is utilized to generate an implementation of economics further up the tree.
The ESDD method is evaluated using more than 100 nail frames from 20 people. The ESDD system’s performance is evaluated based on both genuine acceptance rate (GAR) and false acceptance rate (FAR). Overall, the GAR has been the proportion of items that match the entire number of tests. The overall FAR seems to be the ratio of the overall series of tests to the quantity of actually nonmatching specimens recognized by the system.
Results
Figure 4 shows the images taken by a camera for hand nails. A sample of the report is also given for detailed analysis. Hb levels can be detected through nail images through a multi-step process. High-resolution images are acquired, preprocessed, segmented, and features extracted. These features train machine-learning models to predict Hb levels. Validation ensures accuracy. Once validated, the model can be used for non-invasive Hb monitoring. Patients can capture nail images via a smartphone app, aiding early anemia detection and monitoring changes over time. Ethical considerations like patient consent and data security are crucial.
Nail and Hand Images.
Sample of Report
Based on the report, it appears that the patient, who is 40 years old with a body temperature of 99.2℉ and a blood pressure of 114, is found to have a 90% match with anemia.
Discussion
The analysis date is January 25, 2022, and the patient’s SpO2 level is 94%. The patient reported symptoms of weakness and body pain. The report concludes that anemia has been detected. It would be helpful to review the patient’s treatment history to understand their prior medical conditions and interventions.
Conclusion
In conclusion, the proposed system for disease diagnosis using nail image analysis showed promising results with a high degree of accuracy. The system consists of several essential components, including image acquisition, image processing, and disease prediction using the Fundus algorithm. The input image constraints ensure that the images are captured in optimal conditions for accurate analysis. Based on the decision tree algorithm, the Fundus algorithm uses a training dataset of nail images to classify the presence or absence of diseases. The service’s performance is measured using GAR and FAR, and the results indicate that the system is effective in detecting the presence of diseases. The results of the system are compared to clinical findings, and the proposed system is found to be a reliable alternative to current invasive diagnostic methods. Using individual calibration in the future could further improve the system’s accuracy. This work can be used as a non-invasive screening method for disorders other than anemia. Therefore, further modification and testing may make it feasible for first or clinical usage. The proposed system highlights the potential of using human nails as a diagnostic tool in the healthcare domain and provides an efficient and cost-effective solution for disease diagnosis. It also seems to have the ability to alter how illnesses are diagnosed in the future.
Summary
The developed system for disease diagnosis using nail image analysis has shown promising accuracy, incorporating image acquisition, processing, and disease prediction through the Fundus algorithm. With strict input image standards ensuring optimal analysis conditions, the system’s performance metrics indicate effectiveness in disease detection. Compared to invasive methods, it presents a reliable non-invasive alternative validated against clinical data. Future enhancements like individual calibration could further boost accuracy, making it a viable screening tool for various disorders beyond anemia, potentially reshaping diagnostic approaches in healthcare.
Footnotes
Acknowledgments
None.
Declaration of Conflicting Interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Ethical Approval
Ethical approval was not required for this study.
Funding
The authors received no financial support for the research, authorship, and/or publication of this article.
Informed consent
Informed consent was not required for this study as it involved publicly available data or posed minimal risk to participants. However, confidentiality and ethical standards were still strictly maintained throughout the research process.
