Abstract

Capsules are commonly used as containers for most pharmaceuticals, and capsule quality is closely related to human health. Given the actual demand for capsule production, this study proposes a capsule defect detection and recognition method based on an improved convolutional neural network (CNN) algorithm. The algorithm is used for defect detection and classification in capsule production. Defective and qualified capsule images in the actual production are collected as samples. Then, a deep learning model based on the improved CNN is designed to train and test a capsule image dataset and identify defective capsules. The improved CNN algorithm is based on regularization and the Adam optimizer (RACNN), on which a dropout layer and L2_regularization are added between the full connection and the output layer to solve the overfitting problem. The Adam optimizer is introduced to accelerate model training and improve model convergence. Then, cross entropy is used as a loss function to measure the prediction performance of the model. By comparing the results of RACNN with different parameters, a detection method based on the optimal parameters of the RACNN model is finally selected. Results show a 97.56% recognition accuracy of the proposed method. Hence, this method could be used for the automatic identification and classification of defective capsules.

Highlights

  • IntroductionThe quality of drugs is important and closely related to human health

  • In the medical industry, the quality of drugs is important and closely related to human health

  • Equipment that can detect capsule defects is few, and methods mainly depend on human visual or sampling inspection. These methods have slow detection speed and low detection accuracy and are vulnerable to individual subjective factors [4, 5]. erefore, the automatic identification of defective capsules is needed during the production process

Read more

Summary

Introduction

The quality of drugs is important and closely related to human health. Ese defects cause unqualified capsule dosage, affect capsule efficacy, and directly lead to poor air tightness, which affect the efficiency and lifespan of the medicine. Equipment that can detect capsule defects is few, and methods mainly depend on human visual or sampling inspection. These methods have slow detection speed and low detection accuracy and are vulnerable to individual subjective factors [4, 5]. Wang et al used a backpropagation neural network to identify capsule defects [1]. These traditional detection methods cannot meet the growing production requirements and, require efficient and reliable detection technology

Methods
Results
Conclusion
Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call