Corn is an important part of the Mexican diet. The crop requires constant monitoring to ensure production. For this, plant density is often used as an indicator of crop yield, since knowing the number of plants helps growers to manage and control their plots. In this context, it is necessary to detect and count corn plants. Therefore, a database of aerial RGB images of a corn crop in weedy conditions was created to implement and evaluate deep learning algorithms. Ten flight missions were conducted, six with a ground sampling distance (GSD) of 0.33 cm/pixel at vegetative stages from V3 to V7 and four with a GSD of 1.00 cm/pixel for vegetative stages V6, V7 and V8. The detectors compared were YOLOv4, YOLOv4-tiny, YOLOv4-tiny-3l, and YOLOv5 versions s, m and l. Each detector was evaluated at intersection over union (IoU) thresholds of 0.25, 0.50 and 0.75 at confidence intervals of 0.05. A strong F1-Score penalty was observed at the IoU threshold of 0.75 and there was a 4.92% increase in all models for an IoU threshold of 0.25 compared to 0.50. For confidence levels above 0.35, YOLOv4 shows greater robustness in detection compared to the other models. Considering the mode of 0.3 for the confidence level that maximizes the F1-Score metric and the IoU threshold of 0.25 in all models, YOLOv5-s obtained a mAP of 73.1% with a coefficient of determination () of 0.78 and a relative mean square error (rRMSE) of 42% in the plant count, followed by YOLOv4 with a mAP of 72.0%, of 0.81 and rRMSE of 39.5%.
Apples are among the most important agricultural products worldwide. Ensuring apple quality with minimal effort is crucial for both large-scale and local producers. In Mexico, the manual detection of damaged apples has led to inconsistencies in product quality, a problem that can be addressed by integrating vision systems with machine learning algorithms. The YOLO (You Only Look Once) neural network has significantly improved fruit detection through image processing and has automated several related tasks. However, training and deploying YOLO models typically requires substantial computational resources, making it essential to develop lightweight and cost-effective detection systems, especially for edge computing systems. This paper presents a mechatronic system designed to detect apple varieties and potential damage in apples (Malus domestica) within the visible spectrum. The cultivated apple varieties considered were Gala, Golden, Granny Smith, and Red Delicious. Our contribution lies in developing a lightweight neural network architecture optimized specifically for embedded systems. The proposed architecture was compared against YOLOv3-Tiny, YOLOv4-Tiny, and YOLOv5-s. Our optimized model achieved a high accuracy and sensitivity (94–99%) and was successfully implemented on a Jetson Xavier NX board, where it reached a processing speed of 37 FPS.
Actualmente, en puntos de venta y en empresas agroindustriales de México, la clasificación de manzanas (Malus domestica) la realizan personas de forma manual, lo que genera deficiencias en la calidad del producto. Estos problemas se pueden reducir con la implementación de equipos de visión en sitio equipados con algoritmos de aprendizaje automático. En este estudio se analizaron varias arquitecturas de red neuronal convolucional (CNN) y se seleccionó una que permite clasificar manzanas en sanas y dañadas en el proceso en postcosecha. Las variedades utilizadas fueron Red Delicious, Granny Smith, Golden Delicious y Gala. Se comparó la exactitud de las CNN LeNet5 y VGG16. Se realizó una serie de tratamientos (combinación de red con hiperparámetros) que se utilizaron para la clasificación del objeto de estudio. Al probarse cada tratamiento se midió su rendimiento. Al finalizar, el tratamiento con mejor rendimiento fue LeNet5 entrenada desde cero con el optimizador RMSProp, que obtuvo una exactitud del 97 %.
The classification of tomato ripening stages involves assigning a tomato to a category based on the visual indicators of its maturity. Indeed, the specific number of categories and their attributes are determined by the agricultural standards of each country, which rely on an empirical understanding of visual characteristics. Conversely, automatic unsupervised classification techniques, such as deep learning-based methods, autonomously learn their characteristics. In this research, a comparison is made between expert-based classification and unsupervised classification, with a particular focus on the analysis of the number of clusters and their respective features. Remarkably, this investigation finds an alignment in the number of clusters identified by both methods. This discovery supports the notion that the expert-based classification system is compatible with automated approaches. The outcomes of this research could aid the agricultural sector in refining automatic classification techniques. Furthermore, this work provides the scientific community with valuable insights into the clustering of images by machine learning methods.
Mexico’s rice sector has long been characterized by declining cultivated area and heavy dependence on imports, raising concerns about food security and vulnerability to external shocks. In 2019, the federal government reintroduced price support through the Guaranteed Price Program for Basic Staples (PPGPB) to stabilize producer incomes and stimulate domestic rice production. This study provides the first empirical ex post evaluation of the PPGPB for rice during 2019–2021. Results show that paddy rice production increased by 29% in 2020 relative to the preceding decadal average. This increase was driven primarily by a 17.6% expansion in cultivated area, while yields increased by nearly 10%, indicating a predominantly extensive supply response. Econometric estimates suggest that the observed response exceeded both simulation-based predictions and the range of short-run elasticities commonly reported in the international literature. The results are consistent with the hypothesis that program effectiveness depended not only on price incentives, but also on expanded incentive coverage and program redesign introduced in 2020. While guaranteed price policies may contribute to short-run recovery in structurally weakened staple-crop sectors, they are unlikely to be sufficient to achieve the production objectives established under Plan México 2025–2030. The findings underscore the need for complementary structural investments.