Skip to main content

Pig Breed Detection Using Faster R-CNN

  • Conference paper
  • First Online:
Proceedings of International Conference on Frontiers in Computing and Systems

Abstract

In this paper, convolutional neural network object detection technology has been used to detect pig breeds with high precision from images captured through mobile cameras. The pretrained model is retrained on several images of 6 different pure breed pigs obtained from organized farms. The Faster R-CNN Inception-ResNet-v2 model has been used in transfer learning fashion for the above task. The training accuracy of this model is 100%, and the testing accuracy of this model is 91% with a confidence level of 94%. From the results achieved, it is noted that this model has produced better results compared to detection accuracy on other datasets like dog dataset, flower dataset, etc.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Torrey, L., Shavlik, J.: Transfer learning. In: Handbook of Research on Machine Learning Applications and Trends: Algorithms, Methods, and Techniques, pp. 242–264. IGI Global (2010)

    Google Scholar 

  2. Krizhevsky, A., Sutskever, I., Hinton, G.E.: Imagenet classification with deep convolutional neural networks. In: Advances in Neural Information Processing Systems, pp. 1097–1105 (2012)

    Google Scholar 

  3. Russakovsky, O., Deng, J., Su, H., Krause, J., Satheesh, S., Ma, S., Huang, Z., Karpathy, A., Khosla, A., Bernstein, M., et al.: Imagenet large scale visual recognition challenge. Int. J. Comput. Vis. 115(3), 211–252 (2015)

    Article  MathSciNet  Google Scholar 

  4. Simonyan, K., Zisserman, A.: Very deep convolutional networks for large-scale image recognition (2014). arXiv:1409.1556

  5. Chai, Y., Lempitsky, V., Zisserman, A.: Bicos: a bi-level co-segmentation method for image classification. In: 2011 International Conference on Computer Vision, pp. 2579–2586. IEEE (2011)

    Google Scholar 

  6. Nilsback, M.-E., Zisserman, A.: A visual vocabulary for flower classification. In: 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’06), vol. 2, pp. 1447–1454. IEEE (2006)

    Google Scholar 

  7. Nilsback, M.-E., Zisserman, A.: Automated flower classification over a large number of classes. In: 2008 Sixth Indian Conference on Computer Vision, Graphics & Image Processing, pp. 722–729. IEEE (2008)

    Google Scholar 

  8. Varma, M., Ray, D.: Learning the discriminative power-invariance trade-off. In: 2007 IEEE 11th International Conference on Computer Vision, pp. 1–8. IEEE (2007)

    Google Scholar 

  9. Branson, S., Wah, C., Schroff, F., Babenko, B., Welinder, P., Perona, P., Belongie, S.: Visual recognition with humans in the loop. In: European Conference on Computer Vision, pp. 438–451. Springer (2010)

    Google Scholar 

  10. Khosla, A., Jayadevaprakash, N., Yao, B., Li, F.-F.: Novel dataset for fine-grained image categorization: Stanford dogs. In: Proceedings of the CVPR Workshop on Fine-Grained Visual Categorization (FGVC), vol. 2 (2011)

    Google Scholar 

  11. Lampert, C.H., Nickisch, H., Harmeling, S.: Learning to detect unseen object classes by between-class attribute transfer. In: 2009 IEEE Conference on Computer Vision and Pattern Recognition, pp. 951–958. IEEE (2009)

    Google Scholar 

  12. Welinder, P., Branson, S., Mita, T., Wah, C., Schroff, F., Belongie, S., Perona, P.: Caltech-ucsd Birds 200 (2010)

    Google Scholar 

  13. Girshick, R., Donahue, J., Darrell, T., Malik, J.: Rich feature hierarchies for accurate object detection and semantic segmentation. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 580–587 (2014)

    Google Scholar 

  14. Girshick, R.: Fast R-CNN. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 1440–1448 (2015)

    Google Scholar 

  15. Ren, S., He, K., Girshick, R., Sun, J.: Faster r-cnn: towards real-time object detection with region proposal networks. In: Advances in Neural Information Processing Systems, pp. 91–99 (2015)

    Google Scholar 

  16. Huang, J., Rathod, V., Sun, C., Zhu, M., Korattikara, A., Fathi, A., Fischer, I., Wojna, Z., Song, Y., Guadarrama, S. et al.: Speed/accuracy trade-offs for modern convolutional object detectors. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 7310–7311 (2017)

    Google Scholar 

  17. Szegedy, C., Ioffe, S., Vanhoucke, V., Alemi, A.A.: Inception-v4, inception-resnet and the impact of residual connections on learning. In: Thirty-First AAAI Conference on Artificial Intelligence (2017)

    Google Scholar 

Download references

Acknowledgements

The authors would like to thank ITRA-Digital India Corporation (formerly known as Media Lab Asia), Ref. No.: ITRA/15(188)/Ag&Food/ImageIDGP/01 dated 09/11/2016 for funding this research work. The authors would also like to thank Dr. A. Bandopadhyay, Senior consultant, ITRA Ag&Food, Dr. Santanu Banik, Principal scientist, Animal Breeding, NRC on Pig, Assam, Dr. Arnab Sen, Head, Animal Health, ICAR research complex for NEH, Barapani, Dr. Binay Singh, Scientist, ICAR-RC for NEH Region, Tripura Center, Agartala and Dr. Dilip Kumar Hazra, Assistant Professor, Dept. of Agronomy, faculty of agriculture, Uttar Banga Krishi Viswavidyala, Coochbihar, for helping us to implement this research work.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Pritam Ghosh .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ghosh, P., Mustafi, S., Mukherjee, K., Dan, S., Roy, K., Mandal, S.N. (2021). Pig Breed Detection Using Faster R-CNN. In: Bhattacharjee, D., Kole, D.K., Dey, N., Basu, S., Plewczynski, D. (eds) Proceedings of International Conference on Frontiers in Computing and Systems. Advances in Intelligent Systems and Computing, vol 1255. Springer, Singapore. https://doi.org/10.1007/978-981-15-7834-2_19

Download citation

Publish with us

Policies and ethics