Computer Vision App Allows Easier Monitoring of Diabetes

A computer vision technology developed by University of Cambridge engineers has now been developed into a free mobile phone app for regular monitoring of glucose levels in people with diabetes.

The app uses computer vision techniques to read and record the glucose levels, time and date displayed on a typical glucose test via the camera on a mobile phone. The technology, which doesn't require an internet or Bluetooth connection, works for any type of glucose meter, in any orientation and in a variety of light levels. It also reduces waste by eliminating the need to replace high-quality non-Bluetooth meters, making it a cost-effective solution to the NHS.

Working with UK glucose testing company GlucoRx, the Cambridge researchers have developed the technology into a free mobile phone app, called GlucoRx Vision, which is now available on the Apple App Store and Google Play Store.

To use the app, users simply take a picture of their glucose meter and the results are automatically read and recorded, allowing much easier monitoring of blood glucose levels.

In addition to the glucose meters which people with diabetes use on a daily basis, many other types of digital meters are used in the medical and industrial sectors. However, many of these meters still do not have wireless connectivity, so connecting them to phone tracking apps often requires manual input.

"These meters work perfectly well, so we don't want them sent to landfill just because they don't have wireless connectivity," said Dr James Charles from Cambridge's Department of Engineering. "We wanted to find a way to retrofit them in an inexpensive and environmentally-friendly way using a mobile phone app."

In addition to his interest in solving the challenge from an engineering point of view, Charles also had a personal interest in the problem. He has type 1 diabetes and needs to take as many as ten glucose readings per day. Each reading is then manually entered into a tracking app to help determine how much insulin he needs to regulate his blood glucose levels.

"From a purely selfish point of view, this was something I really wanted to develop," he said.

"We wanted something that was efficient, quick and easy to use," said Professor Roberto Cipolla, also from the Department of Engineering. "Diabetes can affect eyesight or even lead to blindness, so we needed the app to be easy to use for those with reduced vision."

The computer vision technology behind the GlucoRx app is made up of two steps. First, the screen of the glucose meter is detected. The researchers used a single training image and augmented it with random backgrounds, particularly backgrounds with people. This helps ensure the system is robust when the user's face is reflected in the phone's screen.

Second, a neural network called LeDigit detects each digit on the screen and reads it. The network is trained with computer-generated synthetic data, avoiding the need for labour-intensive labelling of data which is commonly needed to train a neural network.

"Since the font on these meters is digital, it's easy to train the neural network to recognise lots of different inputs and synthesise the data," said Charles. "This makes it highly efficient to run on a mobile phone."

"It doesn't matter which orientation the meter is in - we tested it in all types of orientations, viewpoints and light levels," said Cipolla, who is also a Fellow of Jesus College. "The app will vibrate when it's read the information, so you get a clear signal when you've done it correctly. The system is accurate across a range of different types of meters, with read accuracies close to 100%"

In addition to blood glucose monitor, the researchers also tested their system on different types of digital meters, such as blood pressure monitors, kitchen and bathroom scales. The researchers also recently presented their results at the 31st British Machine Vision Conference.

Gluco-Rx initially approached Cipolla's team in 2018 to develop a cost-effective and environmentally-friendly solution to the problem of non-connected glucose meters, and once the technology had been shown to be sufficiently robust, the company worked with the Cambridge researchers to develop the app.

"We have been working in partnership with Cambridge University on this unique solution, which will help change the management of diabetes for years to come," said Chris Chapman, Chief Operating Officer of GlucoRx. "We will soon make this solution available to all of our more than 250,000 patients."

As for Charles, who has been using the app to track his glucose levels, he said it "makes the whole process easier. I've now forgotten what it was like to enter the values in manually, but I do know I wouldn't want to go back to it. There are a few areas in the system which could still be made even better, but all in all I'm very happy with the outcome."

James Charles, Stefano Bucciarelli, Roberto Cipolla.
Real-time screen reading: reducing domain shift for one-shot learning.
Paper presented at the British Machine Vision Conference: https://bmvc2020-conference.com/conference/papers/paper_0512.html

Most Popular Now

Is AI in Medicine Playing Fair?

As artificial intelligence (AI) rapidly integrates into health care, a new study by researchers at the Icahn School of Medicine at Mount Sinai reveals that all generative AI models may...

Generative AI's Diagnostic Capabili…

The use of generative AI for diagnostics has attracted attention in the medical field and many research papers have been published on this topic. However, because the evaluation criteria were...

New System for the Early Detection of Au…

A team from the Human-Tech Institute-Universitat Politècnica de València has developed a new system for the early detection of Autism Spectrum Disorder (ASD) using virtual reality and artificial intelligence. The...

AI Tool can Track Effectiveness of Multi…

A new artificial intelligence (AI) tool that can help interpret and assess how well treatments are working for patients with multiple sclerosis (MS) has been developed by UCL researchers. AI uses...

Diagnoses and Treatment Recommendations …

A new study led by Prof. Dan Zeltzer, a digital health expert from the Berglas School of Economics at Tel Aviv University, compared the quality of diagnostic and treatment recommendations...

Dr Jason Broch Joins the Highland Market…

The Highland Marketing advisory board has welcomed a new member - Dr Jason Broch, a GP and director with a strong track record in the NHS and IT-enabled transformation. Dr Broch...

Surrey and Sussex Healthcare NHS Trust g…

Surrey and Sussex Healthcare NHS Trust has marked an important milestone in connecting busy radiologists across large parts of South East England, following the successful go live of Sectra's enterprise...

Multi-Resistance in Bacteria Predicted b…

An AI model trained on large amounts of genetic data can predict whether bacteria will become antibiotic-resistant. The new study shows that antibiotic resistance is more easily transmitted between genetically...

DMEA 2025 Ends with Record Attendance an…

8 - 10 April 2025, Berlin, Germany. DMEA 2025 came to a successful close with record attendance and an impressive program. 20,500 participants attended Europe's leading digital health event over the...