The application uses photos of cotton bales to calculate trash level with AI technology. The application permits to collect a large number of samples, in order to improve the accuracy and have a global situation of the material.