Capsule endoscopy is a noninvasive diagnostic procedure to visualize the inside of your digestive tract. You swallow a capsule that contains a tiny camera, a transmitter and a light. As it passes through your stomach, intestines, colon and rectum, the capsule takes thousands of pictures and transmits them to a recorder that you wear outside of your body. Your doctor uploads the data from the recorder using a system that combines pictures into a video. These visualizations help identify problems in the digestive tract and formulate a diagnosis.