Skip to main content

Cauliflower Disease Recognition Using Machine Learning and Transfer Learning

  • Conference paper
  • First Online:
Smart Systems: Innovations in Computing


In terms of overall winter cropping area and production in Bangladesh, cauliflower dominates a large share. It has many health benefits like decrease the risk of obesity, diabetes, and heart disease. It is a cultivated and winter crop which has huge demand in the country. But if proper care is not taken, many serious diseases will affect plants and will reduce productivity, quantity, and quality of cauliflower. Manual monitoring of plant disease is very difficult as it requires a tremendous amount of work and excessive time. Automatic recognition of disease through computer vision approach is becoming more popular day by day. So, in this paper, we introduced several techniques to recognize diseases that occur on plants in cauliflower. Our proposed solution would support the agriculture field of Bangladesh to grow cauliflower more effectively and will increase its production by taking the proper step after automated recognition of diseases. In our work, we have compared traditional machine learning and transfer learning. In machine learning, for image segmentation, k-means clustering is used after the image preprocessing method is applied, and then, ten relevant features are extracted. For classification, we compared various classification techniques. Random forest algorithm achieves overall 81.68% accuracy. Different CNN-based architectures with transfer learning, namely InceptionV3, MobileNetV2, ResNet50, and VGG16, are also applied. InceptionV3 achieves 90.08% accuracy which is the highest accuracy among these two approaches.

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

Access this chapter

USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
USD 299.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 379.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 379.99
Price excludes VAT (USA)
  • Durable hardcover 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

Similar content being viewed by others


  1. Agriculture. Available Online: (2020). Last Access 11 Nov 2020

  2. Bangladesh growing economy through advances in agriculture. Available online: (2020). Last accessed 23 Sept 2020

  3. Cauliflower Cultivation Method. Available online: (2020). Last accessed 23 Sept 2020

  4. Cauliflower. Available online: (2020). Last accessed 12 Nov 2020

  5. Ghyar, B.S., Birajdar, G.K.: Computer vision based approach to detect rice leaf diseases using texture and color descriptors. In: Proceedings of the International Conference on Inventive Computing and Informatics (ICICI 2017) IEEE Xplore Compliant—Part Number: CFP17L34-ART, ISBN: 978-1-5386-4031-9

    Google Scholar 

  6. Hossain, M.S., Mou, R.M., Hasan, M.M., Chakraborty, S., Abdur Razzak, M.: Recognition and detection of tea leaf’s diseases using support vector machine. In: 2018 IEEE 14th International Colloquium on Signal Processing and its Applications (CSPA 2018), Penang, Malaysia, 9–10 March 2018

    Google Scholar 

  7. Mia, M.R., Mia, M.J., Majumder, A., Supriya, S., Habib, M.T.: Computer vision based local fruit recognition. Int. J. Eng. Adv. Technol. (IJEAT) 9(1), (2019). ISSN: 2249–8958

    Google Scholar 

  8. Habib, M.T., Mia, M.J., Uddin, S.M., Ahmed, F.: An in-depth exploration of automated jackfruit disease recognition. J. King Saud Univ.—Comput. Inf. Sci. (2020).

  9. Habib, M.T., Mia, M.R., Mia, M.J., Uddin, M.S., Ahmed, F.: A computer vision approach for jackfruit disease recognition. In: International Joint Conference on Computational Intelligence, pp. 343–353. Springer, Singapore (2019)

    Google Scholar 

  10. Sagar, A., Jacob, D.: On using transfer learning for plant disease detection. bioRxiv (2020)

    Google Scholar 

  11. Rahman, M.M., Biswas, A.A., Rajbongshi, A., Majumder, A.: recognition of local birds of Bangladesh using MobileNet and inception-v3. (IJACSA) Int J Adv Comput Sci Appl. 11(8) (2020)

    Google Scholar 

  12. Shrivastava1, V.K., Pradhan, M.K., Minz, S., Thakur, M.P.:. Rice plant disease classification using transfer learning of deep convolution neural network. In: International Archives of the Photogrammetry, Remote Sensing & Spatial Information Sciences (2019).\

    Google Scholar 

  13. Grayscale to RGB Conversion. Available online: (2020). Last accessed 11 Nov 2020

  14. Warne, P.P., Ganorkar, S.R.: Detection of diseases on cotton leaves using K-mean clustering method. Int. Res. J. Eng. Technol (IRJET), 2(4), 425–431

    Google Scholar 

  15. Loohach, R., Garg, K.: Effect of distance functions on k-means clustering algorithm. Int. J. Comput. Appl. 49(6), 7–9 (2012)

    Google Scholar 

  16. Random Forest Algorithm with Python and Scikit-Learn. Available online: (2020). Last accessed 11 Nov 2020

  17. Understanding Random Forests Classifiers in Python. Available online: (2020). Last accessed 11 Nov 2020

  18. Transfer learning from pre-trained models. Available Online: (2020). Last Access 11 Nov 2020

  19. Wang, J., Perez, L.: The effectiveness of data augmentation in image classification using deep learning. Technical report (2017)

    Google Scholar 

  20. Pan, S.J., Yang, Q.: A survey on transfer learning. IEEE Trans. Knowl Data Eng 22(10), 1345–1359 (2009)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations


Corresponding author

Correspondence to Anup Majumder .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Maria, S.K., Taki, S.S., Mia, M.J., Biswas, A.A., Majumder, A., Hasan, F. (2022). Cauliflower Disease Recognition Using Machine Learning and Transfer Learning. In: Somani, A.K., Mundra, A., Doss, R., Bhattacharya, S. (eds) Smart Systems: Innovations in Computing. Smart Innovation, Systems and Technologies, vol 235. Springer, Singapore.

Download citation

Publish with us

Policies and ethics