Hemoglobin Screening Using Cloud-Based Mobile Photography Applications*

Monitoreo de hemoglobina usando aplicaciones móviles de fotografía basadas en la nube

Ingeniería y Universidad, vol. 23, no. 2, 2019

Pontificia Universidad Javeriana

Luis Mass Noriega

Universidad del Norte, Colombia

Pedro Wightman Rojas a

Universidad del Norte, Colombia

Augusto Salazar Silva

Universidad del Norte, Colombia

Date received: 30 July 2018

Date accepted: 05 May 2019

Date published: 06 December 2019

Resumen: Objetivo: Este articulo pretende presentar Selfienemia, un aplicativo móvil capaz de realizar estimación no invasiva de hemoglobina en condiciones de iluminación controladas.Materiales y métodos: La aplicación móvil fue desarrollada junto con una plataforma de optimización paramétrica y ajuste de curvas para proveer resultados dinámicos e independientes del dispositivo basado en observaciones a priori y la escala colorimétrica de la Organización Mundial de la Salud. 32 y 64 individuos fueron sujetos de la fase de entrenamiento de la aplicación y posterior prueba a ciegas respectivamente.Resultados: Se encontró Selfienemia como una herramienta apropiada para la estimación no invasiva de hemoglobina. Los niveles de estimación mostraron alta correlación en contraste con la prueba invasiva. Se encontraron relaciones especificas entre los componentes del color y las tonalidades de la piel respecto al error obtenido por los resultados fotográficos. Conclusión: Se ha encontrado que Selfienemia podría ser una estrategia efectiva para el monitoreo de hemoglobina en escasez de recursos médicos. Sin embargo, esta no puede reemplazar el análisis invasivo tradicional. El trabajo futuro debe incluir técnicas de ajuste para considerar condiciones de iluminación diversa, así como la determinación de los efectos de la pigmentación de la piel en los resultados obtenidos.

Palabras clave: análisis, nube, escala de color, hemoglobina, aplicaciones móviles, fotografía, Organización Mundial de la Salud.

Abstract: Objective: This paper aims to present Selfienemia, a novel non-invasive hemoglobin estimation mobile application working under controlled illumination conditions.Materials and methods:This work develops a mobile application along with a parameter optimization and curve fitting backend in the cloud to provide dynamic and device-independent results based on prior observations and the World Health Organization’s (WHO) color scale.Thirty-four and sixty-four individuals were involved during both the mobile app training and posterior blind test respectively.Results: Selfienemia (Mobile App) was found to be suitable as a non-invasive hemoglobin estimation tool under controlled lighting conditions. Estimation levels showed high correlation against the gold standard invasive test. Skin pigmentation and color components were found to be related to error attained by photo results.Conclusion: Selfienemia may provide an effective way to screen hemoglobin in medical shortage situations. However, it still can’t replace traditional invasive testing. Future work must include testing additional fitting techniques for illumination aware scenarios as well as quantification of skin pigmentation effects on estimation results.

Keywords: analysis, cloud, color scale, hemoglobin, mobile applications, photo, World Health Organization.


Using smartphones for automation and assistance with everyday tasks has become an increasing trend. These devices have a wide range of applications, but health applications stand out as one of the most often considered fields of study. Specifically, preventive medicine and telemedicine are the most common approaches embraced with smartphones and general Internet of Things (IoT) devices [1], [2]. In the preceding decade, mobile applications ranging from RX management to complete treatment tracking [1]–[3] have been used.

One of the most challenging afflictions treated with mobile phones is anemia, a disease featuring an oligo-element need. Currently, anemia stands as the world’s second cause of malnutrition and is one of the most important public health issues globally [4]. Half of pregnant women and children under five years are affected by some type of anemia, and iron deficiency anemia (ferropenic) specifically is addressed in annual reports due to its high mortality rates in developing countries [4].

Many initiatives have been implemented over the preceding decade to help reduce the effects of anemia in developing countries [5]. Most of the causes attributed to anemia mortality involve the population’s lack of knowledge of how to identify early symptoms as well as a lack of physical home diagnostic tests, and global organizational efforts have had little success in providing medical resources and coverage to specific areas [4]. As technology has spread even faster than has medical coverage [6], this paper aims to develop a mobile application to act as a physical prevention and diagnosis tool for high-confidence hemoglobin estimation, while it is not expected to replace conventional laboratory testing any time soon, it has the advantage of performing a noninvasive analysis, which is very useful in cases of shortage of medical resources.

This article is organized as follows. In the next section presents related studies performed to date, and then continues with the description of a method of anemia detection based on the World Health Organization’s (WHO) hemoglobin color scale [7]. In testing section presents an experimental designed to field-test the method. And results section reports experimental results. Finally, the lasts sectionscontain the discussion and conclusions, respectively.

Related Studies

This research focuses on designing and developing an application suitable for hemoglobin estimation. First, it is important to define anemia. According to [8], anemia (ferropenic anemia) is a condition characterized by improper red cell volume and low hemoglobin concentrations. Anemia’s causes are diverse; among them are iron deficiency, blood loss or hemolysis. This disease affects almost 30 % of the world population or more than 2 billion people globally [5], [8].

According to the World Health Organization, stable hemoglobin levels are fundamental to preventing anemia. The current standards measure hemoglobin levels as grams of iron (Fe) per deciliter of blood (g/dl) [9]. [9] and [10] state that a concentration over 11 grams per deciliter (>11 g/dl) is necessary to consider an organism stable. Normally, the complete blood count (CBC) is the procedure used to obtain these results; it is the gold-standard laboratory test for analyzing blood samples focusing on hemoglobin levels, corpuscular medium volume (CMV) and the overall medical condition [4], [9]. Testing requires ordinary lab equipment and facilities, and several organizations and authors have performed important research related to strategies that can be used when medical assets are either limited or unavailable. We present those approaches below.

Hemoglobin Color Scale

The World Health Organization introduced in 2002 a novel way to determine early anemia symptoms by creating a red-value color scale for blood, based on the hemoglobin levels that make blood darker in the case of high concentrations or more pallid under the opposite conditions [7]. Figure 1 shows the scale developed by the World Health Organization.

World Health Organization’s hemoglobin color scale
Figure 1
World Health Organization’s hemoglobin color scale

WHO [7]

The procedure of using this scale consists of placing a minimal amount of blood on a slide and performing comparisons to determine the color group that best matches the color of the sample taken. Despite its simplicity, it has a high variability rate because of subjective visual matching, as reported by several countries’ low-end care centers [11]–[13]. [12] later concluded that confidence levels of this method relying on the human vision for group association were lower than 60 %.

However, [11] concluded that the hemoglobin color scale was suitable for performing anemia detection tests using color calibration curves when trained automated systems performed the association process. The results increased confidence levels up to 80 %.

Noninvasive Diagnostic Method

Even though a hemogram test is a proper approach to hemoglobin assessment, some noninvasive strategies are considered if the conventional invasive test is unsuitable. The most widely used method is pulse oximetry, which uses a finger prick and pulsatile light wavelengths to determine oxygen saturation and oxyhemoglobin concentrations according to the Beer-Lambert absorbance law [14], [15] that states that every substance has the ability to absorb and radiate energy depending on its thickness, or specifically, its concentration. Such ability to retain a small amount of radiation is called absorbance; it is constant and does not depend on the radiation source (visible light is the most common source) used but is proportional to the distance light must travel into the absorbing substance. Additionally, the transmittance is defined as the quotient of the incoming luminous flow (absorbed) and the outgoing luminous flow (radiated) as shown in equation 1:

Equation 1

is the sample’s transmittance,

is the incoming luminous flow,

is the outgoing luminous flow,

is the optical density of the measured substance, and has a value specific to every substance, and

is the sample’s absorbance, a measure inverse to transmittance.

Pulse oximetry distinguishes two types of hemoglobin: One carrying oxygen called oxyhemoglobin (HbO2) and the reduced hemoglobin (Hb). As the two types are different kinds of substances, both absorb light at different light wavelengths, giving the pulse oximeter the ability to measure the proportions of HbO2 and Hb in blood flow by using two different light sources and different wavelengths [16]. The result of pulse oximetry is the estimation of oxygen saturation (SpO2) defined as the proportion of oxyhemoglobin (HbO2) in the total hemoglobin measured (Hb + HbO2) as shown in equation 2:

Equation 2

On the other hand, spectrophotometry uses the same principle of a pulse oximeter to estimate the hemoglobin level, but the sample is exposed for a considerable amount of time to a monochrome light beam that irradiates the analysis area and uses a calibration curve based on light absorbance and transmittance of a certain substance [17]–[19]. A spectrophotometer uses the following equipment in its operation:

1. A general-purpose light source.

2. Spectrometer: a device capable of decomposing a light source into an individual monochrome beam using a prism.

3. Photodetector: a device that measures the residual radiation using a photon reader.

Figure 2 shows the process of light absorbance from source irradiation to blood and tissue absorption. In the diagram, light strikes the surface with intensity after traveling the distance without being absorbed by the air. Afterwards, light intensity decreases exponentially according to the distance of penetration into the tissue medium. Finally, light of intensity exits the absorption medium to be read by a photodetector that computes the difference ( ) between initial intensity and residual intensity.

Spectrophotometry workflow
Figure 2
Spectrophotometry workflow

Wieben [16]

Even though spectrophotometry and pulse oximetry provide a consistent method for analyzing blood without venipuncture, the need for bulkier and specialized equipment remains a concern, particularly in developing countries where medical resource shortage is common.

Non-conventional approaches have been developed to address the need for specialized equipment. [20] identified the relation between conjunctive vasculature with anemia as several blood tissues irrigated the conjunctive area. As a result, the physical diagnostic of such vasculature matched with theresults determined by the WHO color scale relating the pallor of blood tissues regarding lower hemoglobin values [7] and [20]. However, this technique did not provide results with enough confidence, and another method was required, as [12], [21] and [22]observed pallor to be effective in determining early anemia symptoms and proposed examining palmar creases exposed to a high-intensity light source to verify pallor association with HCS. This process could not be automated.

[6] and [23] used the proposed method to systematically verify the consistency of palmar creases or tongue analysis and HCS and evaluated pallor to identify a consistent detection method. The findings were promising, as tests resulted in high confidence values (>80 %).

Use of Medical Photography for Hemoglobin Assessment

As the findings of both [6] and [23] were promising, the use of photography provided an efficient way of eliminating the human eye association factor from both invasive and noninvasive methods used at the time and prevented long exposure times to light sources that could contribute to stress for both patients and practitioners.

[24] demonstrated the use of photography to noninvasively determine hemoglobin levels using the palpebral conjunctiva. The usage of this method relied on specialized and expensive medical photographic equipment to properly analyze photographic samples. [25] provided a clear analysis of using a digital version of HCS, testing both performance and analysis capabilities . This scale provided a standard for photo-taking and comparison, aiming to automate the analysis stage in low-resource environments.

As hemoglobin color recognition is not a novel technique, the analysis and association stages have been improved using machine learning algorithms to provide higher confidence levels. [26] first used small blood samples on a plate and designed an artificial neural network to estimate hemoglobin levels. [25] also performed a similar process using the nearest neighbor algorithm.

Use of Smartphones for Medical Assessment

Despite providing good methods for lower end analysis, resource mobility of health assets remains a discussion topic [9]. [3] presented a decision support system to help diagnose diabetic retinopathy using smartphones. This result showed that smartphones could effectively combine both high confidence levels and mobility.

However, the most important findings using mobile apps determining hemoglobin levels for diagnosing anemia consist of two apps. HemaApp presented by [27] is a novel mobile app using a smartphone camera and a specialized light beam on a finger prick to estimate hemoglobin levels similarly to the approach of a pulse oximeter. HemaApp, unlike others, uses a series of monochrome light time pulses and a matching algorithm to estimate the hemoglobin level based on the Beer-Lambert law feature selection [27].

The second app, the contest award-winning EyeAnemia™, takes advantage of the relationship of conjunctival vasculature and anemia detailed by [20] and, unlike HemaApp, assesses anemia but does not report a specific hemoglobin concentration [27].

Most mobile photo apps for image manipulation do not have robust cloud-based support and mostly rely on local algorithms; their processing is limited by memory and computing capabilities of the device. Moreover, light conditions have proven to be a significant challenge, particularly as several camera devices and accessories available in the market, using the same model, would be expected to produce comparable results.


In this paper, we propose an automated method for determining hemoglobin concentrations using medical smartphone photography. The application called Selfienemia initially operates under standard controlled light conditions and using the color association methods through a mathematical model generated by a cloud service consumed from a smartphone. This application uses a custom camera API outside the device’s default app to provide the maximum control of photographic variables and capture constraints. To build this application, several aspects are defined first.


The development platform for a mobile app build should be hardware-invariant to minimize the camera specification changes. This constraint is satisfied by mobile ecosystems experiencing low growth. The Microsoft® Windows Phone, and the Apple iOS ecosystems provide several hardware-invariant phone models, as the same vendor provides all handset cameras for each range. However, the Windows Phone platform was chosen over iOS to develop Selfienemia due to the following reasons:

1. It is compatible with Windows 10 devices and fully functional under the Universal Windows Platform (Windows 10 Core, IoT, and Mobile). The Universal Windows Platform (UWP) allows the source code to run on other platforms, such as IoT devices.

2. This platform provides extended image manipulation libraries in the Microsoft Imaging SDK, which is used in Microsoft® training systems to identify objects with a picture.

3. This platform can integrate App Insights, which can monitor application usage to identify improvement patterns.

4. The source code is compatible with cross-platform SDKs such as Xamarin, facilitating multiplatform availability.

5. It is comparatively easy to use RESTful services for the Web Objects store in Microsoft Azure (e.g., in the Azure Machine Learning Studio).

Illumination Conditions and Capturing Images Outdoors

Photo tests must conform to common pre-established conditions where HCS has been demonstrated to be effective. According to [25], cool white fluorescent light bulbs provide a consistent color temperature for effective color association.

For this experiment, to achieve unchanged illumination, photo capture must be performed indoors using fluorescent light bulbs positioned in the center of the room. Attempting to perform the experiment outdoors may result in misleading findings.

Photo Capture Specification

Photo capture is device-dependent, as camera hardware tends to change over time. In this experiment, the minimal photo resolution of 72 dpi and the image size of 2 megapixels or above (2560x1920) are required.

Additionally, illumination conditions and the white balance must be adjusted digitally to attain color fidelity and consequently obtain meaningful data for color analysis. The literature suggests that color fidelity is best if the color temperature is between 5500 K and 6000 K, which corresponds to the fluorescent to natural daylight spectrum [28], [29]. The shutter speed, which is an important factor in the subject’s exposure, is set to be determined automatically, given the limitations of the SDK in adjusting this feature manually.

Furthermore, photo capture must be performed at a maximum distance of 8 cm from the subject with the phone standing 90° above the ground. Evaluated images use both tongue and conjunctiva as analysis areas [30]. Finger prick images are not considered during this stage due to the need for special equipment that increases the complete solution’s cost.

Curve Fitting Model

Once the application has been completely installed onto a mobile device, a color fitting model is loaded onto the device to estimate hemoglobin levels based on color components extracted from a photo. We describe the generation of this color model as follows:

1. Select a sample of at least 15 to 30 individuals. Perform an invasive hemoglobin lab test using the complete blood cell count (CBC). For this study, lab results from 34 individuals were used to perform the curve fitting. Rejection criteria for this group were the presence of conjunctivitis, skin trauma or jaundice. Additionally, pregnant applicants were not considered [26].

2. Obtain photo shots of every desired area in macro mode under conditions established in section “Illumination Conditions and Capturing Images Outdoors”. We performed this procedure thrice per individual to reduce bias in photo capture.

3. Select the mean RGB, ISO, and exposure detected among three photo shoots of each individual using the Euclidean distance algorithm [31], [32]. Using more photographic variables and histogram data helps create a better model but incurs the increased compute cost. However, in this study the computed parameters only include the ISO and the exposure control. We do not adjust other variables, such as the focal aperture, the shutter speed, and the white balance due to the unchanged illumination conditions set for this experiment. Therefore, the device determines settings for these variables automatically.

4. Perform exponential, polynomial and logarithmic curve fitting to datasets using numeric derivative-free approximations and choose the one offering the lowest residual mean.

5. Obtain polynomial, exponential and logarithmic curve fitting adjustments for both combined datasets. Select this as smartphone color model. We show the equations for the adjustments as follows:

Equation 3


is the hemoglobin concentration (g/dl) measured using the gold-standard invasive testing,

is the adjusted image color component of red, green and blue (RGB) values, and

are empirical constants estimated using a third-order trust region model, the RGB data and the CBC hemoglobin count.

In step 3, even though a color analysis must include in the sRGB spectrum measures of red, blue, green and alpha attenuations in samples under standard and controlled light conditions, the alpha measures are almost constant, so we do not consider it in curve fitting.

Overview of color model generation after executing equation 1, of curve fitting modelsection
Figure 3
Overview of color model generation after executing equation 1, of curve fitting modelsection

Source: own elaboration

Figure 3 shows the model generation steps (2 to 5), in which outputs of several mathematical equations (one for each image analysis component) are used later by the phone to perform an autonomous analysis. This process can be automated and repeated with newly obtained data in the future using a cloud provider (such as Microsoft Azure) to generate a stronger association model and reduce the false positive detection rate.

Cloud Model Generation

First, to build the estimation model, the significance of approximations in step 5 of curve fitting model sectionmust be estimated. To estimate , 3 individual (patient) approximations must be computed to generate a single value (the Hb estimate).

The Microsoft® Azure Machine Learning Studio platform was used to compute parameter estimates for the approximation models presented above using two data mining techniques: a two-class logistic regression algorithm and a neural network implementation. We selected this platform due to its ability to create incremental datasets for either training or blind test and output results to a web service that can be accessed later by a mobile application (Selfienemia). Figure 4 shows in brief the workflow of the Azure ML Studio parameter computation stage. We describe the parameter estimation procedure as follows:

1. Project only columns for the blood dataset in the project.

2. Clean missing patient data as samples are obtained from various places.

3. Run the PCA analysis to include only the necessary data during training steps. This is performed to mitigate the computation of irrelevant variables in the dataset.

4. Split data for testing generated models later. The chosen proportion was 70 % for training and 30 % for testing.

5. Use a two-class logistic regression estimator and a neural network estimator on the sample computed dataset.

6. Test the model, choose the significant parameters and lower the variability of the approximation.

Overview of parameter estimation for approximations in curve fitting modelsection
Figure 4
Overview of parameter estimation for approximations in curve fitting modelsection

Source: own elaboration

After testing the curve fitting models explained in section “Curve Fitting Model”, a linear fitting model was observed to best approximate the data gathered from the lab test and the phone. Since the original HCS has only a small set of red variants, we must identify at least three sub color variants to have enough data to determine a curve fitting model. We obtain the following linear model:

Equation 4


is the estimated hemoglobin concentration,

are the estimated parameters,

are the RGB estimates supplied in the curve fitting step,

is the light sensitivity of the imaging device the image is captured, and

is the standard deviation of known measures in control group photos.

According to the model’s definition for sample surfaces with darker skin tones, lower red values of RGB samples result in higher Hb values.

Data Delivery Strategy

After the computing stages, the app continues to follow the parameters by using a RESTful service. An advantage of this implementation is that the generated model can learn continuously as well as perform significance assessments as it gains extra information, e.g., the photo capture device information (i.e., aperture, focal length or exposure), in further experiments.


For testing purposes, we considered a sample of 64 patients to blind test both significance and confidence between conventional lab tests and Selfienemia’s results. Before testing, all 64 patients gave written medical consent. A complete blood cell count was performed on all selected applicants to obtain a comparison factor. Patients’ ages ranged from 18 to 67 years, and we imposed rejection criteria similar to those used in model generation. Such criteria considered the presence of conjunctivitis, skin trauma or jaundice. Additionally, this experiment excluded pregnant individuals [26]. The origin and gender characteristics of the population tested are presented in table 1.

Table 1
Overview of ethnicity of patients chosen for this study
Overview of ethnicity of patients chosen for this study
Source: own elaboration

According to table 1, the ethnic groups in this experiment include Latinos of mixed ethnicities, Caucasians, African American individuals and subjects from several indigenous groups that exist in Colombia (identified as “Mixed”). In contrast to the model generation group, the photo-taking only included one instead of three images of every area, following the image capturing specifications in section “Selfienemia”. Both sets of samples, lab results, and images were used to create the estimation model in the cloud application.

The application of the Delta E color distance algorithm was still required to evaluate further how inclination and light incidence affected color reproduction. Finally, a persistence module was developed to describe an individual’s evolution while using the application in different conditions as well as to improve model generation. To evaluate the results obtained by the mobile application, we used a Bland-Altman agreement plot along with a conventional scatterplot focusing on the residual information and loss.

The persistence modules include both mobile support and cloud asset storage of previous user data with user consent. Data will be used for further analysis to improve the confidence in smartphone application’s results compared to those of invasive analysis. To explain the process better, figure 5 summarizes the testing workflow.

Source: own elaboration
Figure 5
Source: own elaboration

After the data collection according to the workflow in figure 4 had concluded, the resulting dataset for the sample group contained the following components:

1. CBC lab test’s hemoglobin levels.

2. Application-output estimated level.

3. The percentage difference between values in items 1 and 2.

4. The difference in Hemoglobin values (g/dl) between invasive laboratory testing and the application output.

5. Patient’s diagnosis according to the World Health Organization’s color scale.

The application output using the newly estimated model is shown below in figure 6.

Selfienemia’s test output for the tongue application
Figure 6
Selfienemia’s test output for the tongue application

Source: own elaboration


A total of 128 images (64 tongue images and 64 conjunctiva images) were collected using the mobile application. The mean age of the evaluated patients was 22.1±18.1 (S.D.) years with a range of 18-67 years. The means and standard deviations for the invasive test (CBC), and the results obtained from the mobile application using tongue as the analysis area and the mobile application using conjunctiva are shown below in table 2.

Table 2
Overview of patient’s results according to both invasive and noninvasive tests
Overview of patient’s results according to both invasive and noninvasive tests

Source: own elaboration

At the first glance, both the African American and mixed groups present the highest mean error in comparison with the invasive test, which suggests that skin color has some effect on the captured color, especially that in the conjunctiva test. We obtained the Pearson rank order correlations for both tongue and conjunctiva test sets, with the results of and , respectively. As to the error between the samples and conventional invasive testing, Selfienemia attained an impressive value of 0.62 g/dl among the general population using tongue as the analysis area and the error of 4.74 using the conjunctiva.

A breakdown of collected images was additionally performed to analyze how color bands performed individually, identifying healthy individuals. C

Color histograms for a healthy patient’s determination
Figure 7
Color histograms for a healthy patient’s determination

Source: own elaboration

Figure 7 implies that the red channel is the discriminating feature when clustering individuals into “healthy” (Hb > 12 g/dl) and “unhealthy” (Hb < 12 g/dl) groups, while green and blue histograms are less discriminating. However, when we repeated this procedure for lower Hb levels such as 4, 6, 8 and 10, we observed that the green channel tended to perform better in distinguishing low results [25].


Our implementation of Selfienemia under controlled illumination conditions shows favorable comparisons to traditional invasive testing. Even though Selfienemia has achieved significant results, it still cannot replace laboratory tests such as CBC; nonetheless, it provides an efficient candidate tool for screening in cases of resource shortage. Figure 8 presents the Bland-Altman graph that shows that the mobile app achieved satisfactory performance, since there are no atypical values (outside two standard deviations). The bias turns out to be close to zero (±0.1091 g/dL). As a result, Selfienemia, under controlled illumination conditions, agrees positively with conventional lab tests.

Analytical results of Selfienemia vs. full blood count tests under controlled illumination conditions
Figure 8
Analytical results of Selfienemia vs. full blood count tests under controlled illumination conditions

(a) Bland-Altman plot of tongue images captured and CBC

(b) Comparison of lab measurements (red circles) and photo-enhanced mobile app used on tongue analysis (blue asterisks)

(c) Bland-Altman plot of conjunctiva images captured and CBC

(d) Comparison between lab measures (red circles) and photo-enhanced mobile app used on conjunctiva analysis (blue asterisks)

Source: own elaboration


Source: own elaboration


Source: own elaboration


Source: own elaboration

The proposed model compares well to an ordinary hemogram under standardized image capture conditions resulting in it being 91.89 % sensitive (34/37) and 85.18 % specific (23/27) for tongue analysis and 91.89 % sensitive (34/37) and 70.34 % specific (19/27) for conjunctiva, which shows that tongue analysis under standardized controlled conditions offers better results than does conjunctiva analysis. However, the attained regression adjustment is 0.69 and 0.57, respectively; this is a very good result compared to a traditional invasive test in resource shortage situations and is supportive of previous findings of low association rates between the conjunctiva and invasive testing.

The results of a comparison to other solutions such as HemaApp are similar; HemaApp assessed a maximum rank order correlation of 0.82 among three illumination scenarios, with the maximum sensitivity, and specificity of 85.7 % and 76.5 %, respectively. These results are very similar to those obtained with Selfienemia, except for specificity, where Selfienemia scores higher when applied to tongue analysis (85.18 % vs. 76.5 %).

Regression values agreed with the Selfienemia results, as the training group was not as ethnically diverse as the test group. Aside from patients’ sample characteristics, among over 14 photo variables, only 5 of them were used to compute a working model.

Despite the images being captured in a closed room, illumination was observed not to be as constant and effective as it was thought to be. Shadow information and perceived color temperature must have influenced how the imaging device homogenized lighting across the frame.


As a result of this study, we conclude in agreement with [3] that mobile applications can be used effectively in the medical field to create decision support systems for disease detection and diagnosis. This study achieved low-cost hemoglobin estimation using medical photography of the tongue and the conjunctiva, and artificial intelligence, which represents its most significant contribution to future research.

Hemoglobin determination via mobile applications was observed to be suitable for future development, as was the use of the application under controlled and standardized image capture conditions. Consequently, under controlled conditions, image capture and analysis provided results with high confidence levels as well as test automation.

We conclude that the sensor size is a key factor in capturing quality images, as are phone inclination and the light incidence angle. Wider aperture sensors manage to capture more light, resulting in more consistent colors and reliable images [25] .

In the future research, we need to develop an illumination-aware association algorithm accounting for device capabilities under nonstandard conditions. We propose including mobile sensor device information for both standardized and nonstandard image capture conditions to reduce phone resource usage and represent hardware variability.


[1] C. A. Viloria Núñez, P. Sanmartín Mendoza, K. Avila Hernández, and D. Jabba Molinares, “Internet de las cosas y la salud centrada en el hogar,” Rev. Cient. Salud Uninorte, vol. 32, no. 2, Jun. 2016. Available: http://rcientificas.uninorte.edu.co/index.php/salud/article/view/7580/9824

[2] K. Avila, P. Sanmartín, D. Jabba, and M. Jimeno, “Applications based on service-oriented architecture (SOA) in the field of home healthcare,” Sensors, vol. 17, no. 8, Jul. 2017.doi: 10.3390/s17081703.

[3] P. Prasanna, S. Jain, N. Bhagat, and A. Madabhushi, “Decision support system for detection of diabetic retinopathy using smartphones,” in 7th Int. Conf.Pervasive Comput. Technol. Healthcare(PervasiveHealth), 2013, pp. 176–179.doi: 10.4108/icst.pervasivehealth.2013.252093

[4] World Health Organization (WHO), “Anaemia prevention and control.” [Online]. Available: http://www.who.int/medical_devices/initiatives/anaemia_control/en/. Accessed: Jul. 12, 2017.

[5] World Health Organization (WHO), “Global Targets 2025.” [Online]. Available: http://www.who.int/nutrition/global-target-2025/en/. Accessed: Jul. 12, 2017.

[6] G. Santra, “Usefulness of examination of palmar creases for assessing severity of anemia in Indian perspective: A study from a tertiary care center,” Int. J. Med. Public Health, vol. 5, no. 2, pp. 169–172, 2015.doi:10.4103/2230-8598.153830

[7] M. Dobson, “World Health OrganizationHemoglobin colour scale: A practical answer to a vital need,”Anesthesia, 2002. Available: https://www.wfsahq.org/components/com_virtual_library/media/3a1289265bf7234b6eba0e7e954ae0db-a1cef5cc0b4b05c6fa20ca15985b6c5f-WHO---Haemoglobin-Colour-Scale--Update-15-2002-.pdf

[8] M. R. Kumar, M. Mahadevappa, and D. Goswami, “Low cost point of care estimation of Hemoglobin levels,” in Int. Conf. Med. Imag. m-Health Emerg.Commun. Syst. (MedCom), 2014, pp. 216–221.doi:10.1109/MedCom.2014.7006007

[9] J. Critchley and I. Bates, “Haemoglobin colour scale for anaemia diagnosis where there is no laboratory: A systematic review,” Int. J. Epidemiol., vol. 34, no. 6, pp. 1425–1434, 2005.https://doi.org/10.1093/ije/dyi195

[10] World Health Organization (WHO), “Micronutrient deficiencies.” [Online]. Available: http://www.who.int/nutrition/topics/ida/en/. Accessed: Jul. 12, 2017.

[11] C. Aldridge, H. M. Foster, M. Albonico, S. M. Ame, and A. Montresor, “Evaluation of the diagnostic accuracy of the Haemoglobin Colour Scale to detect anaemia in young children attending primary healthcare clinics in Zanzibar,” Trop. Med. Int. Health, vol. 17, no. 4, pp. 423–429, 2012.doi: 10.1111/j.1365-3156.2011.02944.x

[12] D. A. Nardone, K. M. Roth, D. J. Mazur, and J. H. McAfee, “Usefulness of physical examination in detecting the presence or absence of anemia,” Arch. Intern. Med., vol. 150, no. 1, pp. 201–204, 1990.doi: 10.1001/archinte.1990.00390200148036

[13] J. R. Zucker, B. A. Perkins, H. Jafari, J. Otieno, C. Obonyo, and C. C. Campbell, “Clinical signs for the recognition of children with moderate or severe anaemia in western Kenya,” Bull. World Health Organ., vol. 75, suppl 1, pp. 97–102, 1997. Available: https://www.researchgate.net/publication/51322167_Clinical_signs_for_the_recognition_of_children_with_moderate_or_severe_anaemia_in_western_Kenya

[14] C. D. Hanning and J. M. Alexander-Williams, “Pulse oximetry: A practical review,” BMJ, vol. 311, no. 7001, pp. 367–370, 1995.doi: 10.1136/bmj.311.7001.367

[15] J. F. Kelleher, “Pulse oximetry,” J. Clin. Monit., vol. 5, no. 1, pp. 37–62, 1989.Available:https://doi.org/10.1007/BF01618369s

[16] O. Wieben, “Light absorbance in pulse oximetry,” in Design of Pulse Oximeters, G. W. Webster, Ed. New York, NY, USA: CRC Press, 1997, pp. 53–68.

[17] D. C. Harris, “Fundamentals of Spectrophotometry,” in Quantitative Chemical Analysis, 8a ed., vol. 1, China Lake, CA: Macmillan, 2010, pp. 393–414.

[18] L. Lamhaut, R. Apriotesei, X. Combes, M. Lejay, P. Carli, and B. Vivien, “Comparison of the accuracy of noninvasive hemoglobin monitoring by spectrophotometry (SpHb) and HemoCue® with automated laboratory hemoglobin measurement,” J. Am. Soc. Anesthesiol., vol. 115, no. 3, pp. 548–554, 2011.doi: 10.1097/ALN.0b013e3182270c22

[19] E. J. Van Kampen and W. G. Zijlstra, “Spectrophotometry of hemoglobin and hemoglobin derivatives,” Adv. Clin. Chem., vol. 23, pp. 199–257, 1983.https://doi.org/10.1016/S0065-2423(08)60401-1

[20] A. R. Kent, S. H. Elsing, and R. L. Hebert, “Conjunctival vasculature in the assessment of anemia,” Ophthalmology, vol. 107, no. 2, pp. 274–277, 2000.doi: 10.1016/S0161-6420(99)00048-2

[21] K. Yurdakök, Ş. N. Güner, y S. S. Yalçın, “Validity of using pallor to detect children with mild anemia”, Pediatr. Int., vol. 50, núm. 2, pp. 232–234, 2008.

[22] A. Kalantri, M. Karambelkar, R. Joshi, S. Kalantri, and U. Jajoo, “Accuracy and reliability of pallor for detecting anaemia: A hospital-based diagnostic accuracy study,” PLoS One, vol. 5, no. 1, p. e8545, 2010.doi: 10.1371/journal.pone.0008545

[23] N. Sinha, P. R. Deshmukh, and B. S. Garg, “Evaluation of WHO haemoglobin colour scale & palmar pallor for screening of anaemia among children (6-35 months) in rural Wardha, India,” Indian J. Med. Res., vol. 128, no. 3, pp. 278–281, 2008. Available: https://www.researchgate.net/publication/23567282_Evaluation_of_WHO_haemoglobin_colour_scale_palmar_pallor_for_screening_of_anaemia_among_children_6-35_months_in_rural_Wardha_India

[24] S. Suner, G. Crawford, J. McMurdy, and G. Jay, “Non-invasive determination of hemoglobin by digital photography of palpebral conjunctiva,” J. Emerg. Med., vol. 33, no. 2, pp. 105–111, 2007.doi: 10.1016/j.jemermed.2007.02.011

[25] M. R. Kumar, H. Misra, S. Hiwale, and M. Ramachandra, “Digital WHO hemoglobin color scale: Analysis and performance,” in Sixth Int. Conf. EHealth, Telemed. Social Med., Barcelona, Spain,2014, pp. 53–58.

[26] H. Ranganathan and N. Gunasekaran, “Simple method for estimation of hemoglobin in human blood using color analysis,” IEEE Trans. Inf. Technol. Biomed., vol. 10, no. 4, pp. 657–662, 2006.doi: 10.1109/TITB.2006.874195

[27] E. J. Wang, W. Li, D. Hawkins, T. Gernsheimer, C. Norby-Slycord, and S. N. Patel, “HemaApp: Noninvasive blood screening of hemoglobin using smartphone cameras,” in Proc. 2016 ACM Int. Joint Conf. Pervasive Ubiquitous Comput., New York, NY, USA, 2016, pp. 593–604.

[28] M. Fairchild,Color Appearance Models, 2nd ed. UK: John Wiley & Sons, 2013. Available: http://last.hit.bme.hu/download/firtha/video/Colorimetry/Fairchild_M._Color_appearance_models__2005.pdf

[29] D. Malacara, Color Vision and Colorimetry: Theory and Applications, 2nd ed. Bellingham, WA: SPIE Press, 2011.

[30] M. R. Desai, P. Phillips-Howard, D. Terlouw, and K. Wannemuehler, “Recognition of pallor associated with severe anaemia by primary caregivers in western Kenya,” Trop. Med. Int. Health, vol. 7, no. 10, pp. 831–839, 2002.doi: 10.1046/j.1365-3156.2002.00942.x

[31] Y. Ohya, T. Obi, M. Yamaguchi, N. Ohyama, and Y. Komiya, “Natural color reproduction of human skin for telemedicine,”in Proc. SPIE, Med.Imag.98: Image Display, vol. 3335, 1998.Available: https://doi.org/10.1117/12.312499

[32] P. Kay and L. Maffi, “Color appearance and the emergence and evolution of basic color lexicons,”Am. Anthropol.,vol. 101, no. 4,pp. 743–760, Dec. 1999. Available: https://doi.org/10.1525/aa.1999.101.4.743


I. How to cite this article:
L. Mass Noriega, P. Wightman Rojas, and A. Salazar Silva, “Hemoglobin screening using cloud-based mobile photography applications,” Ing. Univ.,vol. 23, no. 2, 2019. https://doi.org/10.11144/Javeriana.iyu23-2.hsuc

Author notes

a Corresponding author. E-mail: pwightman@uninorte.edu.co