1. Introduction
Point-of-Care Testing (POCT), as defined by the College of American Pathologists, is testing that takes place at or near the site where the patient is located and does not require dedicated laboratory facilities [
1]. Scientific laboratories comprising controlled environments equipped with state-of-the-art equipment and tools can perform extensive tests on various subjects and samples and provide highly accurate diagnoses. Such facilities are, however, expensive to build and maintain and therefore remain in low numbers. People who live in remote areas or developing countries may have restricted access to emergency laboratory services. Even for routine services, accessibility and cost are often an issue. First, patients, samples, and livestock must often travel to the test site and back, which creates added transportation cost. Transportation may also need extra care for the patient or sample to prevent contamination or mutation risks, which also adds to transportation costs. Laboratory personnel are well-trained, and labor expenses for their services can be costly. Second, there is an additional pollution or contamination risk to the patient or sample anytime transportation is required, even with a high degree of protection and care. Third, when a central testing facility is used, waiting time is often added to processing time, which can create delays harmful to the patient or sample. The previous points are critical under urgent situations, such as an epidemic outbreak. Point-of-care testing solves many issues related to lab accessibility and expenses, simply by allowing tests to be performed near the site of origin at a reduced cost. Portable testing devices with simplified operating procedures will allow people with minimal training knowledge to perform diagnostic tests. There already exist powerful portable analysis devices that most people carry around daily: smartphones.
Smartphones, the pinnacle of modern personal electronics, have more processing power than most computers available a decade ago, while being portable and versatile. Apart from the original purpose of wireless communication, smartphones today come with numerous sensors, including accelerometers, gyroscopes, and magnetometers. Unlike traditional phones that only support cellular network communication, smartphones support numerous wireless communication protocols and specifications, such as IEEE 802.11 and Bluetooth for wireless local area network and communication over short distances, respectively. Every smartphone today runs on an advanced operating system that gives users and programmers flexibility with their own software design. Engineers and programmers have been developing smartphone applications that utilize hardware functionalities built into the smartphones to allow external devices to pair with them via a 3.5 mm audio port or a universal serial bus (USB) port, or wirelessly, using Bluetooth, Wi-Fi (Wireless Fidelity), or a cellular network. Apart from their technical features, smartphone devices are also an ideal platform for point-of-care diagnosis from an economic perspective. It is estimated there were 2.6 billion smartphone users in 2016 out of the world population of 7.4 billion [
2]. This means that 35% of the world population owns smartphones. Therefore, smartphone applications for diagnostic purposes with easy-to-use user interfaces (UI) may turn them into a major healthcare monitoring device. While using a smartphone for health diagnoses may bring added convenience and increased accessibility in developed countries, it may have an even bigger impact in developing countries. Developing countries often have insufficient infrastructure, such as well-equipped laboratories and hospitals and poor transportation systems. Globalization and ecological pressures have increased the emergence of novel infections and global pandemics in farmed animals and humans. A key strategy for responding to such incidents involves ongoing monitoring and early detection of infection and outbreaks, but the population in developing countries may have less access to disease prevention and diagnosis. Concurrently, as developing countries grow economically, smartphone and mobile application markets are emerging, pushing manufacturers to produce more affordable devices. Therefore, smartphone-based POCT could aid in early diagnoses and disease prevention in developing countries.
The miniaturization and popularization of computers allows more people to integrate computers in various products and even in personal projects. Raspberry Pi, developed by the Raspberry Pi Foundation in the United Kingdom, is a Linux-based single board computer widely used for various purposes, including prototyping. The newest model, Raspberry Pi 3, has integrated Bluetooth and Wi-Fi functionality and requires no external dongle for connectivity. Raspberry Pi allows people to design low-cost prototypes, especially when combined with other devices, such as Arduino microcontroller kits and smartphones. As the internet of things (IOT) becomes a popular trend in device design and development, many companies are developing single board miniature Linux computers and providing a variety of products to designers and developers.
Progesterone (P4) is a sex hormone that affects the menstrual cycle, pregnancy, and embryogenesis in females of various species [
3]. Measuring progesterone levels in cows’ milk helps predict the reproductive status in commercial dairy herds [
4], detect oestrus or heat accurately [
5,
6], and diagnose early pregnancy [
7]. Milk progesterone analysis is an efficient tool for troubleshooting causes of poor reproductive performance and can significantly aid livestock herd managers and veterinarians [
8]. The advantages of milk progesterone analysis include the evaluation of response to hormonal treatments, differentiation of ovarian cysts, identification of open cows [
9], and the monitoring of postpartum ovarian status [
10]. There are no reliable on-farm tools available to test the concentrations of progesterone in milk. The cost of erroneous oestrus detection can be up to US
$42 per cow during one cycle [
11] and can amount to US
$600 million annually [
12]. To avoid economic losses and long calving intervals, precise oestrus detection through on-farm measurement of progesterone in milk is essential. It would greatly assist farmers to have a portable, inexpensive, and easy-to-use reader for progesterone detection and diagnosis.
Gas chromatography [
13], high-performance liquid chromatography (HPLC) [
14], and mass spectrometry [
15] are the analytical techniques used to determine the concentrations of progesterone in milk. These techniques require laborious sample preparation, high costs, and skilled personnel trained to use the benchtop equipment to generate the results. Read-out times, sensitivity, and specificity are some disadvantages of lateral flow technology [
16,
17,
18] and ELISA kits [
19,
20], which have been used to detect progesterone in milk. Recently, Daems et al. [
21] developed a Surface Plasmon Resonance (SPR) biosensor to detect progesterone in dairy milk as a competitive inhibition assay with a limit of detection of 0.5 ng/mL. However, SPR is expensive and is still a laboratory technique that requires integration with automated milking robots for efficient monitoring. There are no field-deployable sensors available for the on-site measurement of progesterone in milk.
The goal of this study is to enable and develop point-of-care testing for progesterone using a smartphone device and a Raspberry Pi portable reader, named GryphSens. A typical ELISA testing of progesterone in milk is performed, and pictures of the same milk sample used for ELISA testing are taken by the camera module in the GryphSens reader. GryphSens, which has an ultraviolet (UV) and infrared (IR) light emitting diode (LED), emits two types of excitation light with wavelengths of 395–400 nm and 850–950 nm, respectively. Milk samples with no progesterone were controls, and samples with known concentrations of progesterone were compared with the controls. OpenCV (Open Source Computer Vision) integrated in the smartphone application can generate histogram data of a picture, compare the histogram data, and output the similarities of different pictures with a double-formatted numeric value. The numeric value produced by OpenCV is then correlated with the ELISA testing result for analysis and validation.
2. Materials and Methods
2.1. Progesterone Immune-Assay
The progesterone ELISA kit (PN 5081M, Abraxis Inc., Warminster, PA, USA) used for ELISA testing contains a 96-well microtiter plate, coated with a monoclonal anti-progesterone antibody, six 1-mL progesterone standard solutions (0, 0.23, 0.47, 0.94, 3.75, 20 ng/mL), two 1-mL control solutions (one low and one high concentration), one 11-mL enzyme conjugate solution, one 11-mL substrate solution, one 6-mL stop solution, and one 33-mL wash solution. All reagents were brought to room temperature prior to the experiment, and the 3 mL of wash solution was diluted at 1:15 v/v ratio with deionized filtered water (Milli-Q, Millipore Corporation, Billerica, MA, USA). Typical commercial 1% fat milk was diluted with Milli-Q water to various concentrations of 100%, 50%, 30%, 20%, and 10% for use as samples. The ELISA plate wells were coated with an antibody against progesterone and progesterone enzyme conjugate. Milk samples or standard solution were then mixed with a constant known concentration of an enzyme conjugate solution. Upon mixing the enzyme conjugation solution, incubation is required for 20 min followed by washing three times with the diluted washing solution. This was followed by addition of 100 µL of substrate solution to each well in the microplate and another 10 min of incubation. Finally, 50 µL of stop solution was added to each well and the Biotek Cytation 6 cell imaging multimode-reader (Biotek Instruments, Winooski, VT, USA) was employed at a wavelength of 450 nm with a reference filter at 620 nm. During the test period, progesterone and its enzyme conjugate competed to bind with antibodies on the surface of the wells. When the plate was washed and the substrate solution was added to each well, the solution turned blue with varying levels of saturation, depending on the progesterone concentration. Standard curves for progesterone P4 concentration provided by Abraxis were employed in the experiments as controls.
2.2. Design of the Portable Diagnostic Reader and Smartphone Application
The portable progesterone biosensor is based on an image processing test. In the digital domain, colors are represented, for instance, by a combination of 256 levels of red, green, and blue (RGB). Therefore, computer vision can distinguish 16,777,216 colors, and it can recognize different saturation levels in milk samples. This colorimetric test was performed with a portable diagnostic reader, based on the Raspberry Pi 3 model B (Raspberry Pi Foundation, Cambridge, UK), Pi NoIR Camera V2 (Raspberry Pi Foundation, Cambridge, UK), and an ultraviolet LED (400 nm peak wavelength, China Young Sun LED Technology Co., Shenzhen, China), and an infrared LED (940 nm peak wavelength, Vishay Semiconductors, Malvern, PA, USA) as excitation sources. An acrylic lens (AixiZ LLC, Houston, TX, USA), with a focal length of 8 mm, was used for magnification. The enclosure for the diagnostic reader was designed using the SolidWorks software (Dassault Systèmes, Vélizy-Villacoublay, France) and 3D-printed (
Supplementary video 3). The enclosure ensured that every test was performed under a homogenous environment, the electronic components were held in place, and the sample and the camera were separated by the minimum object distance.
Figure 1 shows the arrangement of the camera, the two LEDs, and the sample. Raspberry Pi 3 model B has 40 general-purpose input output (GPIO) pins for developers to turn on and off, and two pins were used to control the excitation LEDs using a 3.3 V TTL high input signal. Resistors of 680 ohms were used to set the intensity of the incident light excitation LEDs to ensure that the light from the LEDs fully covered the sample, while remaining safe from potential damage caused by overcurrent. A disposable analytical cartridge was also made of black polymers using a 3D printer. The cartridge dimensions are 40 mm × 30 mm with two reagent reservoirs (
Figure 1C) and one reaction chamber linked by fluidic connections and was made of black Acrylonitrile butadiene styrene (ABS) polymer. The reaction chamber was designed to fit the dark box and the camera module.
2.3. Software Development
In the presented instrument, Raspberry Pi on Raspbian Jessie, a Linux variation was specifically designed for Raspberry Pi. Python programming was used to control the Raspberry Pi camera. When an information string sent from a paired device arrives, the software parses the string, takes a picture with the selected excitation LED, and transfers the picture back to the paired instrument. A modification was made to the operating system to auto-start the Python software at boot-up. An Android smartphone application was developed for user interface and image processing. A Google Nexus 6P (Huawei Technologies Co. Ltd., Shenzhen, China) smartphone was selected for the development process, as it was the most recent Android instrument produced. The application was developed targeting Android software development kit (SDK) version 25, which runs on the newest Android Nougat OS and can support Android devices that use minimum SDK version 19, also known as Android KitKat. The user interface (UI) collected user inputs related to the test being performed, such as the name of the sample and the sample type. Also, it automatically fetches date, time, and location information for storage. Users can also select which LED to use for the excitation light by selecting a corresponding radio button. Screenshots representing the four activities of this application are given as
Supplementary Materials (
Figure S1).
2.4. System Architecture
Overall, the design that separates the sensor unit from the smartphone instrument ensures its performance is not affected by the model of the smartphone used, increasing compatibility while maintaining a constant performance level.
Figure S2 shows the architecture of the entire system, from which the application and framework layers might be implemented on any smartphone instrument. The user interface is the front end of this architecture that interacts with users and the only component in the application layer. While the software has no functionality, a well-designed user interface [UI] is a crucial part of the system for user convenience.
In the framework layer, there is a computational unit and a communication channel. The computational unit performs every mathematical operation. In this specific design, the computational unit is mainly responsible for rendering the application, controlling the Bluetooth module on the Android device, handling events, gathering information, and analyzing the image taken by the Raspberry Pi module. The communication channel controls the data entering and exiting the computational unit. In this specific design, only Bluetooth is used for communication between the hardware layer and the application layer. However, modern smartphones support various communication protocols, which will be further utilized as development continues. The hardware layer represents the Raspberry Pi and the camera, as well as tasks performed within the portable instrument. Thus, it includes the Bluetooth module on the Raspberry Pi module and the input string parser from which the input data gets sorted out, and it controls the reader accordingly.
2.5. Sample Analysis Procedure
Prior to evaluating the performance of the portable diagnostic instrument, the progesterone content of the milk samples was measured using an ELISA assay to provide data that could be correlated to the outputs from the portable reader. Using the Cytation 5 cell imaging multi-mode reader (Biotek Instruments, Winooski, VT, USA), an absorbance spectrum was recorded using a wavelength sweep from 400 nm to 700 nm. After measurements on the plate reader were completed, images of the same samples were recorded under ultraviolet and infrared illumination and measured on the portable reader. To ensure the consistency of the image processing, an Android app was developed to crop the image from the Raspberry Pi reader and calculate the mean and standard deviation over all pixels present in the picture using a Java version of the OpenCV function from the core package.
2.6. Operating Parameters
The principle of the diagnosis lies in utilizing the relationship between the sample color and the progesterone concentration. The color camera senses light reflected off the sample surface. Tests were designed and conducted to evaluate the light intensity of samples as recorded by the camera, which varied from 85 µL to 125 µL under fixed UV and IR light intensity and had varying concentrations.
Figure 1 shows the sample is well-designed to fit the portable reader.
2.7. Statistical Analysis
Statistical analyses were conducted using Origin 8 (Origin Lab) software. Student’s t-test was used for comparing the test data of the obtained samples. The difference between the two sets of data was considered statistically significant with p < 0.05. Five independent experiments were conducted for each of the assays, and the mean value was used for plotting the graphs.