A team of scientists from South Africa and South Korea are developing a phone app that can photograph and analyze blood samples and measure white blood cells to diagnose HIV, AFP reports.

“Our idea was to obtain images and analyse images on this smartphone using applications,” Korean biomedical engineer Jung Kyung Kim said.

Called Smartscope, the test uses a one-millimeter microscope attachment that clips onto a smartphone camera.

It’s hoped the test could be used from next year in South Africa, where nearly six million people are HIV positive, and Swaziland, where a quarter of the adult population carries the virus.

Smartscope is being developed for diagnosis and treatment in rural areas, where technology is limited, rather than in developed areas.