Is your smartphone about to replace your doctor?

Probably not, but if you own a Pixel phone from Alphabet's (NASDAQ:GOOG)(NASDAQ:GOOGL) Google, you'll soon be getting some basic medical diagnostic capability on your device.

Next month, with an update to the Google Fit app, the cameras on such models will be able to harness Google's artificial intelligence (AI) to accurately measure heart and breathing rates, according to the company. It is among the first practical applications of AI by the Alphabet unit.

The way the technology works is unusual. To measure a pulse, users put a finger on the camera lens; the camera analyzes faint color changes in order to determine blood flow, hence a pulse. As for the breathing rate, the camera ascertains this from the video it captures the movements of the body's upper torso.

While existing apps for Android phones like the Pixel have offered similar functionality, they've been shown to be erratic. A great many wearable fitness products also take such measurements, but smartphone users don't necessarily own or use those devices.

While the upcoming AI-powered diagnostics represent a useful and convenient perk for Google Pixel users, they don't yet belong in a clinic or hospital. In an interview with Reuters about the technology, Google Health product manager Jack Po said it needs further testing to determine whether it is appropriate for use in such environments.

Artificial Intelligence
A visitor at Intel's Artificial Intelligence (AI) Day walks past a signboard during the event in Bangalore, India, April 4, 2017. MANJUNATH KIRAN/AFP/Getty Images

This article originally appeared in the Motley Fool.

Eric Volkman has no position in any of the stocks mentioned. The Motley Fool owns shares of and recommends Alphabet (A shares) and Alphabet (C shares). The Motley Fool has a disclosure policy.