Sun Siyuan, Alkahtani Manal E, Gaisford Simon, Basit Abdul W, Elbadawi Moe, Orlu Mine
UCL School of Pharmacy, University College London, 29-39 Brunswick Square, London WC1N 1AX, UK.
Department of Pharmaceutics, College of Pharmacy, Prince Sattam bin Abdulaziz University, Alkharj 11942, Saudi Arabia.
Pharmaceutics. 2023 Nov 16;15(11):2630. doi: 10.3390/pharmaceutics15112630.
Three-dimensional (3D) printing is an advanced pharmaceutical manufacturing technology, and concerted efforts are underway to establish its applicability to various industries. However, for any technology to achieve widespread adoption, robustness and reliability are critical factors. Machine vision (MV), a subset of artificial intelligence (AI), has emerged as a powerful tool to replace human inspection with unprecedented speed and accuracy. Previous studies have demonstrated the potential of MV in pharmaceutical processes. However, training models using real images proves to be both costly and time consuming. In this study, we present an alternative approach, where synthetic images were used to train models to classify the quality of dosage forms. We generated 200 photorealistic virtual images that replicated 3D-printed dosage forms, where seven machine learning techniques (MLTs) were used to perform image classification. By exploring various MV pipelines, including image resizing and transformation, we achieved remarkable classification accuracies of 80.8%, 74.3%, and 75.5% for capsules, tablets, and films, respectively, for classifying stereolithography (SLA)-printed dosage forms. Additionally, we subjected the MLTs to rigorous stress tests, evaluating their scalability to classify over 3000 images and their ability to handle irrelevant images, where accuracies of 66.5% (capsules), 72.0% (tablets), and 70.9% (films) were obtained. Moreover, model confidence was also measured, and Brier scores ranged from 0.20 to 0.40. Our results demonstrate promising proof of concept that virtual images exhibit great potential for image classification of SLA-printed dosage forms. By using photorealistic virtual images, which are faster and cheaper to generate, we pave the way for accelerated, reliable, and sustainable AI model development to enhance the quality control of 3D-printed medicines.
三维(3D)打印是一种先进的药物制造技术,目前正在共同努力确立其在各个行业的适用性。然而,对于任何技术要实现广泛应用,稳健性和可靠性都是关键因素。机器视觉(MV)作为人工智能(AI)的一个子集,已成为一种强大的工具,以前所未有的速度和准确性取代人工检查。先前的研究已经证明了MV在制药过程中的潜力。然而,使用真实图像训练模型既昂贵又耗时。在本研究中,我们提出了一种替代方法,即使用合成图像训练模型来对剂型质量进行分类。我们生成了200张逼真的虚拟图像,这些图像复制了3D打印的剂型,使用七种机器学习技术(MLT)进行图像分类。通过探索各种MV管道,包括图像缩放和变换,对于立体光刻(SLA)打印的剂型,我们分别在胶囊、片剂和薄膜的分类上取得了80.8%、74.3%和75.5%的显著分类准确率。此外,我们对MLT进行了严格的压力测试,评估它们对超过3000张图像进行分类的可扩展性以及处理无关图像的能力,分别获得了66.5%(胶囊)、72.0%(片剂)和70.9%(薄膜)的准确率。此外,还测量了模型置信度,布里尔分数范围为0.20至0.40。我们的结果证明了一个有前景的概念验证,即虚拟图像在SLA打印剂型的图像分类中具有巨大潜力。通过使用生成速度更快、成本更低的逼真虚拟图像,我们为加速、可靠和可持续的AI模型开发铺平了道路,以加强3D打印药物的质量控制。