蔡健荣,朱文辉,乔宇,等. 基于YOLOv8的疫苗胚蛋活性视觉检测[J]. 农业工程学报,2024,40(21):1-11. DOI: 10.11975/j.issn.1002-6819.202406044
    引用本文: 蔡健荣,朱文辉,乔宇,等. 基于YOLOv8的疫苗胚蛋活性视觉检测[J]. 农业工程学报,2024,40(21):1-11. DOI: 10.11975/j.issn.1002-6819.202406044
    CAI Jianrong, ZHU Wenhui, QIAO Yu, et al. A visual detection method for vaccine embryo vitality based on YOLOv8[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2024, 40(21): 1-11. DOI: 10.11975/j.issn.1002-6819.202406044
    Citation: CAI Jianrong, ZHU Wenhui, QIAO Yu, et al. A visual detection method for vaccine embryo vitality based on YOLOv8[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2024, 40(21): 1-11. DOI: 10.11975/j.issn.1002-6819.202406044

    基于YOLOv8的疫苗胚蛋活性视觉检测

    A visual detection method for vaccine embryo vitality based on YOLOv8

    • 摘要: 胚蛋活性检测对疫苗生产的质量与安全至关重要。传统机器视觉检测方法严重依赖特征提取算法的设计,对图像质量和环境条件要求高,检测结果稳定性和容错性差,导致实际检测过程中的通用性受到限制,为克服这种缺陷,该研究提出一种基于改进YOLOv8的疫苗胚蛋活性检测模型。自主设计图像采集装置,采集孵化10~11 d的胚蛋图像,通过几何变换、颜色调整、图像增强等方式构建并扩充数据集;采用ShuffleNetV2替换YOLOv8模型的骨干网络,在保持准确率的同时显著减少了计算复杂度,能更好地部署到嵌入式设备中;在YOLOv8颈部网络的卷积层后添加动态蛇形卷积层,通过其自适应地聚焦于细长和迂回的局部结构,准确地捕捉管状结构的性质特征,从而提高胚蛋检测的准确率;使用EIOU(embedding intersection over union)损失函数,用于适应研究中边界框对齐和形状相似性的场景,构建符合试验中胚蛋图像的网络模型,以实现疫苗胚蛋成活性快速、无损、批量检测。试验结果表明,改进YOLOv8模型精确率(P)、召回率(R)、平均精度均值(mAP50-95)分别达99.2%、98.2%、96.9%,对比原始YOLOv8模型分别提高了2、0.3、1.5个百分点,模型计算复杂度与推理时间相较与原模型分别降低60.9%、60.5%。说明此模型可以更好地实现疫苗胚蛋活性无损检测,为自动化批量检测提供理论依据。

       

      Abstract: Embryo viability detection is essential for the quality and safety of vaccine production, especially in large-scale manufacturing. Rapid and accurate detection of embryo viability can improve production efficiency and ensure the final quality of vaccines. Traditional machine vision detection methods heavily rely on complex feature extraction algorithms, often designed for specific scenarios. These methods are sensitive to image quality and environmental conditions, meaning that changes in lighting, background, or temperature can affect detection accuracy and stability. Additionally, traditional methods have poor fault tolerance when dealing with noise or abnormal conditions, which limits their applicability in different environments.To address these challenges, this study presents a vaccine embryo viability detection method based on an improved YOLOv8 model, incorporating several innovations to enhance efficiency, accuracy, and adaptability. A specialized image acquisition system was developed to capture high-quality images of embryos incubated for 10 to 11 days, ensuring consistent data across varying environmental conditions. The dataset was expanded using geometric transformations, color adjustments, and image enhancement, increasing the model's robustness in handling diverse image conditions.In terms of model improvements, ShuffleNetV2 was used to replace the YOLOv8 backbone. This change significantly reduces computational complexity while maintaining accuracy, making the model more suitable for deployment on embedded devices where computational power is limited. This replacement enhanced the overall efficiency of the model, supporting its application in large-scale industrial environments.Additionally, a dynamic snake convolutional layer was added to the neck of the YOLOv8 model. This layer can adaptively focus on elongated and curved structures in embryos, making it particularly effective for capturing geometric features of tubular structures. This modification enables the model to more accurately assess the physiological state of the embryos, improving detection precision.Furthermore, the study introduced the EIOU (Embedding Intersection over Union) loss function, designed to handle boundary box alignment and shape similarity more effectively than traditional IOU. EIOU improves the accuracy of boundary box positioning, reducing errors related to the complex shapes of embryos, thereby enhancing the reliability of the model in real-world applications.Experimental results confirmed the superiority of the improved YOLOv8 model in embryo viability detection. The model achieved a precision of 99.2%, a recall of 98.2%, and a mean average precision (mAP50-95) of 96.9%, with increases of 2, 0.3, and 1.5 percentage points, respectively, compared to the original YOLOv8 model. Additionally, the model's computational complexity and inference time were reduced by 60.9% and 60.5%, respectively. These improvements make the model highly suited for large-scale embryo detection applications, providing an efficient, non-destructive method for rapid vaccine embryo viability detection.

       

    /

    返回文章
    返回