Image-based system and artificial neural network to automate a quality control system for cherries pitting process