[19] to detect both ends of the capsule region as circles, for visual inspection of medical capsules. In 2021, Zhao [20] used Canny edge detection and CHT to detect pills present in medication blister packs obtained by an industrial camera for quality control. Unfortunately, only illustrative ...