A miniature camera the size of a capsule that is swallowed and that then transmits images of the inside of the gut can reveal cancer and gastrointestinal diseases.