Medicine bottles are core containers for pharmaceutical packaging, mostly made of plastic (such as PP, PE) or glass. They typically include structures like the bottle body, bottle mouth threads, and bottle cap, and must meet pharmaceutical standards for sealing and contamination prevention.
The inspection of medicinal bottles involves several challenges. Plastic bottles are susceptible to subtle defects such as black spots, bubbles, and bottle mouth gaps, while scratches and uneven light transmission on glass bottles exhibit low contrast against the background, making them easy to overlook. During high-speed production, rotation and vibration of the bottles often result in blurred images. Moreover, parameters require repeated adjustment when handling different bottle specifications. As a result, conventional manual inspection and algorithmic methods struggle to balance detection accuracy with efficiency.