System for counting fruits and premature detection of greening. We developed a proof of concept for automatic detection of specific pests in orange plantations (greening). With computer vision and machine learning algorithms, it was possible to create a prototype of infrared cameras, to be coupled to tractors, with precision similar to that of people trained for identification.