Advertisement

Weather Categorization Using Foreground Subtraction and Deep Transfer Learning

  • Sri Venkata Divya Madhuri Challa
  • Hemendra Kumar Vaishnav
Chapter
Part of the Lecture Notes in Networks and Systems book series (LNNS, volume 103)

Abstract

We propose a novel foreground subtraction algorithm to extract the Sky pixels and use transfer learning on these processed images using pre-trained ResNet-50 and DenseNet-161 models to classify them. For this study, the Image2Weather’s 2 category weather dataset having 1500 images, is used. By using transfer learning and training, only the last layer by freezing rest of the layers, we have found that the proposed ResNet-50 and DenseNet-161 architectures achieved the classification accuracies of 94.3% and 92.68%, respectively, on the test images and outperformed the state-of-art methods. These results are extremely good as there is a significant improvement of 6–8% in accuracy over the existing models due to foreground subtraction. The proposed method can be implemented in real-time applications to help farmers plan their cropping cycle and for efficient weather forecast activities.

Keywords

Convolutional neural networks Foreground subtraction Weather classification Image classification Transfer learning 

References

  1. 1.
    LeCun Y, Bengio Y, Hinton G (2015) Deep learning. Nature 521(7553):436CrossRefGoogle Scholar
  2. 2.
    Felzenszwalb P, McAllester D, Ramaman D (2008) A discriminatively trained, multiscale, deformable part model. In: Proceedings of the IEEE CVPRGoogle Scholar
  3. 3.
    Dalal N, Triggs B (2005) Histograms of oriented gradients for human detection. In: Proceedings of the IEEE CVPRGoogle Scholar
  4. 4.
    Lowe DG (2004) Distinctive image features from scale-invariant keypoints. Int J Comput VisGoogle Scholar
  5. 5.
    Lu C, Lin D, Jia J, Tang C-K (2014) Two-class weather classification. In: IEEE conference on computer vision and pattern recognition (CVPR), pp. 3718–3725Google Scholar
  6. 6.
    Roser M, Moosmann F (2008) Classification of weather situations on single color images. In: IEEE intelligent vehicles symposium, pp 798–803Google Scholar
  7. 7.
    Yan X, Luo Y, Zheng X (2009) Weather recognition based on images captured by vision system in vehicle. In: Advances in neural networks, pp 390–398CrossRefGoogle Scholar
  8. 8.
    Chen Z, Yang F, Lindner A, Barrenetxea G, Vetterli M (2012) How is the weather: automatic inference from images. In: IEEE international conference on image processing (ICIP), pp 1853–1856Google Scholar
  9. 9.
    Oliva A, Torralba A (2001) Modeling the shape of the scene: a holistic representation of the spatial envelope. Int J Comput Vision 42(3):145–175CrossRefGoogle Scholar
  10. 10.
    He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recognition. In: Proceedings of IEEE conference on computer vision and pattern recognitionGoogle Scholar
  11. 11.
    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–4708Google Scholar

Copyright information

© Springer Nature Singapore Pte Ltd. 2020

Authors and Affiliations

  • Sri Venkata Divya Madhuri Challa
    • 1
  • Hemendra Kumar Vaishnav
    • 2
  1. 1.University of Texas at DallasTexasUSA
  2. 2.Barefoot Lightning India Pvt LtdJaipurIndia

Personalised recommendations