1. A method for determining the presence of content in-vivo, the method comprising: capturing a plurality of image frames of a gastrointestinal tract; identifying content in at least one image frame; and calculating a cleanliness index for the plurality of image frames.