VanillaFaceNet:一种高精度快速推理的牛脸识别方法

TP391; 快速精准确定牛只身份对于牛只活体贷款,改善牛只骗保等问题具有重要意义.针对不同牛只面部差异小,FaceNet网络层数深,推理速度较慢,模型分类精度不足等问题,该研究提出了基于FaceNet的牛脸识别方法-VanillaFaceNet.该方法首先将FaceNet的主干特征提取网络替换为极简网络VanillaNet-13并提出动态激活和增强型线性变换的激活函数两种方法提高网络的非线性;然后,提出一种新的DBCA(dual-branch coordinate attention)注意力模块,能够更好地反映不同牛只面部特征之间的差异,从而提高网络的识别精度;最后,针对triplet lo...

Full description

Saved in:
Bibliographic Details
Published in农业工程学报 Vol. 40; no. 18; pp. 120 - 131
Main Authors 栾浩天, 齐咏生, 刘利强, 王朝霞, 李永亭
Format Journal Article
LanguageChinese
Published 内蒙古自治区高等学校智慧能源技术与装备工程研究中心,呼和浩特 010080%内蒙古工业大学电力学院,呼和浩特 010051 01.09.2024
内蒙古自治区高等学校智慧能源技术与装备工程研究中心,呼和浩特 010080
内蒙古工业大学电力学院,呼和浩特 010051
大规模储能技术教育部工程研究中心,呼和浩特 010080
Subjects
Online AccessGet full text
ISSN1002-6819
DOI10.11975/j.issn.1002-6819.202401011

Cover

Abstract TP391; 快速精准确定牛只身份对于牛只活体贷款,改善牛只骗保等问题具有重要意义.针对不同牛只面部差异小,FaceNet网络层数深,推理速度较慢,模型分类精度不足等问题,该研究提出了基于FaceNet的牛脸识别方法-VanillaFaceNet.该方法首先将FaceNet的主干特征提取网络替换为极简网络VanillaNet-13并提出动态激活和增强型线性变换的激活函数两种方法提高网络的非线性;然后,提出一种新的DBCA(dual-branch coordinate attention)注意力模块,能够更好地反映不同牛只面部特征之间的差异,从而提高网络的识别精度;最后,针对triplet loss仅能减小牛只类间差异的问题,采用center-triplet loss联合监督来减少牛只类内差异,从而提高了相同牛只身份比对的准确性.基于自建的牛脸数据集对该模型进行训练和测试,试验结果表明,VanillaFaceNet对牛只识别的准确率达到88.21%,每秒传输帧数为26.23帧.与FaceNet、MobileFaceNet、CenterFace、CosFace和ArcFace算法相比,本文算法的识别准确率分别提高了 2.99、9.58、6.26、3.85和4.49个百分点,推理速度分别提升了 2.67、0.77、0.10、1.28和0.94帧/s.该模型对牛只有较为优秀的识别效果,适于在嵌入式设备上部署,实现了牛只面部识别精度和推理速度之间的平衡.
AbstractList TP391; 快速精准确定牛只身份对于牛只活体贷款,改善牛只骗保等问题具有重要意义.针对不同牛只面部差异小,FaceNet网络层数深,推理速度较慢,模型分类精度不足等问题,该研究提出了基于FaceNet的牛脸识别方法-VanillaFaceNet.该方法首先将FaceNet的主干特征提取网络替换为极简网络VanillaNet-13并提出动态激活和增强型线性变换的激活函数两种方法提高网络的非线性;然后,提出一种新的DBCA(dual-branch coordinate attention)注意力模块,能够更好地反映不同牛只面部特征之间的差异,从而提高网络的识别精度;最后,针对triplet loss仅能减小牛只类间差异的问题,采用center-triplet loss联合监督来减少牛只类内差异,从而提高了相同牛只身份比对的准确性.基于自建的牛脸数据集对该模型进行训练和测试,试验结果表明,VanillaFaceNet对牛只识别的准确率达到88.21%,每秒传输帧数为26.23帧.与FaceNet、MobileFaceNet、CenterFace、CosFace和ArcFace算法相比,本文算法的识别准确率分别提高了 2.99、9.58、6.26、3.85和4.49个百分点,推理速度分别提升了 2.67、0.77、0.10、1.28和0.94帧/s.该模型对牛只有较为优秀的识别效果,适于在嵌入式设备上部署,实现了牛只面部识别精度和推理速度之间的平衡.
Abstract_FL Intelligent farming has been an ever-increasing trend in agricultural production,with the development of artificial intelligence(AI)and Internet of Things(IoT).Rapid and accurate identification of cattle identity is of great significance to prevent the insurance fraud for the live cattle loans in the cattle industry.Among them,computer vision can be expected for the cattle face recognition in the modernization transformation of the livestock industry.Smart devices and systems can also be integrated to achieve the intelligent cattle management,feeding,and disease prevention.However,the traditional identification(such as ear tags and collars)has limited the large-scale production in recent years,due to the small differences in facial features among different cattle,the deep layers of the FaceNet network,slow inference speeds,and insufficient classification accuracy.In this study,a cattle face recognition was proposed using FaceNet,called VanillaFaceNet.Firstly,the backbone feature extraction network of FaceNet was replaced with the latest simplified network.VanillaNet-13.Dynamic activation and enhanced linear transformation of activation functions were proposed to improve the non-linearity of the network.Specifically,dynamic activation was fully utilized the expressive power of activation functions during training when dynamically adjusting,in order to flexibly adapt the variations in data distribution at different stages of training.Dynamic activation was used to merge the convolutional layers during inference phase.The computational load was reduced to improve the inference speed of networks.The performance and efficiency of model were then enhanced during training and inference.Activation functions with linear transformations were significantly enhanced the non-linearity through parallel stacking.Multiple activation functions were stacked in parallel,thus enabling each layer to capture more complex features.Additionally,spatial context information was embedded within the activation functions.The spatial relationships among features were better utilized to fit the complex feature distributions.Non-linearity and integration of spatial context information were achieved in a more accurate and efficient model when processing complex data.Secondly,DBCA(Dual-Branch Coordinate Attention)module was added into the global maximum pooling.Global average pooling was used to aggregate significant features of cattle faces,in order better represent the differences among cattle facial features.Therefore,the accuracy network was improved to recognize the cattle.Finally,a center loss was introduced to train the network with the center-triplet loss joint supervision,because the triplet loss was only reduced the inter-class differences among cattle.The intra-class separability of cattle was improved to compactly aggregate the same category of cattle.Thus,the accuracy of comparisons was improved among the same identities of cattle.Cattle face videos were collected at the Otai Ranch in Hohhot,Inner Mongolia Autonomous Region.An image dataset was constructed to train and test the model for the cattle face recognition.The experimental results show that VanillaFaceNet was achieved an accuracy of 88.21%in the cattle recognition,with a frame rate of 26.23 frames per second(FPS).Compared with FaceNet,MobileFaceNet,CenterFace,CosFace,and ArcFace,the model was improved the recognition accuracy by 2.99,9.58,6.26,3.85,and 4.49 percentage points,respectively,and the inference speed by 2.67,0.77,0.10,1.28,and 0.94 frames/s,respectively.The recognition accuracy and speed were greatly improved to fully meet the requirements of the ranch for the accuracy and real-time performance of cattle recognition.The excellent performance was achieved in the cattle recognition,suitable for the deployment on embedded devices,such as Jetson AGX Xavier.A better balance was also gained between accuracy and inference speed of cattle facial recognition.
Author 齐咏生
王朝霞
李永亭
栾浩天
刘利强
AuthorAffiliation 内蒙古工业大学电力学院,呼和浩特 010051;内蒙古自治区高等学校智慧能源技术与装备工程研究中心,呼和浩特 010080%内蒙古工业大学电力学院,呼和浩特 010051;大规模储能技术教育部工程研究中心,呼和浩特 010080;内蒙古自治区高等学校智慧能源技术与装备工程研究中心,呼和浩特 010080
AuthorAffiliation_xml – name: 内蒙古工业大学电力学院,呼和浩特 010051;内蒙古自治区高等学校智慧能源技术与装备工程研究中心,呼和浩特 010080%内蒙古工业大学电力学院,呼和浩特 010051;大规模储能技术教育部工程研究中心,呼和浩特 010080;内蒙古自治区高等学校智慧能源技术与装备工程研究中心,呼和浩特 010080
Author_FL LIU Liqiang
WANG Zhaoxia
LUAN Haotian
LI Yongting
QI Yongsheng
Author_FL_xml – sequence: 1
  fullname: LUAN Haotian
– sequence: 2
  fullname: QI Yongsheng
– sequence: 3
  fullname: LIU Liqiang
– sequence: 4
  fullname: WANG Zhaoxia
– sequence: 5
  fullname: LI Yongting
Author_xml – sequence: 1
  fullname: 栾浩天
– sequence: 2
  fullname: 齐咏生
– sequence: 3
  fullname: 刘利强
– sequence: 4
  fullname: 王朝霞
– sequence: 5
  fullname: 李永亭
BookMark eNo9jz1Lw1AYhe9QwVr7KxycEt839yM3LiLFqlB0Uddyk5uUlHALRlG3DqXooLgoooObChkEXaqD_hmTtP_CiuJ04PBwHs4cqZieCQlZQLARPZcvde04TY2NAI4lJHq2Aw4DBMQKqf63s6SeprEPHKkLwLBKVvaUiZNENVUQboUHy1-jfvl4PsluypeP_P0h_8wm_fvi4qm8HJa3g_LsbjwYjZ-H-WlWXL8Vr1fzZCZSSRrW_7JGdptrO40Nq7W9vtlYbVkpgkMtFDyQoaN55LnIWQhCKy2lq5mkyIBJjARHFwMdRIEQPuU-i3CKOZ52BdW0RhZ_d4-UiZTptLu9w30zNbbNSSc49n_uogSk9BtPb1-l
ClassificationCodes TP391
ContentType Journal Article
Copyright Copyright © Wanfang Data Co. Ltd. All Rights Reserved.
Copyright_xml – notice: Copyright © Wanfang Data Co. Ltd. All Rights Reserved.
DBID 2B.
4A8
92I
93N
PSX
TCJ
DOI 10.11975/j.issn.1002-6819.202401011
DatabaseName Wanfang Data Journals - Hong Kong
WANFANG Data Centre
Wanfang Data Journals
万方数据期刊 - 香港版
China Online Journals (COJ)
China Online Journals (COJ)
DatabaseTitleList
DeliveryMethod fulltext_linktorsrc
Discipline Agriculture
DocumentTitle_FL VanillaFaceNet:A high-precision and rapid inference for bovine face recognition
EndPage 131
ExternalDocumentID nygcxb202418013
GrantInformation_xml – fundername: (国家自然科学基金); (内蒙古科技计划项目); (内蒙古科技计划项目); (内蒙古自然科学基金项目); (内蒙古自然科学基金项目); (呼和浩特市高校院所协同创新项目); (自治区直属高校基本科研业务费项目)
  funderid: (国家自然科学基金); (内蒙古科技计划项目); (内蒙古科技计划项目); (内蒙古自然科学基金项目); (内蒙古自然科学基金项目); (呼和浩特市高校院所协同创新项目); (自治区直属高校基本科研业务费项目)
GroupedDBID -04
2B.
4A8
5XA
5XE
92G
92I
93N
ABDBF
ABJNI
ACGFO
ACGFS
ACUHS
AEGXH
AIAGR
ALMA_UNASSIGNED_HOLDINGS
CCEZO
CHDYS
CW9
EOJEC
FIJ
IPNFZ
OBODZ
PSX
RIG
TCJ
TGD
TUS
U1G
U5N
ID FETCH-LOGICAL-s1023-165c8e2d5f97154e06dad887d483140481f65171cdcfc66b35b4f1e0629d763d3
ISSN 1002-6819
IngestDate Thu May 29 04:08:37 EDT 2025
IsPeerReviewed false
IsScholarly true
Issue 18
Keywords 注意力机制
牛脸
识别
feature
attention mechanism
特征
recognition
cow face
提取
FaceNet
extraction
Language Chinese
LinkModel OpenURL
MergedId FETCHMERGED-LOGICAL-s1023-165c8e2d5f97154e06dad887d483140481f65171cdcfc66b35b4f1e0629d763d3
PageCount 12
ParticipantIDs wanfang_journals_nygcxb202418013
PublicationCentury 2000
PublicationDate 2024-09-01
PublicationDateYYYYMMDD 2024-09-01
PublicationDate_xml – month: 09
  year: 2024
  text: 2024-09-01
  day: 01
PublicationDecade 2020
PublicationTitle 农业工程学报
PublicationTitle_FL Transactions of the Chinese Society of Agricultural Engineering
PublicationYear 2024
Publisher 内蒙古自治区高等学校智慧能源技术与装备工程研究中心,呼和浩特 010080%内蒙古工业大学电力学院,呼和浩特 010051
内蒙古自治区高等学校智慧能源技术与装备工程研究中心,呼和浩特 010080
内蒙古工业大学电力学院,呼和浩特 010051
大规模储能技术教育部工程研究中心,呼和浩特 010080
Publisher_xml – name: 大规模储能技术教育部工程研究中心,呼和浩特 010080
– name: 内蒙古工业大学电力学院,呼和浩特 010051
– name: 内蒙古自治区高等学校智慧能源技术与装备工程研究中心,呼和浩特 010080
– name: 内蒙古自治区高等学校智慧能源技术与装备工程研究中心,呼和浩特 010080%内蒙古工业大学电力学院,呼和浩特 010051
SSID ssib051370041
ssj0041925
ssib001101065
ssib023167668
Score 2.477738
Snippet TP391; 快速精准确定牛只身份对于牛只活体贷款,改善牛只骗保等问题具有重要意义.针对不同牛只面部差异小,FaceNet网络层数深,推理速度较慢,模型分类精度不足等问题,该研究...
SourceID wanfang
SourceType Aggregation Database
StartPage 120
Title VanillaFaceNet:一种高精度快速推理的牛脸识别方法
URI https://d.wanfangdata.com.cn/periodical/nygcxb202418013
Volume 40
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
journalDatabaseRights – providerCode: PRVEBS
  databaseName: Academic Search Ultimate - eBooks
  issn: 1002-6819
  databaseCode: ABDBF
  dateStart: 20140101
  customDbUrl: https://search.ebscohost.com/login.aspx?authtype=ip,shib&custid=s3936755&profile=ehost&defaultdb=asn
  isFulltext: true
  dateEnd: 99991231
  titleUrlDefault: https://search.ebscohost.com/direct.asp?db=asn
  omitProxy: true
  ssIdentifier: ssj0041925
  providerName: EBSCOhost
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwnV07bxQxEF6Fi4SgQDzFW5HAFbqw69312jTIvttThESqBKWL9nVHdUh5SJAqRRRBAaIBISigAqQUSNAECvgzJJf8C2ZmfXsbCI_QrHzeufE3843sseW1H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.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=VanillaFaceNet%3A%E4%B8%80%E7%A7%8D%E9%AB%98%E7%B2%BE%E5%BA%A6%E5%BF%AB%E9%80%9F%E6%8E%A8%E7%90%86%E7%9A%84%E7%89%9B%E8%84%B8%E8%AF%86%E5%88%AB%E6%96%B9%E6%B3%95&rft.jtitle=%E5%86%9C%E4%B8%9A%E5%B7%A5%E7%A8%8B%E5%AD%A6%E6%8A%A5&rft.au=%E6%A0%BE%E6%B5%A9%E5%A4%A9&rft.au=%E9%BD%90%E5%92%8F%E7%94%9F&rft.au=%E5%88%98%E5%88%A9%E5%BC%BA&rft.au=%E7%8E%8B%E6%9C%9D%E9%9C%9E&rft.date=2024-09-01&rft.pub=%E5%86%85%E8%92%99%E5%8F%A4%E8%87%AA%E6%B2%BB%E5%8C%BA%E9%AB%98%E7%AD%89%E5%AD%A6%E6%A0%A1%E6%99%BA%E6%85%A7%E8%83%BD%E6%BA%90%E6%8A%80%E6%9C%AF%E4%B8%8E%E8%A3%85%E5%A4%87%E5%B7%A5%E7%A8%8B%E7%A0%94%E7%A9%B6%E4%B8%AD%E5%BF%83%2C%E5%91%BC%E5%92%8C%E6%B5%A9%E7%89%B9+010080%25%E5%86%85%E8%92%99%E5%8F%A4%E5%B7%A5%E4%B8%9A%E5%A4%A7%E5%AD%A6%E7%94%B5%E5%8A%9B%E5%AD%A6%E9%99%A2%2C%E5%91%BC%E5%92%8C%E6%B5%A9%E7%89%B9+010051&rft.issn=1002-6819&rft.volume=40&rft.issue=18&rft.spage=120&rft.epage=131&rft_id=info:doi/10.11975%2Fj.issn.1002-6819.202401011&rft.externalDocID=nygcxb202418013
thumbnail_s http://utb.summon.serialssolutions.com/2.0.0/image/custom?url=http%3A%2F%2Fwww.wanfangdata.com.cn%2Fimages%2FPeriodicalImages%2Fnygcxb%2Fnygcxb.jpg