This study focuses on characterizing the temporal evolution of the surface affected by industrial treatment with NaOH within the processing tanks during the lye treatment stage of Manzanilla table olives. The lye treatment process is affected by multiple variables, such as ambient temperature, the initial temperature of the olives before lye treatment, the temperature of the NaOH solution, the concentration of the solution, the variety of olives, and their size, which are determinants of the speed of the lye treatment process. Traditionally, an expert, relaying on their subjective judgement, manages the cooking process empirically, leading to variability in the termination timing of the cook. In this study, we introduce a system that, by using an artificial vision system, allows us to know in a deterministic way the percentage of lye treatment achieved at each moment along the cooking process; furthermore, with an interpolator that accumulates values during the lye treatment, it is possible to anticipate the completion of the cooking by indicating the moment when two-thirds, three-fourths, or some other value of the interior surface will be reached with an error of less than 10% relative to the optimal moment. Knowing this moment is crucial for proper processing, as it will affect subsequent stages of the manufacturing process and the quality of the final product.