Image-Based Goat Breed Identification and Localization Using Deep Learning

Image-Based Goat Breed Identification and Localization Using Deep Learning

Pritam Ghosh, Subhranil Mustafi, Satyendra Nath Mandal
Copyright: © 2020 |Pages: 23
DOI: 10.4018/IJCVIP.2020100105
OnDemand:
(Individual Articles)
Available
$37.50
No Current Special Offers
TOTAL SAVINGS: $37.50

Abstract

In this paper an attempt has been made to identify six different goat breeds from pure breed goat images. The images of goat breeds have been captured from different organized registered goat farms in India, and almost two thousand digital images of individual goats were captured in restricted (to get similar image background) and unrestricted (natural) environments without imposing stress to animals. A pre-trained deep learning-based object detection model called Faster R-CNN has been fine-tuned by using transfer-learning on the acquired images for automatic classification and localization of goat breeds. This fine-tuned model is able to locate the goat (localize) and classify (identify) its breed in the image. The Pascal VOC object detection evaluation metrics have been used to evaluate this model. Finally, comparison has been made with prediction accuracies of different technologies used for different animal breed identification.
Article Preview
Top

Introduction

Most animal species show their diversity in the form of breeds. It is necessary to identify these breeds for various reasons including implementation of the Global Plan of Action for Animal Genetic Resources (AnGR) as framed by Food and Agricultural Organization of the United Nation. Phenotypic and genotypic characterizations are the two pillars for recognition of breeds of domestic animals (FAO, Molecular Genetic Characterization of Animal Genetic Resources, 2011) and (FAO, Phenotypic Characterization of Animal Genetic Resources, 2012). The phenotypic characterization encompasses identification, quantitative and qualitative description, documentation of populations, information of the natural habitats and production systems of a breed. The genetic-characterization is done to understand the diversity and distinctiveness of a genetic resource for the purpose of framing policy for improving the value of the resource and its scope for utilization.

India is one of the few countries in the world, which has a major contribution to the international livestock-gene-pool and improvement of animal production in the world. It possesses about 132.74 million (FAOSTAT, 2018) goat population which is the second highest in the world after China. The country has so far registered 34 goat breeds as per report (NBAGR, 2015) of the ICAR-NBAGR, Karnal, Haryana; the premier institute, engaged in identification and characterization of livestock and poultry genetic resources of India. Declaration of breed identity by phenotypic characters seems unsatisfactory many times because of variations within a breed as well as presence of similar looking breeds especially, when purity of the breed is concerned. Genotypic characterization involves availability of expensive laboratory facilities. As a result, a new method for breed characterization is needed that should be accurate, economically viable and can be easily availed by the common people.

The aim of this paper is to build a goat breed dataset that can serve a variety of different purposes including research, training, planning, public awareness, decision-making and many more and propose a new approach to distinguish goat breeds with the help of images through deep learning-based object recognition technology. Since images are prone to noise and distortion like low quality images, low light images, images where the animal is partially obstructed, so this approach should also be resistant to such anomalies and provide consistent result for all conditions. This process would complement as well as supplement the existing system of breed identification technique non-invasively and also would be able to eliminate ambiguity in selecting pure breed animals.

In this paper, a novel goat breed dataset is constructed by capturing almost two thousand images of pure-breed goats which have been reared and maintained by government research organizations in India. The images are captured randomly with the help of a mobile device (Samsung A6) in such a way that the full goat is visible without imposing stress to animals. 85% of the captured images are used for training and the rest for testing. Since any deep learning model requires a large number of training images for getting good accuracy, the number of training images are increased by applying geometric transformations such as rotation, translation and scaling to the original images (augmentation). For object localization during test time, each training image needs to have coordinate information about the exact location of the object inside the image which is used by the bounding box predictor algorithm as the ground truth data. This is done using an image annotation tool by drawing a bounding box around the goat in the training images. Faster R-CNN with Inception-ResNet-v2 as the feature extraction backbone, trained on the COCO dataset is used as the pre-trained model. Then this model is fine-tuned by only re-training the fully connected layers with the help of the training set images for 100k iterations. After training is completed the model is tested on the test set of images and results are obtained. No augmentation and annotation are done on the test set images. In the output, each test image consists of a single bounding box around the goat describing its breed and prediction accuracy (Figure 1). During testing, the prediction accuracy is set manually, that means in any test image if the model predicts lower accuracy than the prescribed value no bounding box is drawn.

Figure 1.

The Process of Goat Breed Identification and Localization

IJCVIP.2020100105.f01

Complete Article List

Search this Journal:
Reset
Volume 14: 1 Issue (2024): Forthcoming, Available for Pre-Order
Volume 13: 1 Issue (2023)
Volume 12: 4 Issues (2022): 1 Released, 3 Forthcoming
Volume 11: 4 Issues (2021)
Volume 10: 4 Issues (2020)
Volume 9: 4 Issues (2019)
Volume 8: 4 Issues (2018)
Volume 7: 4 Issues (2017)
Volume 6: 2 Issues (2016)
Volume 5: 2 Issues (2015)
Volume 4: 2 Issues (2014)
Volume 3: 4 Issues (2013)
Volume 2: 4 Issues (2012)
Volume 1: 4 Issues (2011)
View Complete Journal Contents Listing