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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
LeCun Y, Bengio Y, Hinton G (2015) Deep learning. Nature 521(7553):436
Felzenszwalb P, McAllester D, Ramaman D (2008) A discriminatively trained, multiscale, deformable part model. In: Proceedings of the IEEE CVPR
Dalal N, Triggs B (2005) Histograms of oriented gradients for human detection. In: Proceedings of the IEEE CVPR
Lowe DG (2004) Distinctive image features from scale-invariant keypoints. Int J Comput Vis
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–3725
Roser M, Moosmann F (2008) Classification of weather situations on single color images. In: IEEE intelligent vehicles symposium, pp 798–803
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–398
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–1856
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–175
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 recognition
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
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Singapore Pte Ltd.
About this chapter
Cite this chapter
Challa, S.V.D.M., Vaishnav, H.K. (2020). Weather Categorization Using Foreground Subtraction and Deep Transfer Learning. In: Saini, H., Sayal, R., Buyya, R., Aliseri, G. (eds) Innovations in Computer Science and Engineering. Lecture Notes in Networks and Systems, vol 103. Springer, Singapore. https://doi.org/10.1007/978-981-15-2043-3_64
Download citation
DOI: https://doi.org/10.1007/978-981-15-2043-3_64
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-2042-6
Online ISBN: 978-981-15-2043-3
eBook Packages: EngineeringEngineering (R0)