In the pre-procedure of colonoscopy, the app automatically determines the nature of the defecation image taken by the user in the app and indicates the cleanliness of the image on a 3-star scale. The app allows the user to proceed with the examination efficiently by continuing to use the app until the result reaches 3 stars.