Researchers in the UK are developing technology for enhanced spirometry with 3-D imaging using four Microsoft Xbox Kinect devices. This technology assesses lung function and chest wall movement, and might also be useful in testing medication efficacy and changes in respiration during exercise.
From the article in Forbes magazine:
In their study, researchers used both the Kinect-based test and traditional spirometry to measure lung function in the 22 volunteers. Not only was the Kinect prototype as accurate as a patient breathing into a spirometer, but it was able to provide additional information about the movement of the chest, which could help in identifying numerous respiratory problems.
There are some conditions that doctors can’t detect or assess using spirometry, such as collapsed lung segments or respiratory muscle weakness.