The rapid advancement of artificial intelligence (AI) has opened new opportunities for automation in the pharmaceutical industry, particularly in the classification of raw drug materials. Manual classification methods are time-consuming and prone to human error, highlighting the need for reliable automated solutions. This study applied a deep learning approach for classifying crystallization images of pharmaceutical raw materials using a Convolutional Neural Network (CNN). A dataset of 300 crystallization images of Nicotinamide and Ferulic Acid was obtained through hot-stage microscopy, preprocessed with normalization, resizing, and augmentation, and divided into training, validation, and testing subsets. The CNN model was trained for 10 epochs and evaluated using a confusion matrix and standard performance metrics (accuracy, precision, recall, and F1-score). The model achieved perfect recall for Ferulic Acid and 90% recall with 100% precision for Nicotinamide, resulting in an overall accuracy of 95%. While these results are promising, the relatively small dataset may limit generalization, and further validation with larger or external datasets is required. The findings indicate that CNN-based methods hold strong potential for automating crystallization classification, improving pharmaceutical quality control, and reducing reliance on manual assessment, in line with recent advances in medical and pharmaceutical image analysis.
Copyrights © 2025