Background and Aims: Colorectal polyps are diagnosed and treated with colonoscopy. There are two challenges in the discussion of colorectal polyps. First, the rate of undetected polyps in colonoscopies, where ۲۵% of polyps are not detected, which can be due to poor bowel preparation, lesions located in areas that are difficult to evaluate, lack of experience or distraction of the endoscopist, the appearance of the polyp, and inappropriate techniques. The second challenge is to distinguish different types of polyps, especially adenoma and hyperplastic types. Because adenomas are preferred for polypectomy due to the risk of malignancy compared to hyperplastic polyps. In this study, we intend to use recorded images of polyps and diagnostic algorithms to produce an artificial intelligence platform for quick detection and classification of polyps. Methods: In this study, our sample size was ۲۵۰, and colonoscopy was performed using the ۱۷۰-cv OLYMPUS system. The imaging parameters were set by the endoscopist and the required number of images was recorded for each polyp. The sample removed by the endoscopist was sent to the pathology laboratory. The criterion for diagnosing the type of polyp was the sample pathology report. Results: The experimental data set contains ۲۵۰ complete colonoscopy images from ۲۵۰ different patients. The ratio of males to females was ۱.۴۳, the average age was ۶۱.۲۵ (interquartile range: ۵۴-۷۰), the overall accuracy of CNN in detecting visible tools in the test dataset was ۸۶.۱۲%, and the loss bonding box was close to zero (۰.۰۴) for the class. "Adenoma", precision was ۰.۸۶, recall was ۰.۹۲, and F۱ score was ۰.۸۹. For the "Non Adenoma" class, precision was ۰.۸۶, recall was ۰.۷۳, and F۱ score was ۰.۷۸. Conclusion: In conclusion, our study shows that instrument detection using artificial intelligence technology is reliable and has high sensitivity and specificity. Therefore, the new artificial intelligence system can be useful to reduce distracting CAde diagnoses