首页|基于深度学习的猫狗细粒度识别方法

基于深度学习的猫狗细粒度识别方法

扫码查看
随着国内宠物市场不断发展扩大,细粒度猫狗识别对于宠物管理与监控等方面具备重要的研究意义。基于此,本文提出了一种基于YOLOv8与改进ShuffleNet-V2 的猫狗细粒度识别方法。首先,利用YOLOv8算法的Backbone对猫狗图像进行特征提取,以实现对猫狗品种的准确分类,可达到较高的品种分类准确率。其后,提出了一种结合ECA注意力的ShuffleNet-V2 轻量级孪生网络,通过特征学习可准确捕捉猫狗个体之间的细微差异,以达到对猫狗个体的准确识别。为验证算法的有效性,通过公开数据集及网络搜集的方式构建了猫狗品种分类及个体识别数据集,同时通过多个量化指标来对算法进行评估。实验结果表明,YOLOv8 分类网络的Top1 准确率可达 88。1%,Top5 准确率可达 98。6%;孪生网络在结合ECA注意力机制后,在训练集、验证集及所构建的测试对上的准确率分别为 90。8%、92。8%及92。6%。最后,通过猫狗细粒度识别可视化并结合用户友好UI界面,进一步论证了所提出方法的有效性。
A Fine-Grained Recognition Method for Cats and Dogs Based on Deep Learning
With the continuous development and expansion of the domestic pet market,fine-grained cat and dog recognition has important research significance for pet management and monitoring.Based on this,this article proposes a fine-grained cat and dog recognition method based on YOLOv8 and improved ShuffleNet-V2.Firstly,the YOLOv8 algorithm's Backbone is used to extract features from cat and dog images,in order to achieve accurate classification of cat and dog breeds and achieve high breed classification accuracy.Afterwards,a ShuffleNet-V2 lightweight twin network combined with ECA attention was proposed,which can accurately capture subtle differences between cat and dog individuals through feature learning,achieving accurate recognition of cat and dog individuals.To verify the effectiveness of the algorithm,a cat and dog breed classification and individual recognition dataset was constructed through public datasets and network collection,and the algorithm was evaluated through multiple quantitative indicators.The experimental results show that the Top1 accuracy of YOLOv8 classification network can reach 88.1%,and the Top5 accuracy can reach 98.6%;After combining the ECA attention mechanism,the twin network achieved accuracies of 90.8%,92.8%,and 92.6%on the training set,validation set,and constructed test pairs,respectively.Finally,the effectiveness of the proposed method was further demonstrated through fine-grained recognition visualization of cats and dogs,combined with a user-friendly UI interface.

deep learningcat and dog recognitionYOLOv8ShuffleNet

石鑫雨、方虹苏

展开 >

长安大学,陕西 西安 710061

深度学习 猫狗识别 YOLOv8 ShuffleNet

2024

山东工业技术

山东工业技术

ISSN:
年,卷(期):2024.(6)