吉林大学学报(理学版) ›› 2022, Vol. 60 ›› Issue (3): 609-616.

• • 上一篇    下一篇

基于卷积神经网络的猪脸特征点检测方法

李向宇1, 李慧盈1,2   

  1. 1. 吉林大学 计算机科学与技术学院, 长春 130012;
    2. 吉林大学 符号计算与知识工程教育部重点实验室, 长春 130012
  • 收稿日期:2021-07-22 出版日期:2022-05-26 发布日期:2022-05-26
  • 通讯作者: 李慧盈 E-mail:lihuiying@jlu.edu.cn

Feature Point Detection Method of Pig Face Based on Convolutional Neural Network

LI Xiangyu1, LI Huiying1,2   

  1. 1. College of Computer Science and Technology, Jilin University, Changchun 130012, China;
    2. Key Laboratory of Symbolic Computation and Knowledge Engineering of Ministry of Education, Jilin University, Changchun 130012, China
  • Received:2021-07-22 Online:2022-05-26 Published:2022-05-26

摘要: 针对牲畜面部识别在养殖行业广泛需求的问题, 提出一种基于卷积神经网络的猪脸特征点检测方法, 解决了猪脸特征点难检测的问题. 首先, 采集猪面部数据并进行特征点标注, 使用新的采集方法以解决猪口部通常不可见的问题; 其次, 对猪脸数据和人脸数据进行结构计算, 匹配相似度较高的猪脸和人脸, 构建猪脸人脸匹配数据集; 再次, 利用匹配数据集训练TPS(thin plate spline)形变卷积神经网络, 得到形变后的猪脸数据集以适配人脸特征点检测模型; 最后, 使用形变猪脸数据集对人脸特征点检测神经网络模型进行微调, 得到猪脸特征点检测模型. 实验结果表明, 用该方法进行猪脸特征点检测, 错误率仅为5.60%.

关键词: 猪脸特征点检测, 卷积神经网络, 猪脸特征点数据集, 深度学习

Abstract: Aiming at the problem of wide demand of  livestock facial recognition  in the breeding industry, we  proposed a  feature point detection method of pig face based on convolutional neural network, which solved the problem that it was difficult to detect feature points of pig face. Firstly, the pig face data was collected and the feature points were marked, and a new collection method was used to solve the problem that the pig mouth was usually invisible. Secondly, we calculated the structures of the pig face data and the human face data,  matched the pig face and human face with high similarity, and constructed the pig face and human face matching data set. Thirdly,  TPS (thin plate spline) deformed convolutional neural network was trained by matching data set,  and  the deformed pig face data set was obtained to fit the  feature point detection model of human face. Finally, the  feature point detection neural network model of human face was  fine-tuned by using the deformed pig face data set, and  feature point detection model of the pig face was obtained. The experimental results show that the error rate is only 5.60% by using the proposed method to defect feature points of pig face.

Key words: feature point detection of pig face, convolutional neural network, feature point data set of pig face, deep learning

中图分类号: 

  • TP391.41