Investigate the application of spectroscopy and electronic nose technologies for the detection of phytosanitary products in whole olives in situ in order to ensure compliance with regulatory limits for these compounds in olive oils and perform real-time monitoring of the production process that allows rapid identification of problems and immediate action related to the presence of contaminants, helping to reduce waste and improving the efficiency and quality control of olive oils, as well as performing an appropriate classification of the fruit, before milling, to achieve "zero residue" oils, which are highly valued by today's consumers.