??AI for Cucumbers: Nutrient Stress Detection in CEA ??
AI can assist with visual assessment of nutrient deficiency by automatically detecting and analyzing subtle plant symptoms

??AI for Cucumbers: Nutrient Stress Detection in CEA ??

If you wish to get regular "AI in Agriculture" newsletter to your mailbox, please, add your email to my mailing list.

Join more than 8,500 readers who get weekly emails about AI in Agriculture

Now you can get "AI in Agriculture" newsletter directly to your mailbox. All you need to do is to click on the image above and add your email to my mailing list.
Now you can get "AI in Agriculture" newsletter directly to your mailbox. All you need to do is to click on the image above and add your email to my mailing list.


Free mobile application Petiole Pro measures leaf area, leaf length and can assess greenness of leaves as well as support quality control in cucumber production and Cucurbitaceae research worldwide
Free mobile application Petiole Pro measures leaf area, leaf length and can assess greenness of leaves as well as support quality control in cucumber production and Cucurbitaceae research worldwide

What causes nutrient deficiency in cucumbers?

Nutrient deficiency in cucumbers occurs when the plants do not receive adequate amounts of essential nutrients, such as nitrogen, potassium, or calcium, which are crucial for their growth and development.

This can result from poor soil quality, imbalanced fertilization, water stress, or suboptimal environmental conditions, leading to symptoms like stunted growth, yellowing leaves, and reduced fruit quality.

Inadequate nutrient supply hampers the plant's ability to carry out vital physiological processes, ultimately affecting overall yield and health.


Cucumber plant with chlorosis in intermediary leaves due to the omission of N (A) compared to plants grown in complete nutrient solution (B). Source: Carmona et al., 2015


 Initial chlorosis (A-B) and advance to marginal necrosis (C) in intermediary leaves of 'Nikkey' cucumber as an effect of the omission of K in the nutrient solution
Initial chlorosis (A-B) and advance to marginal necrosis (C) in intermediary leaves of 'Nikkey' cucumber as an effect of the omission of K in the nutrient solution?. ource: Carmona et al., 2015


Chlorotic stains scattered on the blade of a new leaf (A) and development of the deficiency (B) on 'Nikkey' cucumber as an effect of Ca omission in the nutrient solution. ource: Carmona et al., 2015?


Tipburn, shriveling and chlorosis in a new leaf of 'Nikkey' cucumber as an effect of Ca omission in the nutrient solution. ource: Carmona et al., 2015?


Apical rot in fruits of 'Nikkey' cucumber as an effect of Ca omission in the nutrient solution. ource: Carmona et al., 2015?


Effects of different soil treatments on leaf spot of cucumber seedlings. (A) Plant debris was mixed with sterile soil (CC). (B) Plant debris was mixed into the soil and covered with polyethylene film (CC-PE). (C) Plant debris was mixed into the soil, and CaCN2(CC-CaCN2) was added. (D) Natural soil without any treatment (CK).
Effects of different soil treatments on leaf spot of cucumber seedlings. Source: Xie et al., 2022

In the figure above: (A) Plant debris was mixed with sterile soil (CC). (B) Plant debris was mixed into the soil and covered with polyethylene film (CC-PE). (C) Plant debris was mixed into the soil, and CaCN2(CC-CaCN2) was added. (D) Natural soil without any treatment (CK).


Nutrient Stress Symptom Detection in Cucumber Seedlings Using Segmented Regression and a Mask Region-Based Convolutional Neural Network Model

Country: Republic of Korea ????

Published: 17 August 2024

(a) Experimental plant factory site for seedling growth, and (b) ambient environment monitoring and control system using Raspberry Pi microcontroller and sensor connections with the microcontroller.
(a) Experimental plant factory site for seedling growth, and (b) ambient environment monitoring and control system using Raspberry Pi microcontroller and sensor connections with the microcontroller. Source: Islam et al., 2024

This study aimed to detect the early signs of nutrient stress in cucumber seedlings using a combination of segmented regression and Mask R-CNN (convolutional neural network) models, focusing on morphological and textural features extracted from images.


(a) Seedling germination bed covered with paper, (b) the germination sponge, and (c) seedlings replaced under fluorescent light, with image acquisition using a Raspberry Pi camera and microcontroller. Source: Islam et al., 2024
The main question that the researchers wanted to answer was: How can early signs of nutrient stress in cucumber seedlings be detected accurately using computer vision and machine learning techniques before human visual inspection?        


Sample images acquired using the image acquisition system from the top of the seedling bed; (a) stressed (0 dSm?1) condition, (b) no-stress (3 dSm?1) condition, and (c) stressed (6 dSm?1) condition.
Sample images acquired using the image acquisition system from the top of the seedling bed; (a) stressed (0 dSm?1) condition, (b) no-stress (3 dSm?1) condition, and (c) stressed (6 dSm?1) condition. Source: Islam et al., 2024

The researchers employed a combination of statistical and deep learning methods to detect nutrient stress in cucumber seedlings. Segmented regression analysis was applied to identify changes in plant morphology and texture over time, using features such as canopy area and leaf texture variations.


The morphological and textural feature extraction process using image processing. Source: Islam et al., 2024

The Mask R-CNN model, utilizing a ResNet-101 backbone, was trained with annotated images to segment and classify seedlings into stressed and non-stressed groups.


Manually masked cucumber seedling images with the seedlings clearly visible in the images in different nutritional stress conditions. Source: Islam et al., 2024

In the figure above: (a) original image with stress conditions (0 dSm?1), (b) annotated image with stress conditions (0 dSm?1), (c) original image with stress conditions (6 dSm?1), and (d) annotated image with stress conditions (6 dSm?1).

To achieve this, the researchers captured images of seedlings at different stages and used textural analysis (e.g., energy, entropy, homogeneity) to detect subtle signs of nutrient deficiency. Transfer learning was applied to train the model efficiently with a smaller dataset.


Mask R-CNN architecture used in this study
Mask R-CNN architecture used in this study. Source: Islam et al., 2024


Use case of AI application for nutrient deficiency detection

AI was central to this research, particularly through the application of Mask R-CNN, a deep learning model, to segment and classify images of cucumber seedlings.         

  1. The model identified the initiation and progression of nutrient stress by analyzing plant morphology and textural changes over time.
  2. The integration of ResNet-101 enabled accurate feature extraction, and transfer learning reduced training time, enhancing the model's effectiveness in detecting stress early.


 ResNet-101 architecture for the deep feature extractor used in this study.
ResNet-101 architecture for the deep feature extractor used in this study. Source: Islam et al., 2024


Feature pyramid network (FPN) architecture. Source: Islam et al., 2024


Regional Proposal Network (RPN) architecture. Source: Islam et al., 2024


Example of IoU scores for the detected bounding box. Source: Islam et al., 2024

Key findings of the research

The key findings of the study demonstrated that the method could detect nutrient stress symptoms in cucumber seedlings 1.5 days earlier than visual inspection by humans.

The Mask R-CNN model achieved high performance with an F1 score of 93.4%, precision of 93%, and recall of 94%.

Notably, features such as the top projected canopy area, energy, entropy, and homogeneity were identified as reliable indicators of nutrient stress. This early detection method is crucial for improving plant health and productivity by allowing timely intervention.

Agricultural professionals, particularly those working in precision farming, can apply these results to monitor and manage plant health more effectively, especially in controlled environments like greenhouses.

Technologies used:

  • Segmented regression analysis
  • Mask R-CNN model
  • ResNet-101 (pre-trained on ImageNet)
  • Raspberry Pi 4 & Raspberry Pi Camera
  • SAS software (for statistical analysis)


Chronology of gathered plant characteristics (features) during the nutrient stress in cucumber seedlings (bars represent the standard error obtained from each group). Source: Islam et al., 2024


The outcomes of segmented regression for the TPCA and three textural characteristics for the detection of the initiation of stress caused by a nutrient deficit in cucumber seedlings. Source: Islam et al., 2024

In the figure above: The outcomes of segmented regression for the TPCA and three textural characteristics for the detection of the initiation of stress caused by a nutrient deficit (0.0 dSm?1) in cucumber seedlings; (a) TPCA, (b) entropy, (c) energy, and (d) homogeneity. Black dots represent the change points for average seedling parameters at time ti.


Output results of cucumber seedling stress detection and segmentation in the test images using the proposed Mask R-CNN method. Source: Islam et al., 2024

In the figure above: (a) annotated image in the model for the nutrient deficit (0.0 dSm?1) stress dataset, (b) annotated image in the model for the excess nutrient (6.0 dSm?1) stress dataset, (c) nutrient stress detection and segmentation on the nutrient deficit (0.0 dSm?1) dataset, and (d) nutrient stress detection and segmentation on the excess nutrient (6.0 dSm?1) dataset.

The normalized confusion matrix of each class when using the mask R-CNN model to predict nutrient stress seedling classes. Source: Islam et al., 2024

References for "AI for Cucumbers: Nutrient Stress Detection in CEA ??"


For your interest (FYI)


Vertical Farming: A Guide for Growing Minds by Maryna Kuzmenko. Click on the image to be transferred to your local Amazon
Vertical Farming: A Guide for Growing Minds by Maryna Kuzmenko. Click on the image to be transferred to your local Amazon


Avtar Singh

Executive Director at ROBKAR International

2 个月

hello dear associate hope are well and great, we are ROBKAR INTERNATIONAL PVT.LTD. a trading base company. WE support to AGRICULTURE / AGGRO DEVISION / IRRIGATION?APPLICATION also. FOR- * Ploughing. * Sowing. * Adding nutrients. * Irrigation. * Protecting plants from Weeds. * Harvesting. * Storage. Tractor (All HP range), Power Tiller (All HP range) Rotary Tiller,Self Propelled Reaper cum Binder, Rotto Puddler, Mulcher, Rotary Slasher, M.B Plough, Reversible MB Plough, Cultivator, Subsoiler, Tyne Ridger, Disc Ridger, Mounted Disc Plough, Mounted Offset Disc Harrow, Heavy Duty Hydraulic Disc Harrow, Tandem Disc Harrow, Super Seeder, Zero Till Drill, Laser Land Leveler, POST Hole Digger, Baler, Straw Reaper, Trailers etc and customization according to your requirements. we can support all type of Agricultural implements / Machinery Spare Parts also as well accordingly and customization all according to your requirements. we can support all type of that item which are usable for any type of farming. dear give once chance to collaborate with you?and your well known company. Kindly request you to share us all future requirement’s RFQs.? Don't hesitate to contact us. www.robkarinternational.com

Joseph Britto

Coordinator (Inspection)

2 个月

Thanks so much Maryna!

Avinash Chandra Pandey

Crop Improvement Researcher

2 个月

Maryna Kuzmenko, Ph.D ???? another excellent presentation Cucumbers and tomatoes, once strictly seasonal crops, are now cultivated year-round thanks to advancements in farming techniques. The Israeli model of polybag drip tunnel farming has emerged as the most cost-effective and economically viable method for growing these crops. In particular, cucumbers have become a staple in modern greenhouse and hydroponic vertical farming operations. However, the key to maintaining high yields and economic viability lies in the early detection and management of biotic and abiotic stresses, ideally before they reach epidemic levels. For farmers and researchers seeking expertise in this area, I strongly recommend the services of Maryna Kuzmenko, Ph.D ???? and the Petiole Pro team. Their extensive global experience and affordable rates make them an excellent choice for both commercial and research projects involving cucumbers and similar crops. Their expertise can help growers overcome challenges and optimize their yields, ensuring that farmers' economic outcomes are not compromised. ??

要查看或添加评论,请登录

社区洞察

其他会员也浏览了