Professional Documents
Culture Documents
Lars 2018 Autoceres
Lars 2018 Autoceres
net/publication/329958978
CITATIONS READS
8 245
5 authors, including:
19 PUBLICATIONS 68 CITATIONS
Universidade Federal do Rio Grande (FURG)
217 PUBLICATIONS 2,132 CITATIONS
SEE PROFILE
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
OCELUS - Automatizing the Linear Welding Process using Computer Vision View project
All content following this page was uploaded by Paulo Drews-Jr on 18 February 2021.
Abstract— Over the past few years, agriculture has under- Although application of agricultural chemical is currently
gone profound changes due to technological advances. The carried out by several types of sprayers, the elucidation
application of agrochemicals revolutionized agriculture by re- presented here is relative to the boom sprayers (Fig. 1).
ducing manpower, increasing the productivity and providing a
greater control of spontaneous plants. However, the application These sprayers are generally mounted back to the tractor.
of pesticides using boom sprayers remain the same even though Furthermore, they are composed by a tank, to store the
the advances in autonomous tractors. As crops are usually pesticides, and two booms, one for each side, where nozzles
planted in rows, this paper optimizes and automates the applica- are hung. The nozzles are always open to allow the spray
tion of pesticides through an autonomous system based on local mix flowing through them during the application. Normally,
information using computer vision. The system is implemented
on smartphones and is capable of detecting rows in plantations, there is no control of spraying application. This leads to the
activating the related sprayer nozzles. Additionally, the system problem of eventually applying chemicals in areas where
is easy to install in many types of tractor-mounted boom there is no plantation line at all, which ends up causing
sprayers. Experimental results are obtained in an onion family damage to the environment and product waste.
farming where the system detects planting lines and controls
Old studies about precision agriculture suggests as agri-
the nozzles.
culture develops, there will be increasing demands for better
control systems. Thus, precisely defined targets application
I. INTRODUCTION systems will have to be developed. Moreover, the threat
of pesticide taxes will force farmers to reduce significantly
In the fifties, Green Revolution introduced new technolo-
usage of agrochemicals [5].
gies to the production of agricultural commodities [1]. After
this revolution, agriculture has been associated with the use On the other hand, robots are more and more present in
of an impressive quantity of agrochemicals to control and agriculture application and many researches have been done
avoid pests which impact the crop losses. The main adopted in the last years. Tractor implements and robots for agri-
products are synthetic organic compounds (SOCs) including cultural tasks have to be flexible, reliable, and maintainable
herbicides, pesticides, and other chemicals [2]. They present [6] [7] [8]. The use of Global Positioning System (GPS)
high biological activity which can cause environmental pollu- for control boom sprayers is common in precise agriculture
tion and imbalance of the agroecosystem [3]. In some cases, [9], [10]. However, the capability to reduce the quantity of
effective application of pesticides in plantations is just 0.1%, agrochemical is still limited due to global perception, high
i.e. 99.9% of the applied product tends to move to other costs and limited accuracy.
places such as surface and groundwater [4].
The pesticide waste during the agricultural operation re-
sults in economic and environmental losses. Thus, we pro-
pose a system to reduce the waste by using an image-based
perception capable of detecting plantation lines. Moreover,
we control nozzle openings in a sprayer boom according to
the crop necessity based on the perception. The automation
system is based on the image analysis of the environment.
A smartphone is responsible for both the data input and its
processing as well as the control signals to the boom sprayer
nozzles.
(R + B) > t (2)
The RGB color space represents the image using three lay-
ers. Therefore, the constants k and t define the threshold for
the pixel to be considered as part of the leafs in the plantation
and are defined by default as 0.68 and 20, respectively. These
thresholds are sensitive to the scene illumination [18], but
they are robust to changes in the leaf colors. Our empirical
evaluation shows that is easy to define good set of parameters
(a) Original image resized.
for a long journey spraying operation. The approach obtains a
binary image, as shown in Fig. 3b. The black pixels represent
the plants while the white pixels represent the non-plants
pixels.
C. Morphological operators
The detection provided by the green identification can be
limited and lose some parts of the plants due to shadows or
other important color changes. Thus, we applied morpholog-
ical operators: erosion and dilate.
Erosion operation aims to reduce the shape of an object
in the scene but also the noise [22]. Therefore, the proposed
work uses erosion to remove noises and separate clusters
of plants. One of the main parameter to be chosen is the
kernel size. We adopted a kernel size of block of 3 × 3 that
reduces the noise and remains the detected plants. An erosion
operation applied in the Fig. 3b is shown in Fig. 4.
After the erosion, dilation is applied. This is a procedure
to integrate morphological operations. The main function is
to highlight and increase the plants. The kernel size adopted
is 7 × 7 pixels. Therefore, we show a sample result obtained
after the application of dilation in Fig. 5.
(b) Identified green.
D. Plant detection
Fig. 3: Identification of green pixels after image resize in a
The plants are detected based on the centroids of each sample image acquired in a real onion farm. Black pixels
area. Finding the centroid of objects is important to obtain represent the plants, while the White pixels represent the
the best target location and, in our case, determine each crop non-plants.
line [19]. Fig. 6 shows the detected centers of plants in the
image, i.e., the center of each plant. This method finds the
plant centroids in order to obtain the plantation lines.
E. Plantation Lines Estimation
We adopt a line fitting to obtain the plantation lines based
on the knowledge that the seeding always occurs in this way.
Although there are many line fitting methods [23], in this
work is adopted the Progressive Probabilistic Hough Trans-
form (PPHT) [24], [25] based on the previously detected
plants, because its robustness. PPHT needs to adjust several
parameters, we defined that the best values for the pixel
resolution and angle are 1 pixel and 1 degree, respectively.
The minimum crossing number is another parameter that is
sensitive to the number of plants in the image. Experimental
evaluation shows that the interval [20; 30] covers most of the
plants. For onion farm, the minimum crossing is defined as
25. The other parameters such as the minimum number of
points and the maximum distance value between two points
to form a line are defined based on the height in pixels
Fig. 4: Erosion operation applied in the Fig. 3b. of the processed image. Their values are defined as 200
and 480, respectively [19]. The result of the planting lines
identification can be seen in Fig. 7.