Electronic eye for the prediction of parameters related to grape ripening