# AI Algorithms in the Agrifood Industry: Application Potential in the Spanish Agrifood Context
## 4 Results
### Analysis of Article Volume, Origin, and Access Model
#### 4.1.5 Number of Publications per AI Category  
An analysis of the number of publications by category was conducted to examine the distribution of research topics related to the application of artificial intelligence within the agrifood industry. As illustrated in Figure 4, the identified categories include optimization, yield prediction, quality control, disease detection, precision agriculture, climate and weather forecasting, soil and irrigation management, animal health and behavior, and autonomous systems. The category with the highest number of publications is optimization, with 4650 articles, followed by yield prediction (2285 articles), and quality control (2267 articles). These results suggest that enhancing resource efficiency and predicting agricultural outputs are central areas of focus for researchers investigating AI applications in agriculture.  
Other categories, such as disease detection (1472 articles) and precision agriculture (902 articles), are also significant but receive comparatively less attention than optimization-related topics. This indicates that while advancements in AI-driven precision farming and disease management are progressing, optimization remains the dominant concern, reflecting the sector's prioritization of operational efficiency and resource management. To categorize the articles, a Python-based method was used to analyze abstracts and keywords, using  
\begin{table}
\begin{tabular}{c c c c} \hline \hline
**Keyword (Global)** & **Count (Global)** & **Keywords (Spain)** & **Count (Spain)** \\ \hline Machine Learning & 3268 & Machine Learning & 125 \\ Deep Learning & 2917 & Deep Learning & 62 \\ Artificial Intelligence & 864 & Precision Agriculture & 50 \\ Precision Agriculture & 825 & Artificial Intelligence & 40 \\ Agriculture & 767 & Agriculture & 35 \\ Random Forest & 726 & Remote Sensing & 32 \\ Convolutional N.N & 725 & Computer Vision & 27 \\ Remote Sensing & 603 & Random Forest & 27 \\ Classification & 521 & Sentinel-2 & 20 \\ Computer Vision & 502 & Convolutional N.N. & 19 \\ \hline \hline \end{tabular}
\end{table}
Table 3: Comparative analysis of AI-related keywords in global and Spanish scientific publications: Insights from article abstracts.  
regular expressions to identify terms associated with each category, such as \"optimization\" for optimization and \"disease detection\" or \"pest control\" for disease detection.  
The results demonstrate a wide range of AI applications in the agrifood sector, with considerable attention also directed towards climate and weather forecasting (758 articles) and soil and irrigation management (556 articles). However, AI research in areas such as animal health and behavior (398 articles) and autonomous systems (283 articles) is less prevalent, indicating that these fields are emerging but still underdeveloped. This distribution highlights the varied focus across different AI technologies and their applications, revealing both ongoing challenges and potential growth opportunities within each category.