Lightweight multi-attribute target detection for dogs and cats based on improved YOLOv7

被引:0
|
作者
Cao, Danyang [1 ]
Liu, Fangfang [1 ]
机构
[1] North China Univ Technol, Sch Informat & Technol, Beijing 100144, Peoples R China
关键词
Fine-grained image classification; Target detection; Dog and cat multi-attribute recognition; YOLOv7; PConv; B-CNN;
D O I
10.1145/3672919.3672992
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Multi-attribute target detection techniques can accurately obtain the location and attribute information of cats and dogs, thus providing a more effective means of pet management. However, it is difficult to quickly locate dogs and cats in complex environments and accurately identify their fine-grained attributes. To address these issues, this research introduces a streamlined and efficient method for multi-attribute target detection, which firstly uses a lightweight YOLOv7 network (YOLOv7-P) to quickly determine the location of cats and dogs, and excludes the influence of background and other redundant information on classification, and then uses a B-CNN (Bi-Linear Convolutional Neural Network, B-CNN) network to identify the fine-grained attributes of cats and dogs, and improve the cat and dog attribute classification accuracy. The YOLOv7-P network simplifies its structure by utilizing the PConv (partial convolution) module instead of the traditional 3x3 convolution block in the YOLOv7 ELAN structure. Additionally, it incorporates a hierarchical adaptive channel pruning technique that identifies and removes unimportant filters within the most redundant layers, thereby minimizing redundant computations and memory accesses, ultimately enhancing the speed of target detection. In comparison to the original YOLOv7 model, the YOLOv7-P network boasts a significant reduction in parameters by 17.02%, a decrease in GFLOPS by 26.44%, and an impressive 9.50% improvement in FPS. This optimization not only simplifies the network structure but also enhances its efficiency in target detection tasks. The target region localised by YOLOv7-P was fed into the B-CNN network for training and classification, resulting in 98.92% and 92.08% classification accuracy for cat and dog species and breeds in The Oxford-IIIT Pet Dataset dataset, respectively. In essence, the multi-attribute target detection method introduced in this study demonstrates swift and precise capabilities in detecting cats and dogs with multiple attributes in intricate environments. This approach holds considerable practical value and offers broad application prospects.
引用
收藏
页码:395 / 400
页数:6
相关论文
共 50 条
  • [1] Improved Lightweight Underwater Target Detection Algorithm of YOLOv7
    Xin, Shi'ao
    Ge, Haibo
    Yuan, Hao
    Yang, Yudi
    Yao, Yang
    Computer Engineering and Applications, 2024, 60 (03)
  • [2] Lightweight Underwater Target Detection Algorithm Based on YOLOv7
    Xin, Shiao
    Ge, Haibo
    Yuan, Hao
    Yang, Yudi
    Yao, Yang
    Ma, Sai
    2024 6TH INTERNATIONAL CONFERENCE ON NATURAL LANGUAGE PROCESSING, ICNLP 2024, 2024, : 387 - 391
  • [3] Underwater Target Detection Based on Improved YOLOv7
    Liu, Kaiyue
    Sun, Qi
    Sun, Daming
    Peng, Lin
    Yang, Mengduo
    Wang, Nizhuan
    JOURNAL OF MARINE SCIENCE AND ENGINEERING, 2023, 11 (03)
  • [4] Underwater Target Detection Based on Improved YOLOv7
    Fu, Junshang
    Tian, Ying
    IAENG International Journal of Computer Science, 2024, 51 (04) : 422 - 429
  • [5] Night target detection algorithm based on improved YOLOv7
    Bowen, Zheng
    Huacai, Lu
    Shengbo, Zhu
    Xinqiang, Chen
    Hongwei, Xing
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [6] A marigold corolla detection model based on the improved YOLOv7 lightweight
    Fan, Yixuan
    Tohti, Gulbahar
    Geni, Mamtimin
    Zhang, Guohui
    Yang, Jiayu
    SIGNAL IMAGE AND VIDEO PROCESSING, 2024, 18 (05) : 4703 - 4712
  • [7] Lightweight Model for Pavement Defect Detection Based on Improved YOLOv7
    Huang, Peile
    Wang, Shenghuai
    Chen, Jianyu
    Li, Weijie
    Peng, Xing
    SENSORS, 2023, 23 (16)
  • [8] Maize Kernel Quality Detection Based on Improved Lightweight YOLOv7
    Yang, Lili
    Liu, Chengman
    Wang, Changlong
    Wang, Dongwei
    AGRICULTURE-BASEL, 2024, 14 (04):
  • [9] A lightweight multi-target ship tracking model based on Yolov7
    Cen, Jian
    Chen, Jia-Hao
    Liu, Xi
    Li, Jia-Xi
    Li, Hai-Sheng
    Huang, Wei-Sheng
    Kang, Jun-Xi
    PHYSICA SCRIPTA, 2024, 99 (03)
  • [10] YOLOv7-SN: Underwater Target Detection Algorithm Based on Improved YOLOv7
    Zhao, Ming
    Zhou, Huibo
    Li, Xue
    SYMMETRY-BASEL, 2024, 16 (05):