Maturity Stage Prediction for Cabbage Harvesting Using Deep Learning Algorithms

Authors

  • M. Kumar Crop Production Division, ICAR-Vivekananda Parvatiya Krishi Anusandhan Sansthan Almora, India Author
  • S. Rawat Agricultural Mechanization Division, ICAR- Central Institute of Agricultural Engineering, Bhopal, India Author
  • H. S. Pandey Division of Agricultural Engineering, ICAR- Indian Sugarcane Research Institute, Lucknow, India Author
  • M. Kumar Agricultural Mechanization Division, ICAR- Central Institute of Agricultural Engineering, Bhopal, India Author
  • M. Goutam Agricultural Mechanization Division, ICAR- Central Institute of Agricultural Engineering, Bhopal, India Author

DOI:

https://doi.org/10.52151/jae2025622.1923

Keywords:

accuracy, epochs, image augmentation, precision, RGB image, sensitivity

Abstract

Accurate and timely detection of crop maturity is crucial for maximizing the benefits of crop harvesting at optimal time. Estimating crop maturity helps farmers to harvest crop at the optimal time, and to get better quality of the produce. This study investigates the application of deep learning techniques to predict the optimal maturity stage of cabbage for harvesting. The Teachable Machine learning model available on Google was used to detect the maturity of cabbage for harvesting. This algorithm relies on RGB (red, green, and blue) images to classify cabbage into two distinct stages: 'matured' (class 1) and 'pre-matured' (class 2). A dataset consisting of 630 RGB images were collected from an experimental field using an RGB camera. The Teachable Machine randomly divided this image dataset into two segments: a training set (85%) and a testing set (15%). In this study, the model was trained and tested for three batch sizes, i.e. 16, 32 and 64, three epochs, i.e., 25, 50 and 75, and three learning rates, i.e., 0.01, 0.005 and 0.001. The combination of 16 batch sizes, 75 epochs and a 0.001 learning rate has given the best classification accuracy (95%) for both classes. The identified deep learning architecture was able to classify cabbages as mature and immature with 94% accuracy. The sensitivity (96%) was found higher than the accuracy, which is a good indicator of the performance of the model architecture. The type-II error of developed architecture was only 0.04, which is a better achievement. However, real-world implementation of the model may face challenges, such as varying lighting and environmental conditions, which could affect the model’s accuracy. Addressing these factors will be essential to ensure reliable performance in diverse agricultural settings. Furthermore, model's use can potentially provide economic benefits to farmers by optimizing harvesting time, which could lead to cost savings and improved yield quality.

Downloads

Download data is not yet available.

References

Begum, N., & Hazarika, M. K. (2022). Maturity detection of tomatoes using transfer learning. Measurement: Food, 7, 100038. https://doi.org/10.1016/j.meafoo.2022.100038

Deng, L., & Yu, D. (2014). Deep learning: Methods and Applications. Foundations and Trends in Signal Processing 7:3–4. now. pp. 197-387. https://doi.org/10.1561/2000000039

El-Bendary, N., Hariri, E., Hassanien, A. E., & Badr, A. (2015). Using machine learning techniques for evaluating tomato ripeness. Expert Systems with Applications, 42(4), 1892–1905. https://doi.org/10.1016/j.eswa.2014.09.057

Ferentinos, K. P. (2018). Deep learning models for plant disease detection and diagnosis. Computers and Electronics in Agriculture, 145, 311-318. https://doi.org/10.1016/j.compag.2018.01.009

Hsiou, D. C., Huang, F., Tey, F. J., Wu, T. Y., & Lee, Y. C. (2022). An automated crop growth detection method using satellite imagery data. Agriculture, 12(4), 504. https://doi.org/10.3390/agriculture12040504

Kalisz, A., Kostrzewa, J., Sekara, A., Grabowska, A., & Cebula, S. (2012). Yield and nutritional quality of several non-heading Chinese cabbage (Brassica rapa var. chinensis) cultivars with different growing periods and its modeling. Horticultural Science and Technology, 30, 650–656. https://doi.org/10.7235/hort.2012.12108

Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2012). ImageNet classification with deep convolutional neural networks. Communications of the ACM, 60(6), 84-90. https://doi.org/10.1145/3065386

Kumar, M., Bej, G., & Pandey, H. S. (2023a). Status and scope of automated coconut harvester in India: A review. Journal of Experimental Agriculture International, 45(5), 1–15. https://doi.org/10.9734/jeai/2023/v45i52115

Kumar, M., Chandel, N. S., Singh, D., & Rajput, L. S. (2023n). Soybean disease detection and segmentation based on Mask-RCNN algorithm. Journal of Experimental Agriculture International, 45(5), 63–72. https://doi.org/10.9734/jeai/2023/v45i52132

Kumar, R. Bhatia A.K. & Singh D. (2017). Present status of vegetable production and their impact in human nutrition. International Journal of Agriculture Sciences, 9(55), 4945-4949

LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521, 436–444. https://doi.org/10.1038/nature14539

Lee, S. H., Chan, C. S., Wilkin, P., & Remagnino, P. (2015). Deep-plant: Plant identification with convolutional neural networks. 2015 IEEE International Conference on Image Processing (ICIP), Quebec City, QC, Canada, 2015, pp. 452-456. https://doi.org/10.1109/ICIP.2015.7350839

Li, Y., Huang, C., Ding, L., Li, Z., Pan,Y., Gaom, X. (2019). Deep learning in bioinformatics: Introduction, application, and perspective in the big data era. Methods, 166, 4-21, https://doi.org/10.1016/j.ymeth.2019.04.008

Obi, J. C. (2023). A comparative study of several classification metrics and their performances on data. World Journal of Advanced Engineering Technology and Sciences. 08(01). 308-314. https://doi.org/10.30574/wjaets.2023.8.1.0054

Opeña, H. J. G., & Yusiong, J. P. T. (2017). Automated tomato maturity grading using ABC-trained artificial neural networks. Malaysian Journal of Computer Science, 30(1), 12–26. https://doi.org/10.22452/mjcs.vol30no1.2

Pal, G., Singh, P. M., Roy, S., Singh, N., Bahadur, A., & Behera, T. K. (2023). A study on assessing area, production and impact of vegetable varieties from ICAR-Indian Institute of Vegetable Research, Varanasi, Uttar Pradesh, India. Vegetable Science 50(2), 330-337. https://doi.org/10.61180/vegsci.2023.v50.i2.10

Patel, H., Pundir, R. & Kumar J.M. (2021). An economic analysis of cabbage production. Gujrat Journal of Extension Education, 32(2).133-139

Perugachi-Diaz, Y., Tomczak, J. M., & Bhulai, S. (2021). Deep learning for white cabbage seedling prediction. Computers and Electronics in Agriculture, 184, 106059. https://doi.org/10.1016/j.compag.2021.106059

Prabha, D. S., & Kumar, J. S. (2015). Assessment of banana fruit maturity by image processing technique. Journal of Food Science and Technology, 52(3), 1316–1327. https://doi.org/10.1007/s13197-013-1188-3

Prabhakar, M., Prasad, Y. G., Desai, S., Thirupathi, M., Gopika, K., Rao, G. R., & Venkateswarlu, B. (2013). Hyperspectral remote sensing of yellow mosaic severity and associated pigment losses in Vigna mungo using multinomial logistic regression models. Crop Protection, 45, 132–140. https://doi.org/10.1016/j.cropro.2012.12.003

Rafiq, A., Makroo, H. A., & Hazarika, M. K. (2016). Artificial neural network-based image analysis for evaluation of quality attributes of agricultural produce. Journal of Food Processing and Preservation, 40(5), 1010–1019. https://doi.org/10.1111/jfpp.12681

Sarkar, P., & Raheman, H. (2021). A comprehensive review of mechanized cabbage harvesting systems and its present status in India. Institution of Engineers (India): Series A, 102(3), 861–869. https://doi.org/10.1007/s40030-021-00557-6

Singh, J. P., & Pradhan, C. (2023). Paddy grain maturity estimation using deep learning approach. Journal of Theoretical and Applied Information Technology, 101(9), 33316–33325.

Teimouri, N., Dyrmann, M., Nielsen, P. R., Mathiassen, S. K., Somerville, G. J., & Jørgensen, R. N. (2018). Weed growth stage estimator using deep convolutional neural networks. Sensors, 18(5), 1580. https://doi.org/10.3390/s18051580

Wan, P., Toudeshki, A., Tan, H., & Ehsani, R. (2018). A methodology for fresh tomato maturity detection using computer vision. Computers and Electronics in Agriculture, 146, 43–50. https://doi.org/10.1016/j.compag.2018.01.011

Wang, R., Zhang, S., Zhang, Z., Wang, N., Sun, H., & Ren, R. (2024). Impact of maturity and variety on the hyperspectral detection model for determining soluble solid content in fresh apricots. Journal of Agricultural Engineering (India), 61(6), 829-846. https://doi.org/10.52151/jae2024616.1899

Wolfert, S., Ge, L., Verdouw, C., & Bogaardt, M. J. (2017). Big data in smart farming–a review. Agricultural Systems, 153, 69–80. https://doi.org/10.1016/j.agsy.2017.01.023

Wu, J., Zhang, B., Zhou, J., Xiong, Y., Gu, B., & Yang, X. (2019). Automatic recognition of ripening tomatoes by combining multi-feature fusion with a bi-layer classification strategy for harvesting robots. Sensors, 19(3), 612. https://doi.org/10.3390/s19030612

Xin, M., Zhang, S., Sun, H., & Ren, R. (2025). YOLO-FSL: Method of maturity detection for plum in natural environment based on improved YOLOv8. Journal of Agricultural Engineering (India), 62(1), 80-94. https://doi.org/10.52151/jae2025621.1915

Zhang, Z., Liu, H., Meng, Z., & Chen, J. (2019). Deep learning-based automatic recognition network of agricultural machinery images. Computers and Electronics in Agriculture, 166, 104978. https://doi.org/10.1016/j.compag.2019.104978

Published

2025-06-23

How to Cite

KUMAR, M., Rawat, S., Pandey, H. S., Kumar, M., & Goutam, M. (2025). Maturity Stage Prediction for Cabbage Harvesting Using Deep Learning Algorithms. Journal of Agricultural Engineering (India), 62(2), 266-278. https://doi.org/10.52151/jae2025622.1923