Livestock classification and counting in quadcopter aerial images using Mask R-CNN

ABSTRACT Quadcopters equipped with machine learning vision systems are bound to become an essential technique for precision agriculture applications in pastures in the near future. This paper presents a low-cost approach for livestock counting jointly with classification and semantic segmentation which provide the potential of biometrics and welfare monitoring in animals in real time. The method used in the paper adopts the state-of-the-art deep-learning technique known as Mask R-CNN for feature extraction and training in the images captured by quadcopters. Key parameters such as IoU (Intersection over Union) threshold, the quantity of the training data and the effect the proposed system performs on various densities have been evaluated to optimize the model. A real pasture surveillance dataset is used to evaluate the proposed method and experimental results show that our proposed system can accurately classify the livestock with an accuracy of 96% and estimate the number of cattle and sheep to within 92% of the visual ground truth, presenting competitive advantages of the approach feasible for monitoring the livestock.

[1]  M. H. Ariff,et al.  RFID application development for a livestock monitoring system , 2018 .

[2]  David W. Johnston,et al.  Drones and convolutional neural networks facilitate automated and accurate cetacean species identification and photogrammetry , 2019, Methods in Ecology and Evolution.

[3]  C. Yang,et al.  Comparison of hyperspectral imagery with aerial photography and multispectral imagery for mapping broom snakeweed , 2010 .

[4]  Alberto Gonzalez-Sanchez,et al.  Estimation of vegetation fraction using RGB and multispectral images from UAV , 2018, International Journal of Remote Sensing.

[5]  Shashank Shekhar,et al.  Road Damage Detection And Classification In Smartphone Captured Images Using Mask R-CNN , 2018, ArXiv.

[6]  Margaret Kosmala,et al.  Automatically identifying, counting, and describing wild animals in camera-trap images with deep learning , 2017, Proceedings of the National Academy of Sciences.

[7]  Oleksiy Guzhva,et al.  A CNN-based Cow Interaction Watchdog , 2016 .

[8]  Bilal Alsalam,et al.  Autonomous UAVs wildlife detection using thermal imaging, predictive navigation and computer vision , 2016, 2016 IEEE Aerospace Conference.

[9]  Colin Greatwood,et al.  Visual Localisation and Individual Identification of Holstein Friesian Cattle via Deep Learning , 2017, 2017 IEEE International Conference on Computer Vision Workshops (ICCVW).

[10]  M. L. Smith Improving multispecies rocky reef fish censuses by counting different groups of species using different procedures , 1989, Environmental Biology of Fishes.

[11]  Gyanendra K. Verma,et al.  Wild Animal Detection Using Deep Convolutional Neural Network , 2017, CVIP.

[12]  Luís Pádua,et al.  UAS, sensors, and data processing in agroforestry: a review towards practical applications , 2017 .

[13]  S. Franklin,et al.  Hierarchical land cover and vegetation classification using multispectral data acquired from an unmanned aerial vehicle , 2017 .

[14]  Jiangping Wang,et al.  Automated identification of animal species in camera trap images , 2013, EURASIP J. Image Video Process..

[15]  Mohammad Danish Beef Cattle Instance Segmentation Using Mask R-Convolutional Neural Network , 2018 .

[16]  Qiang Yang,et al.  A Survey on Transfer Learning , 2010, IEEE Transactions on Knowledge and Data Engineering.

[17]  Ali Farhadi,et al.  You Only Look Once: Unified, Real-Time Object Detection , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[18]  A. Cracknell,et al.  Using an unmanned aerial vehicle (UAV) to study wild yak in the highest desert in the world , 2018 .

[19]  Tony X. Han,et al.  Deep convolutional neural network based species recognition for wild animal monitoring , 2014, 2014 IEEE International Conference on Image Processing (ICIP).

[20]  Tristan Perez,et al.  DeepFruits: A Fruit Detection System Using Deep Neural Networks , 2016, Sensors.

[21]  Zheng Cao,et al.  Marine animal classification using combined CNN and hand-designed image features , 2015, OCEANS 2015 - MTS/IEEE Washington.

[22]  Ross B. Girshick,et al.  Mask R-CNN , 2017, 1703.06870.

[23]  I. Bloch,et al.  Automatic knee meniscus tear detection and orientation classification with Mask-RCNN. , 2019, Diagnostic and interventional imaging.

[24]  Sergio Guadarrama,et al.  Speed/Accuracy Trade-Offs for Modern Convolutional Object Detectors , 2016, 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[25]  Jesús Francisco Vargas-Bonilla,et al.  Towards automatic wild animal monitoring: Identification of animal species in camera-trap images using very deep convolutional neural networks , 2016, Ecol. Informatics.

[26]  Shaodi You,et al.  Cattle detection and counting in UAV images based on convolutional neural networks , 2019, International Journal of Remote Sensing.

[27]  Ilan Halachmi,et al.  3D Computer-vision system for automatically estimating heifer height and body mass , 2017, Biosystems Engineering.

[28]  Guigang Zhang,et al.  Deep Learning , 2016, Int. J. Semantic Comput..

[29]  Robert Ross,et al.  Beef Cattle Instance Segmentation Using Fully Convolutional Neural Network , 2018, BMVC.

[30]  Jeremiah W. Johnson,et al.  Adapting Mask-RCNN for Automatic Nucleus Segmentation , 2018, ArXiv.

[31]  Charalampos Z. Patrikakis,et al.  A complete farm management system based on animal identification using RFID technology , 2010 .

[32]  Jian Sun,et al.  Deep Residual Learning for Image Recognition , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[33]  Debjani Chakraborty,et al.  Transfer learning based classification of optical coherence tomography images with diabetic macular edema and dry age-related macular degeneration. , 2017, Biomedical optics express.

[34]  Julie Linchant,et al.  Are unmanned aircraft systems (UASs) the future of wildlife monitoring? A review of accomplishments and challenges , 2015 .

[35]  A. Mysterud,et al.  Selecting herb species and traits as indicators of sheep grazing pressure in a Norwegian alpine habitat , 2006 .

[36]  Juan M. Corchado,et al.  Detection of Cattle Using Drones and Convolutional Neural Networks , 2018, Sensors.

[37]  Mriganka Gogoi PROTECTION OF CROPS FROM ANIMALS USING INTELLIGENT SURVEILLANCE SYSTEM , 2015 .

[38]  Håkan Ardö,et al.  Convolutional neural network-based cow interaction watchdog , 2017, IET Comput. Vis..

[39]  Wei Liu,et al.  SSD: Single Shot MultiBox Detector , 2015, ECCV.

[40]  Kaiming He,et al.  Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks , 2015, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[41]  O. Sala,et al.  Effect of animal husbandry on herbivore-carrying capacity at a regional scale , 1992, Nature.

[42]  Pietro Perona,et al.  Microsoft COCO: Common Objects in Context , 2014, ECCV.

[43]  Pablo Chamoso,et al.  UAVs Applied to the Counting and Monitoring of Animals , 2014, ISAmI.

[44]  Håkan Ardö,et al.  Now You See Me: Convolutional Neural Network Based Tracker for Dairy Cows , 2018, Front. Robot. AI.

[45]  D Berckmans,et al.  Analysis of individual classification of lameness using automatic measurement of back posture in dairy cattle. , 2013, Journal of dairy science.

[46]  Jeremy Randle,et al.  Automated Mapping of Woody Debris over Harvested Forest Plantations Using UAVs, High-Resolution Imagery, and Machine Learning , 2019, Remote. Sens..

[47]  Qiang Yang,et al.  Heterogeneous Transfer Learning for Image Classification , 2011, AAAI.

[48]  Gregory M. P. O'Hare,et al.  Modelling the smart farm , 2017 .

[49]  Partha Pratim Ray,et al.  Internet of things for smart agriculture: Technologies, practices and future direction , 2017, J. Ambient Intell. Smart Environ..

[50]  Sanjay Kumar Singh,et al.  Monitoring of pet animal in smart cities using animal biometrics , 2016, Future Gener. Comput. Syst..

[51]  Jitendra Malik,et al.  DeepBox: Learning Objectness with Convolutional Networks , 2015, 2015 IEEE International Conference on Computer Vision (ICCV).

[52]  Maryam Rahnemoonfar,et al.  Automatic detection and counting of cattle in UAV imagery based on machine vision technology (Conference Presentation) , 2017, Commercial + Scientific Sensing and Imaging.

[53]  Tu Dinh Nguyen,et al.  Animal Recognition and Identification with Deep Convolutional Neural Networks for Automated Wildlife Monitoring , 2017, 2017 IEEE International Conference on Data Science and Advanced Analytics (DSAA).

[54]  Y. H. Sharath Kumar,et al.  Animal Classification System: A Block Based Approach , 2016, ArXiv.

[55]  Michael A. Tabak,et al.  Machine learning to classify animal species in camera trap images: applications in ecology , 2018, bioRxiv.

[56]  Sandra Johnson,et al.  Unmanned Aerial Vehicles (UAVs) and Artificial Intelligence Revolutionizing Wildlife Monitoring and Conservation , 2016, Sensors.

[57]  B. Sturm,et al.  Implementation of machine vision for detecting behaviour of cattle and pigs , 2017 .

[58]  Daniel Berckmans,et al.  Implementation of an automatic 3D vision monitor for dairy cow locomotion in a commercial farm , 2017, Biosystems Engineering.

[59]  Antonio Torralba,et al.  LabelMe: A Database and Web-Based Tool for Image Annotation , 2008, International Journal of Computer Vision.

[60]  Michael A. Tabak,et al.  Machine learning to classify animal species in camera trap images: applications in ecology , 2018 .

[61]  Luc Van Gool,et al.  DeepProposal: Hunting Objects by Cascading Deep Convolutional Layers , 2015, 2015 IEEE International Conference on Computer Vision (ICCV).

[62]  D. Bailey,et al.  740 Use of GPS tracking collars and accelerometers for rangeland livestock production research , 2017 .

[63]  B. A. Wadsworth,et al.  Behavioral and physiological changes around estrus events identified using multiple automated monitoring technologies. , 2015, Journal of dairy science.

[64]  Gang Yu,et al.  Cascaded Pyramid Network for Multi-person Pose Estimation , 2017, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[65]  Roman Gula,et al.  An audio/video surveillance system for wildlife , 2010, European Journal of Wildlife Research.