Abstract
Addressing the carbon footprint in pig production is a fundamental technical basis for achieving carbon neutrality and peak carbon emissions. Only by systematically studying the carbon footprint can the goals of carbon neutrality and peak carbon emissions be effectively realized. This study aims to reduce the carbon footprint through optimized feeding strategies based on minimizing carbon emissions. To this end, this study conducted a full-lifecycle monitoring of the carbon footprint during pig growth from December 2024 to May 2025, optimizing feeding strategies using a real-time pig weight estimation model driven by deep learning to reduce resource consumption and the carbon footprint. We introduce EcoSegLite, a lightweight deep learning model designed for non-contact real-time pig weight estimation. By incorporating ShuffleNetV2, Linear Deformable Convolution (LDConv), and ACmix modules, it achieves high precision in resource-constrained environments with only 1.6 M parameters, attaining a 96.7% mAP50. Based on full-lifecycle weight monitoring of 63 pigs at the Pianguan farm from December 2024 to May 2025, the EcoSegLite model was integrated with a life cycle assessment (LCA) framework to optimize feeding management. This approach achieved a 7.8% reduction in feed intake, an 11.9% reduction in manure output, and a 5.1% reduction in carbon footprint. The resulting growth curves further validated the effectiveness of the optimized feeding strategy, while the reduction in feed and manure also potentially reduced water consumption and nitrogen runoff. This study offers a data-driven solution that enhances resource efficiency and reduces environmental impact, paving new pathways for precision agriculture and sustainable livestock production.