journal article·2025-06-13Open access

Development of a Computer Vision-Based Method for Sizing and Boat Error Assessment in Olive Pitting Machines

Luis Villanueva Gandul, Antonio Madueño-Luna, José Miguel Madueño-Luna, Miguel Calixto López-Gordillo, Manuel Jesús González-Ortega

Applied Sciences· Volume 15· Issue 12

Abstract

Table olive pitting machines (DRRs) are essential in the agri-food industry but face significant limitations that constrain their performance and compromise process reliability. The main defect, known as the “boat error”, results from improper olive orientation during pitting, leading to bone fragmentation, pulp damage, and potential risks to consumer safety. Traditional quality control methods, such as the use of flotation tanks and expert sensory evaluation, rely on destructive sampling, are time-consuming, and reduce overall productivity. To address these challenges, this study presents a novel computer vision (CV) system integrated into a commercial DRR machine. The system captures high-speed images of Gordal olives (Olea europaea regalis) just before pitting; these are later analyzed offline using a custom MATLAB application that applies HSV-based segmentation and morphological analysis to quantify the olive size and orientation. The method accurately identifies boat error cases based on angular thresholds, without interrupting the production flow or damaging the product. The results show that 97% of olives were correctly aligned, with only 1.1% presenting critical misorientation. Additionally, for the first time, the system allowed a detailed evaluation of the olive size distribution at the machine inlet, revealing an unexpected proportion of off-caliber olives. This contamination in sizing suggests a possible link between calibration deviations and the occurrence of boat errors, introducing a new hypothesis for future investigation. While the current implementation is limited to offline analysis, it represents a non-destructive, low-cost, and highly precise diagnostic tool. This work lays the foundation for a deeper understanding of DRR machine behavior and provides a framework for future developments aimed at optimizing their performance through targeted correction strategies.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Industrial Vision Systems and Defect Detection · Optical measurement and interference techniques · Advanced Measurement and Detection Methods

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Aerospace Engineering and Fluid Mechanics, University of Seville, 41013 Seville, Spain

Department of Graphic Engineering, 41013 Seville, Spain

References (50)

Show source-provided references
1. Internacional Olive Council (2025, May 06). Trade Standard Applying to Table Olives (COI/OT/NC, 1). Available online: https://www.internationaloliveoil.org/what-we-do/chemistry-standardisation-unit/standards-and-methods/.
2. España (2025, May 06). Real Decreto 679/2016, de 16 de Diciembre, por el que se Establece la Norma de Calidad de las Aceitunas de Mesa. Boletín Oficial del Estado, 304. Available online: https://www.boe.es/buscar/doc.php?id=BOE-A-2016-11953.
3. Las nuevas tecnologías aplicadas al sector de la aceituna manzanilla fina
4. Soler Esteban, A., and Van Olmen, S.H. (2025, May 06). Olive Pitting Machine and Method to Pit Olives Used by Said Machine (PCT No. WO2011/131215A1). Available online: https://patents.google.com/patent/WO2011131215A1/en.
5. Estrada-Cabezas, J. (2011). La Aceituna de Mesa: Nociones Sobre sus Características, Elaboración y Cualidades, Diputación Provincial de Sevilla & Fundación para el fomento y la Promoción de la Aceituna de Mesa.
6. Lucas-Pascual, A., Madueño-Luna, A., Jódar-Lázaro, M., Molina-Martínez, J., Ruiz-Canales, A., and Madueño-Luna, J. (2020). Others Analysis of the Functionality of the Feed Chain in Olive Pitting, Slicing and Stuffing Machines by IoT, Computer Vision and Neural Network Diagnosis. Sensors, 20.10.3390/s20051541 ↗
7. Others Deep Learning in Olive Pitting Machines by Computer Vision10.1016/j.compag.2020.105304 ↗
8. Lucas Pascual, A. (2020). Mejoras En El Control de Máquinas Deshuesadoras-Rodajadoras y de Relleno de Aceituna de Mesa. [Ph.D. Dissertation, Universidad Politécnica de Cartagena].
9. Sun, D. (2016). Image Acquisition Systems. Computer Vision Technology for Food Quality Evaluation, Elsevier.
10. A Comprehensive Review of Machine Vision Systems and Artificial Intelligence Algorithms for the Detection and Harvesting of Agricultural Produce
11. Liu, Z., Wang, S., Zhang, Y., Feng, Y., Liu, J., and Zhu, H. (2023). Artificial intelligence in food safety: A decade review and bibliometric analysis. Foods, 12.10.3390/foods12061242 ↗
12. Xiao, Z., Wang, J., Han, L., Guo, S., and Cui, Q. (2022). Application of machine vision system in food detection. Front. Nutr., 9.10.3389/fnut.2022.888245 ↗
13. Kondoyanni, M., Loukatos, D., Templalexis, C., Lentzou, D., Xanthopoulos, G., and Arvanitis, K.G. (2025). Computer vision in monitoring fruit browning: Neural networks vs. stochastic modelling. Sensors, 25.10.3390/s25082482 ↗
14. Vale Filho, E., Lang, L., Aguiar, M.L., Antunes, R., Pereira, N., and Gaspar, P.D. (2024). Computer vision as a tool to support quality control and robotic handling of fruit: A case study. Appl. Sci., 14.10.3390/app14219727 ↗
15. Rojas Santelices, I., Cano, S., Moreira, F., and Peña Fritz, Á. (2025). Artificial vision systems for fruit inspection and classification: A systematic literature review. Sensors, 25.10.3390/s25051524 ↗
16. Mai, B., Liu, T., Liu, Z., Liang, Z., and Liu, S. (2025). A machine vision method for detecting pineapple fruit mechanical damage. Agriculture, 15.10.3390/agriculture15101063 ↗
17. Lopes, J.F., Ludwig, L., Barbin, D.F., Grossmann, M.V.E., and Barbon, S. (2019). Computer vision classification of barley flour based on spatial pyramid partition ensemble. Sensors, 19.10.3390/s19132953 ↗
18. Deep learning and machine vision for food processing: A survey10.1016/j.crfs.2021.03.009 ↗
19. Aznan, A., González Viejo, C., Pang, A., and Fuentes, S. (2021). Computer vision and machine learning analysis of commercial rice grains: A potential digital approach for consumer perception studies. Sensors, 21.10.3390/s21196354 ↗
20. Huang, Y., Li, Z., Bian, Z., Jin, H., Zheng, G., Hu, D., and Sun, Y. (2025). Overview of deep learning and nondestructive detection technology for quality assessment of tomatoes. Foods, 14.10.3390/foods14020286 ↗
21. Zhang, H., Ji, S., Shao, M., Pu, H., and Zhang, L. (2023). Non-destructive internal defect detection of in-shell walnuts by X-ray technology based on improved Faster R-CNN. Appl. Sci., 13.10.20944/preprints202304.1271.v1 ↗
22. Hsiao, W.-T., Kuo, W.-C., Lin, H.-H., and Lai, L.-H. (2021). Assessment and feasibility study of lemon ripening using X-ray image information visualization. Appl. Sci., 11.10.3390/app11073261 ↗
23. Yu, K., Zhong, M., Zhu, W., Rashid, A., Han, R., Virk, M.S., Duan, K., Zhao, Y., and Ren, X. (2025). Advances in computer vision and spectroscopy techniques for non-destructive quality assessment of citrus fruits: A comprehensive review. Foods, 14.10.3390/foods14030386 ↗
24. Ma, L., Sun, K., Tu, K., Pan, L., and Zhang, W. (2017). Identification of double-yolked duck egg using computer vision. PLoS ONE, 12.10.1371/journal.pone.0190054 ↗
25. Sun, D. (2016). Quality Evaluation of Strawberry. Computer Vision Technology for Food Quality Evaluation, Elsevier.
26. Fish Inspection System Using a Parallel Neural Network Chip and the Image Knowledge Builder Application
27. Sun, D. (2016). Quality Evaluation of Apples. Computer Vision Technology for Food Quality Evaluation, Elsevier.
28. Sun, D. (2016). Quality evaluation of citrus fruits. Computer Vision Technology for Food Quality Evaluation, Elsevier. [2nd ed.].
29. Gao, X., Li, S., Su, X., Li, Y., Tang, W., Zhang, Y., and Dong, M. (2024). Application of advanced deep learning models for efficient apple defect detection and quality grading in agricultural production. Agriculture, 14.10.3390/agriculture14071098 ↗
30. Sun, D. (2016). Grading of potatoes. Computer Vision Technology for Food Quality Evaluation, Elsevier. [2nd ed.].
31. Manikandan, R., Rahimi, M., and Gandomi, A.H. (2022). Computer vision system for mango fruit defect detection using deep convolutional neural network. Foods, 11.10.3390/foods11213483 ↗
32. Isingizwe Nturambirwe, J.F., Perold, W.J., and Opara, U.L. (2021). Classification learning of latent bruise damage to apples using shortwave infrared hyperspectral imaging. Sensors, 21.10.3390/s21154990 ↗
33. Sun, D. (2016). Classification and Quality Evaluation of Table Olives. Computer Vision Technology for Food Quality Evaluation, Elsevier.
34. TinyML olive fruit variety classification by means of convolutional neural networks on IoT edge devices10.3390/agriengineering5040139 ↗
35. Navarro Soto, J., Satorres Martínez, S., Martínez Gila, D.M., Gómez Ortega, J., and Gámez García, J. (2018). Fast and reliable determination of virgin olive oil quality by fruit inspection using computer vision. Sensors, 18.10.3390/s18113826 ↗
36. Automatic Counting and Individual Size and Mass Estimation of Olive-Fruits Through Computer Vision Techniques10.1109/ACCESS.2019.2915169 ↗
37. Ponce, J.M., Aquino, A., Millán, B., and Andújar, J.M. (2018). Olive-fruit mass and size estimation using image analysis and feature modeling. Sensors, 18.10.3390/s18092930 ↗
38. Detection of Pitts in Olive Using Hyperspectral Imaging Data10.1109/ACCESS.2022.3179407 ↗
39. Cano-Marchal, P., Satorres-Martinez, S., Gómez-Ortega, J., and Gámez-García, J. (2021). Automatic system for the detection of defects on olive fruit in an oil mill. Appl. Sci., 11.10.3390/app11178167 ↗
40. Figorilli, S., Violino, S., Moscovini, L., Ortenzi, L., Salvucci, G., Vasta, S., and Tocci, F. (2022). Olive fruit selection through AI algorithms and RGB imaging. Foods, 11.10.3390/foods11213391 ↗
41. Sorting olive batches for the milling process using image processing10.3390/s150715738 ↗
42. Elaboration of table olives10.3989/gya.2006.v57.i1.24 ↗
43. Characteristics of the fermentation process that occurs during the storage in brine of Hojiblanca cultivar, used to elaborate ripe olives10.3989/gya.1992.v43.i4.1153 ↗
44. The Imaging Source Website (2025, May 06). The Camera Model DFK 33GV024 2024. Available online: https://www.theimagingsource.com/en-us/product/industrial/33g/dfk33gv024/.
45. Villanueva, L., Madueño-Luna, A., and Madueño-Luna, J.M. (2023). Matlab_Experimental_Software, University of Seville. Version 1.0.0.
46. Giuliani, D. (2022). Metaheuristic algorithms applied to color image segmentation on HSV space. J. Imaging, 8.10.3390/jimaging8010006 ↗
47. Kang, H.-C., Han, H., Bae, H., Kim, M., Son, J., and Kim, Y. (2021). HSV color-space-based automated object localization for robot grasping without prior knowledge. Appl. Sci., 11.10.3390/app11167593 ↗
48. Soler Esteban, A., and Van Olmen, S.H. (2013). Máquina Deshuesadora de Aceitunas y Método para Deshuesar Aceitunas que Utiliza Dicha Máquina. (No. ES-2403580 A2), Spanish Patent.
49. Madueño Luna, A., López Lineros, M., and Madueño Luna, J.M. (2016). Sistema y Procedimiento Basado en un Sensor de Sincronismo para la Detección de Fallos de Funcionamiento en Máquinas Deshuesdoras/Rodajadoras y de Relleno, Cuantificación y Optimización del Rendimiento, Señalización, Monitorización y Control Remoto. (No. ES-2529816 B2), Spanish Patent.
50. Madueño Luna, A., López Lineros, M., and Madueño Luna, J.M. (2020). Procedimiento y Sistema para la Reducción Activa de Aceitunas mal Posicionadas en las Máquinas Deshuesadoras, Rellenadoras y Rodajadoras de Aceitunas. (No. ES-2732765 B2), Spanish Patent.