• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

基于解耦检测系统和双损失视觉Transformer的猪脸开放集识别与配准

Pig Face Open Set Recognition and Registration Using a Decoupled Detection System and Dual-Loss Vision Transformer.

作者信息

Ma Ruihan, Ali Hassan, Waqar Malik Muhammad, Kim Sang Cheol, Kim Hyongsuk

机构信息

Division of Electronics and Information Engineering, Jeonbuk National University, Jeonju 54896, Republic of Korea.

Core Research Institute of Intelligent Robots, Jeonbuk National University, Jeonju 54896, Republic of Korea.

出版信息

Animals (Basel). 2025 Feb 27;15(5):691. doi: 10.3390/ani15050691.

DOI:10.3390/ani15050691
PMID:40075976
原文链接:https://pmc.ncbi.nlm.nih.gov/articles/PMC11898941/
Abstract

Effective pig farming relies on precise and adaptable animal identification methods, particularly in dynamic environments where new pigs are regularly added to the herd. However, pig face recognition is challenging due to high individual similarity, lighting variations, and occlusions. These factors hinder accurate identification and monitoring. To address these issues under Open-Set conditions, we propose a three-phase Pig Face Open-Set Recognition (PFOSR) system. In the Training Phase, we adopt a decoupled design, first training a YOLOv8-based pig face detection model on a small labeled dataset to automatically locate pig faces in raw images. We then refine a Vision Transformer (ViT) recognition model via a dual-loss strategy-combining Sub-center ArcFace and Center Loss-to enhance both inter-class separation and intra-class compactness. Next, in the Known Pig Registration Phase, we utilize the trained detection and recognition modules to extract representative embeddings from 56 identified pigs, storing these feature vectors in a Pig Face Feature Gallery. Finally, in the Unknown and Known Pig Recognition and Registration Phase, newly acquired pig images are processed through the same detection-recognition pipeline, and the resulting embeddings are compared against the gallery via cosine similarity. If the system classifies a pig as unknown, it dynamically assigns a new ID and updates the gallery without disrupting existing entries. Our system demonstrates strong Open-Set recognition, achieving an AUROC of 0.922, OSCR of 0.90, and F1-Open of 0.94. In the closed set, it attains a precision@1 of 0.97, NMI of 0.92, and mean average precision@R of 0.96. These results validate our approach as a scalable, efficient solution for managing dynamic farm environments with high recognition accuracy, even under challenging conditions.

摘要

高效的养猪业依赖于精确且适应性强的动物识别方法,尤其是在新猪不断加入猪群的动态环境中。然而,由于个体相似度高、光照变化和遮挡等因素,猪脸识别具有挑战性。这些因素阻碍了准确的识别和监测。为了在开放集条件下解决这些问题,我们提出了一种三阶段猪脸开放集识别(PFOSR)系统。在训练阶段,我们采用解耦设计,首先在一个小的标注数据集上训练基于YOLOv8的猪脸检测模型,以自动定位原始图像中的猪脸。然后,我们通过一种双损失策略——结合子中心弧脸损失和中心损失——来优化视觉Transformer(ViT)识别模型,以增强类间分离和类内紧凑性。接下来,在已知猪注册阶段,我们利用训练好的检测和识别模块从56头已识别的猪中提取代表性嵌入,将这些特征向量存储在猪脸特征库中。最后,在未知和已知猪识别与注册阶段,新获取的猪图像通过相同的检测-识别管道进行处理,得到的嵌入通过余弦相似度与特征库进行比较。如果系统将一头猪分类为未知,它会动态分配一个新ID并更新特征库,而不会干扰现有条目。我们的系统展示了强大的开放集识别能力,AUROC达到0.922,OSCR为0.90,F1-Open为0.94。在封闭集中,它的precision@1为0.97,NMI为0.92,mean average precision@R为0.96。这些结果验证了我们的方法是一种可扩展、高效的解决方案,即使在具有挑战性的条件下,也能以高识别准确率管理动态养殖环境。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/69c2f36d52db/animals-15-00691-g010.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/108348617b95/animals-15-00691-g001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/352d66560073/animals-15-00691-g002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/f9a5577b198b/animals-15-00691-g003.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/ffee68a0c545/animals-15-00691-g004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/89ab8bb5291e/animals-15-00691-g005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/959c482282e8/animals-15-00691-g006.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/98586cfca323/animals-15-00691-g007.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/d2a954790400/animals-15-00691-g008.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/594bb8962bbb/animals-15-00691-g009.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/69c2f36d52db/animals-15-00691-g010.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/108348617b95/animals-15-00691-g001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/352d66560073/animals-15-00691-g002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/f9a5577b198b/animals-15-00691-g003.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/ffee68a0c545/animals-15-00691-g004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/89ab8bb5291e/animals-15-00691-g005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/959c482282e8/animals-15-00691-g006.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/98586cfca323/animals-15-00691-g007.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/d2a954790400/animals-15-00691-g008.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/594bb8962bbb/animals-15-00691-g009.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/2421/11898941/69c2f36d52db/animals-15-00691-g010.jpg

相似文献

1
Pig Face Open Set Recognition and Registration Using a Decoupled Detection System and Dual-Loss Vision Transformer.基于解耦检测系统和双损失视觉Transformer的猪脸开放集识别与配准
Animals (Basel). 2025 Feb 27;15(5):691. doi: 10.3390/ani15050691.
2
Improving Known-Unknown Cattle's Face Recognition for Smart Livestock Farm Management.改进用于智能畜牧场管理的已知-未知牛只面部识别技术。
Animals (Basel). 2023 Nov 20;13(22):3588. doi: 10.3390/ani13223588.
3
PigFRIS: A Three-Stage Pipeline for Fence Occlusion Segmentation, GAN-Based Pig Face Inpainting, and Efficient Pig Face Recognition.猪脸FRIS:一种用于围栏遮挡分割、基于生成对抗网络的猪脸图像修复及高效猪脸识别的三阶段流程
Animals (Basel). 2025 Mar 28;15(7):978. doi: 10.3390/ani15070978.
4
A high-precision facial recognition method for small-tailed Han sheep based on an optimised Vision Transformer.基于优化 Vision Transformer 的小尾寒羊高精度人脸识别方法。
Animal. 2023 Aug;17(8):100886. doi: 10.1016/j.animal.2023.100886. Epub 2023 Jun 15.
5
Towards minimizing efforts for Morphing Attacks-Deep embeddings for morphing pair selection and improved Morphing Attack Detection.为最小化变形攻击的工作量——用于变形对选择的深度嵌入和改进的变形攻击检测。
PLoS One. 2024 May 31;19(5):e0304610. doi: 10.1371/journal.pone.0304610. eCollection 2024.
6
ArcFace: Additive Angular Margin Loss for Deep Face Recognition.ArcFace:用于深度人脸识别的附加角度间隔损失。
IEEE Trans Pattern Anal Mach Intell. 2022 Oct;44(10):5962-5979. doi: 10.1109/TPAMI.2021.3087709. Epub 2022 Sep 14.
7
Integrating computer vision algorithms and RFID system for identification and tracking of group-housed animals: an example with pigs.整合计算机视觉算法和射频识别系统用于群居动物的识别与跟踪:以猪为例。
J Anim Sci. 2024 Jan 3;102. doi: 10.1093/jas/skae174.
8
Determining the posture and location of pigs using an object detection model under different lighting conditions.在不同光照条件下使用目标检测模型确定猪的姿势和位置。
Transl Anim Sci. 2024 Dec 3;8:txae167. doi: 10.1093/tas/txae167. eCollection 2024.
9
Lightweight model-based sheep face recognition via face image recording channel.基于轻量化模型的绵羊面部识别技术:通过面部图像记录通道。
J Anim Sci. 2024 Jan 3;102. doi: 10.1093/jas/skae066.
10
Efficient Detection Method of Pig-Posture Behavior Based on Multiple Attention Mechanism.基于多重注意力机制的猪姿态行为高效检测方法。
Comput Intell Neurosci. 2022 Jul 16;2022:1759542. doi: 10.1155/2022/1759542. eCollection 2022.

本文引用的文献

1
Improving Known-Unknown Cattle's Face Recognition for Smart Livestock Farm Management.改进用于智能畜牧场管理的已知-未知牛只面部识别技术。
Animals (Basel). 2023 Nov 20;13(22):3588. doi: 10.3390/ani13223588.
2
LSR-YOLO: A High-Precision, Lightweight Model for Sheep Face Recognition on the Mobile End.LSR-YOLO:一种用于移动端绵羊面部识别的高精度轻量级模型。
Animals (Basel). 2023 May 31;13(11):1824. doi: 10.3390/ani13111824.
3
Sheep Face Recognition Model Based on Deep Learning and Bilinear Feature Fusion.基于深度学习和双线性特征融合的绵羊面部识别模型
Animals (Basel). 2023 Jun 11;13(12):1957. doi: 10.3390/ani13121957.
4
Class-Specific Semantic Reconstruction for Open Set Recognition.面向开集识别的类别特定语义重构。
IEEE Trans Pattern Anal Mach Intell. 2023 Apr;45(4):4214-4228. doi: 10.1109/TPAMI.2022.3200384. Epub 2023 Mar 7.
5
"Precision" and "accuracy": two terms that are neither.“精密度”和“准确度”:两个都名不副实的术语。
J Clin Epidemiol. 2006 Apr;59(4):327-30. doi: 10.1016/j.jclinepi.2005.09.005. Epub 2006 Feb 7.