CNN-based solution for mango classification in agricultural environments