Vanderbilt researchers have developed an optical-based method for real-time characterization of middle ear fluid in order to diagnose acute otitis media, also knows as a middle ear infection. The present technique allows for quick detection and identification of bacteria and can also be applied to other biological fluids in vivo.