journal article·2025Open access

Head-Body Guided Deep Learning Framework for Dog Breed Recognition

Noman Khan, Mi Young Lee, Jakyoung Min

Computers, Materials & Continua· Volume 85· Issue 2

Abstract

Fine-grained dog breed classification presents significant challenges due to subtle inter-class differences, pose variations, and intra-class diversity. To address these complexities and limitations of traditional handcrafted approaches, a novel and efficient two-stage Deep Learning (DL) framework tailored for robust fine-grained classification is proposed. In the first stage, a lightweight object detector, YOLO v8N (You Only Look Once Version 8 Nano), is fine-tuned to localize both the head and full body of the dog from each image. In the second stage, a dual-stream Vision Transformer (ViT) architecture independently processes the detected head and body regions, enabling the extraction of region-specific, complementary features. This dual-path approach improves feature discriminability by capturing localized cues that are vital for distinguishing visually similar breeds. The proposed framework introduces several key innovations: (1) a modular and lightweight head–body detection pipeline that balances accuracy with computational efficiency, (2) a region-aware ViT model that leverages spatial attention for enhanced fine-grained recognition, and (3) a training scheme incorporating advanced augmentations and structured supervision to maximize generalization. These contributions collectively enhance model performance while maintaining deployment efficiency. Extensive experiments conducted on the Tsinghua Dogs dataset validate the effectiveness of the approach. The model achieves an accuracy of 90.04%, outperforming existing State-of-the-Art (SOTA) methods across all key evaluation metrics. Furthermore, statistical significance testing confirms the robustness of the observed improvements over multiple baselines. The proposed method presents an effective solution for breed recognition tasks and shows strong potential for broader applications, including pet surveillance, veterinary diagnostics, and cross-species classification. Notably, it achieved an accuracy of 96.85% on the Oxford-IIIT Pet dataset, demonstrating its robustness across different species and breeds.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Advanced Neural Network Applications · Digital Imaging for Blood Diseases · Advanced Image and Video Retrieval Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (49)

Show source-provided references
1. Design a computer vision approach to localize, detect and count rice seedlings captured by a UAV-mounted camera
2. A robust face recognition method combining LBP with multi-mirror symmetry for images with various face interferences10.1007/s11633-018-1153-8 ↗
3. Knowing your dog breed: identifying a dog breed with deep learning10.1007/s11633-020-1261-0 ↗
4. A new dataset of dog breed images and a benchmark for fine-grained classification10.1007/s41095-020-0184-6 ↗
5. Face recognition based dog breed classification using coarse-to-fine concept and PCA
6. Face-recognition-based dog-breed classification using size and position of each local part, and PCA
7. Cats and dogs
8. Dog breed classification using part localization
9. Dog identification using soft biometrics and neural networks
10. Transfer learning on convolutional neural networks for dog identification
11. A survey on deep learning-based fine-grained object classification and semantic segmentation10.1007/s11633-017-1053-3 ↗
12. Component SPD matrices: a low-dimensional discriminative data descriptor for image set classification10.1007/s41095-018-0119-7 ↗
13. Vectorial approximations of infinite-dimensional covariance descriptors for image classification10.1007/s41095-017-0094-4 ↗
14. Breed identification and emotion detection of dogs using deep learning: a review
15. Deep learning approaches for dog breed identification and behaviour analysis in conversational AI systems
16. Classification of dog breeds using convolutional neural network models and support vector machine10.3390/bioengineering11111157 ↗
17. Dog breed classification via landmarks
18. Simonyan K, Zisserman A. Very deep convolutional networks for large-scale image recognition. arXiv:1409.1556. 2014.
19. Deep residual learning for image recognition
20. Rethinking the inception architecture for computer vision
21. Look closer to see better: recurrent attention convolutional neural network for fine-grained image recognition
22. Conde MV, Turgutlu K. Exploring vision transformers for fine-grained classification. arXiv:2106.10587. 2021.
23. On farm automatic sheep breed classification using deep learning10.1016/j.compag.2019.105055 ↗
24. A mobile application for cat detection and breed recognition based on deep learning
25. Few-shot learning by integrating spatial and frequency representation
26. Classification of flower species by using features extracted from the intersection of feature selection methods in convolutional neural network models10.1016/j.measurement.2020.107703 ↗
27. Image-based Arabian camel breed classification using transfer learning on CNNs10.3390/app13148192 ↗
28. A convolutional neural network-based approach for automatic dog breed classification using modified-xception model
29. Small scale dog face detection using improved Faster RCNN
30. Machine learning techniques for supporting dog grooming services
31. Efficient canine vision: accurate dog breed classification with EfficientNet
32. Diversified visual attention networks for fine-grained object classification10.1109/TMM.2017.2648498 ↗
33. Part-based R-CNNs for fine-grained category detection
34. Bilinear CNN models for fine-grained visual recognition
35. Selective convolutional descriptor aggregation for fine-grained image retrieval10.1109/TIP.2017.2688133 ↗
36. S3mix: same category same semantics mixing for augmenting fine-grained images
37. iFBI: lightweight breed and individual recognition for cats and dogs
38. Integrating multiple visual attention mechanisms in deep neural networks
39. Real-time birds breed classification and health monitoring using YOLOv8
40. A review on yolov8 and its advancements
41. Two-stream convolutional networks for action recognition in videos
42. DSNet: dual-stream network for fine-grained ship classification in optical remote sensing images10.1080/2150704X.2024.2377211 ↗
43. Two-stream contextualized CNN for fine-grained image classification
44. Dosovitskiy A, Beyer L, Kolesnikov A, Weissenborn D, Zhai X, Unterthiner T, et al. An image is worth 16x16 words: transformers for image recognition at scale. arXiv:2010.11929. 2020.
45. Novel dataset for fine-grained image categorization: stanford dogs
46. Howard AG, Zhu M, Chen B, Kalenichenko D, Wang W, Weyand T, et al. Mobilenets: efficient convolutional neural networks for mobile vision applications. arXiv:1704.04861. 2017.
47. Densely connected convolutional networks
48. Efficientnet: rethinking model scaling for convolutional neural networks
49. Xception: deep learning with depthwise separable convolutions