Stress by unfavorable environmental conditions, including temperature, light intensity, and photoperiod, significantly impact early-stage growth in crops, such as cucumber seedlings, often resulting in yield reduction and quality degradation.
Advanced machine learning (ML) models combined with image-based analysis offer promising solutions for precise, non-invasive stress monitoring. This study aims to classify environmental stress symptom levels in cucumber seedlings using ML models by extracting critical color, texture, and morphological features from RGB images. In a controlled plant factory setup, two-week-old cucumber seedlings were subjected to varied environmental conditions across five chambers with differing temperatures (15, 20, 25, and 30 °C), light intensities (50, 250, and 450 µmol m−2 s−1), and day-night cycles (8/16, 10/14, and 16/8 h). A cost-effective RGB camera, integrated with a microcontroller, captured images from the top of the seedlings over two weeks, from which sequential forward floating selection (SFFS) and correlation matrices were used to streamline feature extraction. Four ML classifiers: Support Vector Machine (SVM), K-Nearest Neighbor (KNN), Naïve Bayes (NB), and Random Forest (RF), were trained to detect stress symptoms based on selected features, highlighting that stress symptoms were detectable after day 4. KNN achieved the highest accuracy at 0.94 (94%), followed closely by SVM and RF, both at 93%, while NB reached 88%. Findings suggested that color and texture features were critical indicators of stress and that the KNN model, with optimized hyperparameters, provided a reliable classification for stress symptom monitoring for seedlings under controlled environments.
This study highlights the potential of ML-driven stress symptom detection models for controlled seedling production, enabling real-time decision-making to optimize crop health and productivity.
Lee, K.-H.; Samsuzzaman; Reza, M.N.; Islam, S.; Ahmed, S.; Cho, Y.J.; Noh, D.H.; Chung, S.-O. Evaluation of Machine Learning Models for Stress Symptom Classification of Cucumber Seedlings Grown in a Controlled Environment. Agronomy 2025, 15, 90. https://doi.org/10.3390/agronomy15010090
Source: MDPI