A Dynamic Pig Face Detection Method Based on Spatial Channel Weight Optimization Attention Mechanism and Adaptive Anchor Point Selection
Pig face detection plays a crucial role in the field of agricultural farming, especially in precise feeding and disease monitoring. This study proposes a method called adaptive region-based convolutional neural network (A-RCNN) for multi-angle dirty pig face detection in outdoor environments. Firstly, in order to address the interference caused by dirty cleaning surfaces, a feature enhancement module (FEM) is designed, to improve the network’s classification ability. Secondly, in order to ensure that the anchor points are more in line with the shape of the pig surface, an anchor point selection module (APSM) is introduced to generate high-quality area recommendations. Finally, in response to the interference problem of complex outdoor backgrounds, this paper adopts a dynamic training strategy (DTS) to optimize the final detection results using these high-quality region suggestions. This study conducted in-depth exploration on the publicly available JD dataset, and the experimental results showed that compared with existing methods, this method demonstrated excellent performance, achieving 56.3% mean average precision (mAP) and an improvement of 6.02% compared to the baseline Faster RCNN. In addition, to verify the practical application effect of the model, this article also deployed it on the edge device Raspberry Pi 4B, further confirming the effectiveness and practicality of the model.
Authors
- Parisa A. Bahri (ORCID: https://orcid.org/0000-0003-4661-5644)
- Hai Wang (ORCID: https://orcid.org/0000-0003-2789-9530)
- Shuiqing Xu (ORCID: https://orcid.org/0000-0003-3081-3726)
- Songbing Tao (ORCID: https://orcid.org/0000-0002-5963-3182)
- Wentao Zhang (ORCID: https://orcid.org/0000-0001-8690-2838)
- Yi Chai (ORCID: https://orcid.org/0000-0002-8637-8682)
Institutions
- Chongqing University (CN)
- Hefei University of Technology (CN)
- Murdoch University (AU)
Publication Details
- Journal
- IEEE Transactions on Instrumentation and Measurement
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/tim.2025.3573344
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China