Diagnosis by SAM Linked to Machine Vision Systems in Olive Pitting Machines

Computer Vision (CV) has proven to be a powerful tool for automation in agri-food industrial processes, offering high-precision solutions tailored to specific working conditions. Recent advancements in Artificial Neural Networks (ANNs) have revolutionized CV applications, enabling systems to autonom...

Full description

Saved in:
Bibliographic Details
Main Authors: Luis Villanueva Gandul, Antonio Madueño-Luna, José Miguel Madueño-Luna, Miguel Calixto López-Gordillo, Manuel Jesús González-Ortega
Format: Article
Language:English
Published: MDPI AG 2025-07-01
Series:Applied Sciences
Subjects:
Online Access:https://www.mdpi.com/2076-3417/15/13/7395
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849429021676273664
author Luis Villanueva Gandul
Antonio Madueño-Luna
José Miguel Madueño-Luna
Miguel Calixto López-Gordillo
Manuel Jesús González-Ortega
author_facet Luis Villanueva Gandul
Antonio Madueño-Luna
José Miguel Madueño-Luna
Miguel Calixto López-Gordillo
Manuel Jesús González-Ortega
author_sort Luis Villanueva Gandul
collection DOAJ
description Computer Vision (CV) has proven to be a powerful tool for automation in agri-food industrial processes, offering high-precision solutions tailored to specific working conditions. Recent advancements in Artificial Neural Networks (ANNs) have revolutionized CV applications, enabling systems to autonomously learn and optimize tasks. However, ANN-based approaches often require complex development and lengthy training periods, making their implementation a challenge. In this study, we explore the use of the Segment Anything Model (SAM), a pre-trained neural network developed by META AI in 2023, as an alternative for industrial segmentation tasks in the table olive (<i>Olea europaea</i> L.) processing industry. SAM’s ability to segment objects regardless of scene composition makes it a promising tool to improve the efficiency of olive pitting machines (DRRs). These machines, widely employed in industrial processing, frequently experience mechanical inefficiencies, including the “boat error,” which arises when olives are improperly oriented, leading to defective pitting and pit splinter contamination. Our approach integrates SAM into n CV workflow to diagnose and quantify boat errors without designing or training an additional task-specific ANN. By analyzing the segmented images, we can determine both the percentage of boat errors and the size distribution of olives during transport. The results validate SAM as a feasible option for industrial segmentation, offering a simpler and more accessible solution compared to traditional ANN-based methods. Moreover, our statistical analysis reveals that improper calibration—manifested as size deviations from the nominal value—does not significantly increase boat error rates. This finding supports the adoption of complementary CV technologies to enhance olive pitting efficiency. Future work could investigate real-time integration and the combination of CV with electromechanical correction systems to fully automate and optimize the pitting process.
format Article
id doaj-art-b77142ae403b4e19b5736b142be547a1
institution Kabale University
issn 2076-3417
language English
publishDate 2025-07-01
publisher MDPI AG
record_format Article
series Applied Sciences
spelling doaj-art-b77142ae403b4e19b5736b142be547a12025-08-20T03:28:29ZengMDPI AGApplied Sciences2076-34172025-07-011513739510.3390/app15137395Diagnosis by SAM Linked to Machine Vision Systems in Olive Pitting MachinesLuis Villanueva Gandul0Antonio Madueño-Luna1José Miguel Madueño-Luna2Miguel Calixto López-Gordillo3Manuel Jesús González-Ortega4Department of Aerospace Engineering and Fluid Mechanics, University of Seville, 41013 Seville, SpainDepartment of Aerospace Engineering and Fluid Mechanics, University of Seville, 41013 Seville, SpainDepartment of Graphic Engineering, University of Seville, 41013 Seville, SpainDepartment of Graphic Engineering, University of Seville, 41013 Seville, SpainDepartment of Aerospace Engineering and Fluid Mechanics, University of Seville, 41013 Seville, SpainComputer Vision (CV) has proven to be a powerful tool for automation in agri-food industrial processes, offering high-precision solutions tailored to specific working conditions. Recent advancements in Artificial Neural Networks (ANNs) have revolutionized CV applications, enabling systems to autonomously learn and optimize tasks. However, ANN-based approaches often require complex development and lengthy training periods, making their implementation a challenge. In this study, we explore the use of the Segment Anything Model (SAM), a pre-trained neural network developed by META AI in 2023, as an alternative for industrial segmentation tasks in the table olive (<i>Olea europaea</i> L.) processing industry. SAM’s ability to segment objects regardless of scene composition makes it a promising tool to improve the efficiency of olive pitting machines (DRRs). These machines, widely employed in industrial processing, frequently experience mechanical inefficiencies, including the “boat error,” which arises when olives are improperly oriented, leading to defective pitting and pit splinter contamination. Our approach integrates SAM into n CV workflow to diagnose and quantify boat errors without designing or training an additional task-specific ANN. By analyzing the segmented images, we can determine both the percentage of boat errors and the size distribution of olives during transport. The results validate SAM as a feasible option for industrial segmentation, offering a simpler and more accessible solution compared to traditional ANN-based methods. Moreover, our statistical analysis reveals that improper calibration—manifested as size deviations from the nominal value—does not significantly increase boat error rates. This finding supports the adoption of complementary CV technologies to enhance olive pitting efficiency. Future work could investigate real-time integration and the combination of CV with electromechanical correction systems to fully automate and optimize the pitting process.https://www.mdpi.com/2076-3417/15/13/7395table olive industryolive pittingSAM segmentationindustrial process optimizationDRR machinesboat error
spellingShingle Luis Villanueva Gandul
Antonio Madueño-Luna
José Miguel Madueño-Luna
Miguel Calixto López-Gordillo
Manuel Jesús González-Ortega
Diagnosis by SAM Linked to Machine Vision Systems in Olive Pitting Machines
Applied Sciences
table olive industry
olive pitting
SAM segmentation
industrial process optimization
DRR machines
boat error
title Diagnosis by SAM Linked to Machine Vision Systems in Olive Pitting Machines
title_full Diagnosis by SAM Linked to Machine Vision Systems in Olive Pitting Machines
title_fullStr Diagnosis by SAM Linked to Machine Vision Systems in Olive Pitting Machines
title_full_unstemmed Diagnosis by SAM Linked to Machine Vision Systems in Olive Pitting Machines
title_short Diagnosis by SAM Linked to Machine Vision Systems in Olive Pitting Machines
title_sort diagnosis by sam linked to machine vision systems in olive pitting machines
topic table olive industry
olive pitting
SAM segmentation
industrial process optimization
DRR machines
boat error
url https://www.mdpi.com/2076-3417/15/13/7395
work_keys_str_mv AT luisvillanuevagandul diagnosisbysamlinkedtomachinevisionsystemsinolivepittingmachines
AT antoniomaduenoluna diagnosisbysamlinkedtomachinevisionsystemsinolivepittingmachines
AT josemiguelmaduenoluna diagnosisbysamlinkedtomachinevisionsystemsinolivepittingmachines
AT miguelcalixtolopezgordillo diagnosisbysamlinkedtomachinevisionsystemsinolivepittingmachines
AT manueljesusgonzalezortega diagnosisbysamlinkedtomachinevisionsystemsinolivepittingmachines