A method for selectively spraying fruit trees, adapted to the bearing state of fruit trees in an orchard, when a sprayer passes through the orchard, wherein the method including the following stages: A) electronically capturing an image for each predetermined tree canopy area during flowering by a digital visualization device, wherein the digital camera, using electronics, projects the image of the area onto a light-sensitive sensor of the camera determining the flower set abundancy in an individual area and simultaneously determining the exact geographical location of each area using a device determining the precise geographica location of the sprayer; B) determining the number of inflorescences in each individual area and categorizing each area according to the number of inflorescences into one of the predetermined quantitative classes of flower set abundancy with a software module for image data processing using a segmentation and classification algorithm or another image processing algorithm, wherein the predetermined quantitative classes of flower set abundancy are numbered from n = 1 to N, with the first class n = 1 representing the lowest number of inflorescences per area, the last class n = N representing the highest number inflorescences in area and each intermediate class 1<n<N representing a higher number of inflorescences in the area than the previous class, and storing the class data of each area together with the associated geographical location in a database in a computer processing unit; C) selective spraying of fruit trees in the orchard depending on the position in the orchard, wherein the computer processing unit, based on the data on the flower set abundancy of each area together with the associated geographical location of the area, stored in the database, depending on the geographical location of the sprayer in the orchard and depending on the selected spraying program, uses a software to make decisions and actuates nozzles controlled by solenoid valves to dispense the amount of the spraying agent to be sprayed on a single canopy area at a specific geographical location. A) electronically capturing an image for each predetermined tree canopy area during flowering by a digital visualization device, wherein the digital camera, using electronics, projects the image of the area onto a light-sensitive sensor of the camera determining the flower set abundancy in an individual area and simultaneously determining the exact geographical location of each area using a device determining the precise geographica location of the sprayer; B) determining the number of inflorescences in each individual area and categorizing each area according to the number of inflorescences into one of the predetermined quantitative classes of flower set abundancy with a software module for image data processing using a segmentation and classification algorithm or another image processing algorithm, wherein the predetermined quantitative classes of flower set abundancy are numbered from n = 1 to N, with the first class n = 1 representing the lowest number of inflorescences per area, the last class n = N representing the highest number inflorescences in area and each intermediate class 1<n<N representing a higher number of inflorescences in the area than the previous class, and storing the class data of each area together with the associated geographical location in a database in a computer processing unit; C) selective spraying of fruit trees in the orchard depending on the position in the orchard, wherein the computer processing unit, based on the data on the flower set abundancy of each area together with the associated geographical location of the area, stored in the database, depending on the geographical location of the sprayer in the orchard and depending on the selected spraying program, uses a software to make decisions and actuates nozzles controlled by solenoid valves to dispense the amount of the spraying agent to be sprayed on a single canopy area at a specific geographical location.