Abstract
With global broiler production reaching 103 million tons in 2024—a 1.5% increase over 2023—the poultry industry continues to grow rapidly. However, traditional broiler segmentation methods struggle to meet modern demands for speed, precision, and adaptability. First, this study proposes an improved lightweight image segmentation algorithm based on YOLOv8-seg and integrates the Segment Anything Model (SAM) for semi-automatic annotation, achieving precise mask segmentation of broiler parts. Subsequently, Key geometric features (e.g., area, perimeter, axes) were extracted using image processing techniques, with enhancements from HSV color transformation, convex hull optimization, and ellipse fitting. Furthermore, Image calibration was applied to convert pixel data to physical dimensions, enabling real-sample validation. Using these features, multiple regression models—including CNNs—were developed for carcass quality prediction. Finally, by analyzing the broiler segmentation process, machine vision techniques were effectively integrated with quality grading algorithms and applied to intelligent broiler segmentation production lines, providing technical support for the intelligent and efficient processing of poultry products. The improved YOLOv8-seg model achieved [email protected]:box scores of 99.2% and 99.4%, and the CNN model achieved R2 values of 0.974 (training) and 0.953 (validation). Compared to traditional systems, the intelligent broiler cutting line reduced failure rates by 11.38% and improved operational efficiency by over 3%, offering a reliable solution for automated poultry processing.
Introduction
The poultry industry is a cornerstone of global food production, yet the "back end" of processing remains heavily reliant on manual labor or rigid, traditional machine vision systems. These legacy methods often fail in the chaotic environment of a slaughterhouse, where complex backgrounds, overlapping parts (such as wings obscuring the breast), and the inherent biological variability of carcasses create significant noise. Manual weighing and quality grading are not only slow but also introduce risks of secondary contamination. This research aims to bridge the gap between advanced computer vision and practical industrial application by developing an end-to-end intelligent production line that predicts carcass quality and weight in real-time.
Methods and Materials
Data Acquisition and Hardware Setup
The researchers collected a dataset of 1,000 high-resolution images (4288 × 2848 pixels) from a slaughterhouse in Qingdao, China. To ensure ground-truth accuracy for quality prediction, 165 physical samples were weighed using high-precision electronic scales. The physical setup utilized a dual-parallel conveyor and a specialized camera vision system designed to capture carcasses against a controlled background.
The Intelligent Processing Pipeline
The proposed system follows a multi-stage pipeline to convert raw visual data into actionable cutting commands:
- Lightweight Segmentation: The standard YOLOv8n-seg model was modified with a custom "ADown" downsampling module. This module uses a branched structure to preserve critical feature information while reducing the model size from 12.9 MB to 5.4 MB, making it suitable for edge deployment.
- Semi-Automatic Annotation: The Segment Anything Model (SAM) was integrated via the ISAT tool, accelerating the annotation of complex carcass parts by 3.7 times compared to manual methods.
- Feature Extraction and Refinement: Once segmented, masks were refined using HSV color space transformation to isolate the carcass. Geometric features—including area, perimeter, and axes—were extracted using convex hull optimization and dynamic ellipse fitting to filter out noise from skin folds.
Quality Prediction Modeling
These extracted geometric features served as inputs for a Convolutional Neural Network (CNN) regression model. By correlating morphological features like breast area and axis lengths with physical weight, the model provides a non-contact method for quality grading.
Key Results and Discussion
The improved YOLOv8n-seg-Adown model demonstrated exceptional performance, achieving a [email protected] of 99.2% for boxes and 99.4% for masks. The reduction in parameter count to 2.8 M and FLOPs to 11.1 G ensures the system can operate at high speeds on factory-floor hardware.
In terms of quality prediction, the CNN regression model outperformed traditional SVR and Random Forest methods, reaching an $R^2$ value of 0.953 on validation data. When deployed on a live production line, the system reduced failure rates by 11.38% and improved overall operational efficiency by over 3%. The automated wing-cutting efficiency reached a notable 4 kg/min.
Conclusion
This study successfully integrates lightweight deep learning models with robust geometric feature extraction to create an intelligent broiler processing line. While the current 2D approach is highly effective, future work will explore 3D spatial information to account for carcass thickness and investigate multi-source data (such as infrared) to further mitigate the effects of shadows and occlusions in harsh slaughterhouse environments.
Summary updated