Abstract
In pharmaceutical production, the quality of medicine bottles is crucial for ensuring drug safety and efficacy. Traditional manual visual inspection methods are inefficient, costly, and prone to errors. To address these issues, this paper proposes a real-time bottle defect detection system based on OpenCV and Python, which uses computer vision technology for automatic defect detection, thereby improving efficiency and accuracy. The paper discusses the background of bottle quality inspection, the problems with traditional methods, and the advantages of computer vision technology. It details the system’s design, implementation, and algorithm optimization. Experimental results demonstrate that the system performs well in terms of real-time capability and accuracy, and suggestions for improvements are provided. Overall, this paper offers a comprehensive reference for the design and application of a real-time bottle defect detection system based on OpenCV and Python.
Publisher
Darcy & Roy Press Co. Ltd.