PLANT-LEVEL CLASSIFICATION OF LACTUCA SATIVA GROWTH STAGES USING A LIGHTWEIGHT CONVOLUTIONAL NEURAL NETWORK
Abstract
Monitoring the growth stage of vegetable crops guides management decisions such as fertilization, irrigation, and harvest planning, yet it is still largely performed by visual inspection. Computer vision can automate this task. However, the most widely used deep learning models demand substantial computational resources, which hinders their adoption on low-cost devices in the field. This study investigates whether a compact convolutional neural network (CNN) can classify, at the plant level, the growth stages of lettuce (Lactuca sativa) with performance comparable to that of established architectures. From the segmentation masks of the public LettuceMOTS dataset, acquired in a commercial open-field crop, 7,666 images of individual plants were extracted and labeled into three stages: seedling, rosette, and heading. A CNN with approximately 110,000 parameters was trained, tested on image sequences not used for training, and compared with MobileNetV2, EfficientNet-B0, and ResNet50. Across five runs using the same data split, the proposed CNN achieved a mean accuracy of 97.4%, with a standard deviation of 0.6 percentage points, and a mean macro F1 score of 0.973. On the same test set, the reference models achieved accuracies ranging from 86.3% to 95.0% in single-run evaluations and had 20 to 214 times as many parameters as the proposed CNN. The comparison is descriptive. Errors were concentrated in the confusion between rosettes and seedlings. The results indicate that a lightweight model may be sufficient for this task, which justifies its future evaluation in embedded agricultural monitoring systems.
Author Biographies
References
BUXBAUM, N. et al. Non-destructive plant biomass monitoring with high spatio-temporal resolution via proximal RGB-D imagery and end-to-end deep learning. Frontiers in Plant Science, v. 13, art. 758818, 2022 DOI: https://doi.org/10.3389/fpls.2022.758818 DOI: https://doi.org/10.3389/fpls.2022.758818
DENG, J. et al. ImageNet: A large-scale hierarchical image database. In: IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2009. Anais [...]. IEEE, 2009. p. 248–255 DOI: https://doi.org/10.1109/CVPR.2009.5206848 DOI: https://doi.org/10.1109/CVPR.2009.5206848
DU, P. et al. Towards lightweight deep neural network for smart agriculture on embedded systems. In: IEEE SENSORS APPLICATIONS SYMPOSIUM (SAS), 2022. Anais [...]. IEEE, 2022. p. 1–6 DOI: https://doi.org/10.1109/SAS54819.2022.9881382 DOI: https://doi.org/10.1109/SAS54819.2022.9881382
GONZALEZ-HUITRON, V. et al. Disease detection in tomato leaves via CNN with lightweight architectures implemented in Raspberry Pi 4. Computers and Electronics in Agriculture, v. 181, art. 105951, 2021 DOI: https://doi.org/10.1016/j.compag.2020.105951 DOI: https://doi.org/10.1016/j.compag.2020.105951
HE, K. et al. Deep residual learning for image recognition. In: IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2016. Anais [...]. IEEE, 2016. p. 770–778 DOI: https://doi.org/10.1109/CVPR.2016.90 DOI: https://doi.org/10.1109/CVPR.2016.90
HENZ, G. P.; SUINAGA, F. A. Tipos de alface cultivados no Brasil. Brasília, DF: Embrapa Hortaliças, 2009. 7 p. (Comunicado Técnico, 75).
HU, N. et al. LettuceMOT: A dataset of lettuce detection and tracking with re-identification of re-occurred plants for agricultural robots. Frontiers in Plant Science, v. 13, art. 1047356, 2022 DOI: https://doi.org/10.3389/fpls.2022.1047356 DOI: https://doi.org/10.3389/fpls.2022.1047356
HU, N. et al. Segmentation and tracking of vegetable plants by exploiting vegetable shape feature for precision spray of agricultural robots. Journal of Field Robotics, v. 41, n. 3, p. 570–586, 2024 DOI: https://doi.org/10.1002/rob.22279 DOI: https://doi.org/10.1002/rob.22279
JACOB, B. et al. Quantization and training of neural networks for efficient integer-arithmetic-only inference. In: IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2018. Anais [...]. IEEE, 2018. p. 2704–2713 DOI: https://doi.org/10.1109/CVPR.2018.00286 DOI: https://doi.org/10.1109/CVPR.2018.00286
JIANG, Y.; LI, C. Convolutional neural networks for image-based high-throughput plant phenotyping: A review. Plant Phenomics, v. 2020, art. 4152816, 2020 DOI: https://doi.org/10.34133/2020/4152816 DOI: https://doi.org/10.34133/2020/4152816
KAMILARIS, A.; PRENAFETA-BOLDÚ, F. X. Deep learning in agriculture: A survey. Computers and Electronics in Agriculture, v. 147, p. 70–90, 2018 DOI: https://doi.org/10.1016/j.compag.2018.02.016 DOI: https://doi.org/10.1016/j.compag.2018.02.016
KIM, M. J. et al. Nutritional value, bioactive compounds and health benefits of lettuce (Lactuca sativa L.). Journal of Food Composition and Analysis, v. 49, p. 19–34, 2016 DOI: https://doi.org/10.1016/j.jfca.2016.03.004 DOI: https://doi.org/10.1016/j.jfca.2016.03.004
MALABANAN, J. A. B. et al. Growth stage classification on lettuce cultivars using deep learning models. In: IEEE INTERNATIONAL CONFERENCE ON IMAGING SYSTEMS AND TECHNIQUES (IST), 2024. Anais [...]. IEEE, 2024. p. 1–6 DOI: https://doi.org/10.1109/IST63414.2024.10759250 DOI: https://doi.org/10.1109/IST63414.2024.10759250
OJO, M. O.; ZAHID, A.; MASABNI, J. G. Estimating hydroponic lettuce phenotypic parameters for efficient resource allocation. Computers and Electronics in Agriculture, v. 218, art. 108642, 2024 DOI: https://doi.org/10.1016/j.compag.2024.108642 DOI: https://doi.org/10.1016/j.compag.2024.108642
SALA, F. C.; COSTA, C. P. Retrospectiva e tendência da alfacicultura brasileira. Horticultura Brasileira, v. 30, n. 2, p. 187–194, 2012 DOI: https://doi.org/10.1590/S0102-05362012000200002 DOI: https://doi.org/10.1590/S0102-05362012000200002
SANDLER, M. et al. MobileNetV2: Inverted residuals and linear bottlenecks. In: IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2018. Anais [...]. IEEE, 2018. p. 4510–4520 DOI: https://doi.org/10.1109/CVPR.2018.00474 DOI: https://doi.org/10.1109/CVPR.2018.00474
SISHODIA, R. P.; RAY, R. L.; SINGH, S. K. Applications of remote sensing in precision agriculture: A review. Remote Sensing, v. 12, n. 19, art. 3136, 2020 DOI: https://doi.org/10.3390/rs12193136 DOI: https://doi.org/10.3390/rs12193136
SUN, H. et al. ToRLNet: A lightweight deep learning model for tomato detection and quality assessment across ripeness stages. Horticulturae, v. 11, n. 11, art. 1334, 2025 DOI: https://doi.org/10.3390/horticulturae11111334 DOI: https://doi.org/10.3390/horticulturae11111334
TAN, M.; LE, Q. V. EfficientNet: Rethinking model scaling for convolutional neural networks. In: INTERNATIONAL CONFERENCE ON MACHINE LEARNING (ICML), 2019. Anais [...]. PMLR, 2019. p. 6105–6114.
WANG, Y.; WU, M.; SHEN, Y. Identifying the growth status of hydroponic lettuce based on YOLO-EfficientNet. Plants, v. 13, n. 3, art. 372, 2024 DOI: https://doi.org/10.3390/plants13030372 DOI: https://doi.org/10.3390/plants13030372
ZHANG, L. et al. Growth monitoring of greenhouse lettuce based on a convolutional neural network. Horticulture Research, v. 7, art. 124, 2020 DOI: https://doi.org/10.1038/s41438-020-00345-6 DOI: https://doi.org/10.1038/s41438-020-00345-6
ZHANG, P. et al. Lightweight deep learning models for high-precision rice seedling segmentation from UAV-based multispectral images. Plant Phenomics, v. 5, art. 0123, 2023 DOI: https://doi.org/10.34133/plantphenomics.0123 DOI: https://doi.org/10.34133/plantphenomics.0123
