Abstract
Accurate and reliable breed identification of domestic animals from images is one of the most promising but challenging tasks in intelligent livestock management. Traditional methods for animal breed identification are very costly and time consuming. Therefore, there is a need for a faster and cheaper technique for animal breed identification, which can be used by anyone without much technical knowhow. Deep Learning based animal breed classification from images can be used to solve this problem. Recent developments in deep Convolutional Neural Network (CNN) has drastically improved the accuracy of image recognition systems, but choosing the optimal model for the required task is very important for best performance. In this study, the performance of nine different deep CNN-based models have been analyzed to find the optimal model which can precisely determine the breed identity of individual animals from its image. All nine CNN models have been separately trained end-to-end on Pig Breed Dataset and Goat Breed Dataset using a set of identical hyperparameters. From the results obtained it has been established that MobileNetV2 is the best deep-CNN model for Goat Breed Classification with 95.00% prediction accuracy and InceptionV3 is the best model for pig breed classification with 100.00% prediction accuracy. Breed classification performance of goat and pig obtained in this study have been compared with other techniques used for animal breed classification. Comparison results show that our CNN-based technique has performed on par with all other methods. With these encouraging results, it can be confidently stated that deep CNN-based models can be used for solving the animal breed classification problem with high accuracy and can be used as ready to use technology for intelligent livestock management.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Abbreviations
- BoW:
-
Bag of Words
- SIFT:
-
Scale-invariant feature transform
- SVM:
-
Support vector machine
- ScSPM:
-
Sparse coding spatial pyramid matching
- cLBP:
-
Cell-structured local binary patterns
- DCNN:
-
Deep convolutional neural network
- LDA:
-
Linear discriminant analysis
- CNN:
-
Convolutional neural network
- KNN:
-
K-nearest neighbors
- MP-CNN:
-
Multi part convolutional neural network
- SC-MPEM:
-
Supervised clustering using multi part CNN
- RNN:
-
Recurrent neural network
- FCAN:
-
Fully convolutional attention networks
- FOAF:
-
Fused one-vesus-all features
- MA-CNN:
-
Multi-attention convolutional neural network
References
Hoffmann I, Scherf B (2010) Implementing the global plan of action for animal genetic resources. Animal Genet Resour 47:1–10
The food and agriculture organization corporate statistical database. Food and Agriculture Organization of the United Nations (2018). http://www.fao.org/faostat/en/#data/QA/visualize
Twentieth livestock census. Animal Husbandry Statistics Division, Ministry of Fisheries, Animal Husbandry and Dairying, Government of India, New Delhi (2019). https://dadf.gov.in/sites/default/filess/20th%20Livestock%20census-2019%20All%20India%20Report.pdf
Registered breeds of goat. National Bureau of Animal Genetic Resources (2015). http://www.nbagr.res.in/reggoat.html
Registered breeds of pig. National Bureau of Animal Genetic Resources (2015). http://www.nbagr.res.in/regpig.html
Phenotypic characterization of animal genetic resources. The Food and Agriculture Organization (2012). http://www.fao.org/3/a-i2686e.pdf
Molecular genetic characterization of animal genetic resources. The Food and Agriculture Organization (2011). http://www.fao.org/3/i2413e/i2413e00.pdf
Andrew W, Hannuna S, Campbell N, Burghardt T (2016) Automatic individual holstein friesian cattle identification via selective local coat pattern matching in RGB-D imagery. In: 2016 IEEE international conference on image processing (ICIP). IEEE, pp 484–488
Kumar S, Pandey A, Satwik KSR, Kumar S, Singh SK, Singh AK, Mohan A (2018) Deep learning framework for recognition of cattle using muzzle point image pattern. Measurement 116:1–17
Lahiri M, Tantipathananandh C, Warungu R, Rubenstein DI, Berger-Wolf TY (2011) Biometric animal databases from field photographs: identification of individual zebra in the wild. In: Proceedings of the 1st ACM international conference on multimedia retrieval, pp 1–8
Peng W, Yang H, Cai K, Zhou L, Tan Z, Wu K (2019) Molecular identification of the Danzhou chicken breed in china using DNA barcoding. Mitochondr DNA Part B 4(2):2459–2463
Sardina MT, Tortorici L, Mastrangelo S, Di Gerlando R, Tolone M, Portolano B (2015) Application of microsatellite markers as potential tools for traceability of Girgentana goat breed dairy products. Food Res Int 74:115–122
Wang X, Liu J, Zhou G, Guo J, Yan H, Niu Y, Li Y, Yuan C, Geng R, Lan X et al (2016) Whole-genome sequencing of eight goat populations for the detection of selection signatures underlying production and adaptive traits. Sci Rep 6:38932
Burghardt T (2012) A general introduction to visual animal biometrics. Technical Report, Visual Information Laboratory, University of Bristol, Technical report
Hailu A et al (2015) Breed characterization: tools and their applications. Open Access Library J 2(04):1
Kumar S, Singh SK (2016) Visual animal biometrics: survey. IET. Biometrics 6(3):139–156
Swanson A, Kosmala M, Lintott C, Simpson R, Smith A, Packer C (2015) Snapshot Serengeti, high-frequency annotated camera trap images of 40 mammalian species in an African Savanna. Sci Data 2(1):1–14
Manohar N, Kumar YS, Kumar GH (2016) Supervised and unsupervised learning in animal classification. In: 2016 International conference on advances in computing, communications and informatics (ICACCI). IEEE, pp 156–161
Parkhi OM, Vedaldi A, Zisserman A, Jawahar C (2012) Cats and dogs. In: 2012 IEEE conference on computer vision and pattern recognition. IEEE, pp 3498–3505
Yu X, Wang J, Kays R, Jansen PA, Wang T, Huang T (2013) Automated identification of animal species in camera trap images. EURASIP J Image Video Process 2013(1):52
Deng J, Dong W, Socher R, Li LJ, Li K, Fei-Fei L (2009) Imagenet: a large-scale hierarchical image database. In: 2009 IEEE conference on computer vision and pattern recognition. IEEE, pp 248–255
Krizhevsky A, Sutskever I, Hinton GE (2017) Imagenet classification with deep convolutional neural networks. Commun ACM 60(6):84–90
Liu B, Liu Y, Zhou K (2014) Image classification for dogs and cats. TechReport, University of Alberta
Meena SD, Agilandeeswari L (2019) An efficient framework for animal breeds classification using semi-supervised learning and multi-part convolutional neural network (mp-cnn). IEEE Access 7:151783–151802
Sundaram DM, Loganathan A (2020) A new supervised clustering framework using multi discriminative parts and expectation-maximization approach for a fine-grained animal breed classification (sc-mpem). Neural Proces Lett 52(1):727–766
Verma GK, Gupta P (2018) Wild animal detection using deep convolutional neural network. In: Proceedings of 2nd international conference on computer vision & image processing, pp 327–338. Springer, Berlin
Chen G, Han TX, He Z, Kays R, Forrester T (2014) Deep convolutional neural network based species recognition for wild animal monitoring. In: 2014 IEEE international conference on image processing (ICIP). IEEE, pp 858–862
Favorskaya M, Pakhirka A (2019) Animal species recognition in the wildlife based on muzzle and shape features using joint CNN. Procedia Comput Sci 159:933–942
Norouzzadeh MS, Nguyen A, Kosmala M, Swanson A, Palmer MS, Packer C, Clune J (2018) Automatically identifying, counting, and describing wild animals in camera-trap images with deep learning. Proc Natl Acad Sci 115(25):E5716–E5725
Sharma R, Pasi N, Shanu S (2020) An automated animal classification system: a transfer learning approach. In: 5th International conference on next generation computing technologies (NGCT-2019)
Trnovszkỳ T, Kamencay P, Orješek R, Benčo M, Sỳkora P (2017) Animal recognition system based on convolutional neural network
Villa AG, Salazar A, Vargas F (2017) Towards automatic wild animal monitoring: Identification of animal species in camera-trap images using very deep convolutional neural networks. Ecol inf 41:24–32
Nguyen H, Maclagan SJ, Nguyen TD, Nguyen T, Flemons P, Andrews K, Ritchie EG, Phung D (2017) Animal recognition and identification with deep convolutional neural networks for automated wildlife monitoring. In: 2017 IEEE international conference on data science and advanced analytics (DSAA). IEEE, pp 40–49
Hsu D (2015) Using convolutional neural networks to classify dog breeds. 1n: Convolutional neural networks for visual recognition [course webpage], vol 2
Lin TY, RoyChowdhury A, Maji S (2015) Bilinear CNN models for fine-grained visual recognition. In: Proceedings of the IEEE international conference on computer vision, pp 1449–1457
Liu J, Kanazawa A, Jacobs D, Belhumeur P (2012) Dog breed classification using part localization. In: European conference on computer vision. Springer, Berlin, pp 172–185
Sermanet P, Frome A, Real E (2014) Attention for fine-grained categorization. arXiv preprint arXiv:1412.7054
Simon M, Rodner E (2015) Neural activation constellations: unsupervised part model discovery with convolutional networks. In: Proceedings of the IEEE international conference on computer vision, pp 1143–1151
Yao H, Zhang S, Zhang Y, Li J, Tian Q (2016) Coarse-to-fine description for fine-grained visual categorization. IEEE Trans Image Process 25(10):4858–4872
Zhang X, Xiong H, Zhou W, Tian Q (2015) Fused one-vs-all features with semantic alignments for fine-grained visual categorization. IEEE Trans Image Process 25(2):878–892
Zmudzinski L (2018) Deep learning guinea pig image classification using NVIDIA digits and googlenet. In: CS&P
Khosla A, Jayadevaprakash N, Yao B, Li FF (2011) Novel dataset for fine-grained image categorization: Stanford dogs. In: Proceedings CVPR Workshop on fine-grained visual categorization (FGVC), vol. 2 (2011)
Welinder P, Branson S, Mita T, Wah C, Schroff F, Belongie S, Perona P (2010) Caltech-UCSD Birds 200. Technical Report. CNS-TR-2010-001, California Institute of Technology
Cs231n: Convolutional neural networks for visual recognition. Stanford University (2015). http://cs231n.stanford.edu
Srivastava N, Hinton G, Krizhevsky A, Sutskever I, Salakhutdinov R (2014) Dropout: a simple way to prevent neural networks from overfitting. J Mach Learn Res 15(1):1929–1958
Santurkar S, Tsipras D, Ilyas A, Madry A (2018) How does batch normalization help optimization? In: Advances in neural information processing systems, pp 2483–2493
Ioffe S, Szegedy C (2015) Batch normalization: accelerating deep network training by reducing internal covariate shift. arXiv preprint arXiv:1502.03167
Agarap AF (2018) Deep learning using rectified linear units (relu). arXiv preprint arXiv:1803.08375
Simonyan K, Zisserman A (2014) Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556
Szegedy C, Vanhoucke V, Ioffe S, Shlens J, Wojna Z (2016) Rethinking the inception architecture for computer vision. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 2818–2826
Szegedy C, Liu W, Jia Y, Sermanet P, Reed S, Anguelov D, Erhan D, Vanhoucke V, Rabinovich A (2015) Going deeper with convolutions. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 1–9
He K, Zhang X, Ren S, Sun J (2016) Identity mappings in deep residual networks. In: European conference on computer vision. Springer, pp 630–645
He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recognition. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 770–778
Chollet F (2017) Xception: Deep learning with depthwise separable convolutions. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 1251–1258
Huang G, Liu Z, Van Der Maaten L, Weinberger KQ (2017) Densely connected convolutional networks. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 4700–4708
Szegedy C, Ioffe S, Vanhoucke V, Alemi A (2016) Inception-v4, inception-resnet and the impact of residual connections on learning. arXiv preprint arXiv:1602.07261
Sandler M, Howard A, Zhu M, Zhmoginov A, Chen LC (2018) Mobilenetv2: inverted residuals and linear bottlenecks. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 4510–4520
Zoph B, Vasudevan V, Shlens J, Le QV (2018) Learning transferable architectures for scalable image recognition. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 8697–8710
Tan M, Le QV (2019) EfficientNet: Rethinking model scaling for convolutional neural networks. arXiv preprint arXiv:1905.11946
Zoph B, Le QV (2016) Neural architecture search with reinforcement learning. arXiv preprint arXiv:1611.01578
Everingham M, Van Gool L, Williams CK, Winn J, Zisserman A (2010) The pascal visual object classes (voc) challenge. Int J Comput Vis 88(2):303–338
Hoiem D, Chodpathumwan Y, Dai Q (2012) Diagnosing error in object detectors. In: European conference on computer vision. Springer, pp 340–353
Japkowicz N, Shah M (2011) Evaluating learning algorithms: a classification perspective. Cambridge University Press
Japkowicz N, Shah M (2015) Performance evaluation in machine learning. In: Machine learning in radiation oncology. Springer, pp 41–56
Lin TY, Maire M, Belongie S, Hays J, Perona P, Ramanan D, Dollár P, Zitnick CL (2014) Microsoft coco: common objects in context. In: European conference on computer vision. Springer, Berlin, pp 740–755
Chollet F, et al (2018) Keras: the python deep learning library. ascl, pp ascl–1806
Abadi M, Agarwal A, Barham P, Brevdo E, Chen Z, Citro C, Corrado GS, Davis A, Dean J, Devin M, et al (2016) Tensorflow: large-scale machine learning on heterogeneous distributed systems. arXiv preprint arXiv:1603.04467
Ruder S (2016) An overview of gradient descent optimization algorithms. arXiv preprint arXiv:1609.04747
Chen Y, Chen X, Xu X (2018) Dog breed classification via convolutional neural network
Liu X, Xia T, Wang J, Yang Y, Zhou F, Lin Y (2016) Fully convolutional attention networks for fine-grained recognition. arXiv preprint arXiv:1603.06765
Ayanzadeh A, Vahidnia S (2018) Modified deep neural networks for dog breeds identification. Preprints
Borwarnginn P, Thongkanchorn K, Kanchanapreechakorn S, Kusakunniran W (2019) Breakthrough conventional based approach for dog breed classification using CNN with transfer learning. In: 2019 11th International conference on information technology and electrical engineering (ICITEE). IEEE, pp 1–5
Mulligan K, Rivas P (2019) Dog breed identification with a neural network over learned representations from the Xception CNN architecture. In: 21st International conference on artificial intelligence (ICAI 2019)
Zheng H, Fu J, Mei T, Luo J (2017) Learning multi-attention convolutional neural network for fine-grained image recognition. In: Proceedings of the IEEE international conference on computer vision, pp 5209–5217
Jwade SA, Guzzomi A, Mian A (2019) On farm automatic sheep breed classification using deep learning. Comput Electron Agricult 167:105055
Acknowledgements
The authors would like to thank ITRA (Digital India Corporation, formerly Medialab Asia), MeitY, Govt. of India, for funding. The authors are grateful to Dr. Amitabha Bandyopadhyay (Senior Consultant, ITRA Ag & Food) and Dr. Dilip Kumar Hazra (Assistant Professor, Department of Agronomy, Uttar Banga Krishi Viswa Vidyalaya) for constant encouragement, constructive criticism, and scientific input. The authors gratefully acknowledge the unconditional support from the Director, ICAR- CIRG Makhdoom, UP; the Joint Director of ICAR-IVRI Eastern Regional Station, Kolkata; ICAR National Research Centre on Pig, Rani, Assam; ICAR Research Complex for NEH Region, Umiam, Meghalaya and ICAR Research Complex for NEH Region, Tripura Centre, Tripura for permitting us to access their organized pig farms. The authors are also thankful to Dr. Sourabh Kumar Das (Principal, Kalyani Government Engineering College) for his continuous support.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this chapter
Cite this chapter
Ghosh, P. et al. (2021). Image-Based Identification of Animal Breeds Using Deep Learning. In: Koubaa, A., Azar, A.T. (eds) Deep Learning for Unmanned Systems. Studies in Computational Intelligence, vol 984. Springer, Cham. https://doi.org/10.1007/978-3-030-77939-9_12
Download citation
DOI: https://doi.org/10.1007/978-3-030-77939-9_12
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-77938-2
Online ISBN: 978-3-030-77939-9
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)