Journal of Agricultural Machinery (Dec 2023)

Automatic Detection of Plant Cultivation Rows Robot using Machine Vision (Case Study: Basil Plant)

  • M. Nadafzadeh,
  • A. Banakar,
  • S. Abdanan Mehdizadeh,
  • M. R. Zare-Bavani,
  • S. Minaei

DOI
https://doi.org/10.22067/jam.2022.77315.1112
Journal volume & issue
Vol. 13, no. 4
pp. 453 – 475

Abstract

Read online

IntroductionNowadays, machine vision systems are extensively used in agriculture. The application of this technology in the field can help preserve agricultural resources while reducing manual labor and production costs. In the field of agricultural automation, accurately detecting crop rows is recognized as a crucial and challenging issue for weed identification and the automatic guidance of machines. Therefore, it is necessary to explore practical solutions to optimize this process. Hence, the purpose of this study is the precise identification of basil cultivation rows to enable the automatic navigation of robots in the cultivation field.Materials and MethodsIn the first stage of this research, six images from each growth period of basil plants (third, fourth, and fifth week) were taken and weeds were removed from the area between the crop rows using three different methods of area opening, dimensional removal, and masking. In the next stage, six images of crop rows without weeds were examined by performing image processing operations and implementing several routing algorithms, namely, Hough transform, wavelet transform, Gabor filter, linear regression, and an additional algorithm proposed in this study. The output of each of these algorithms was compared with the ideal path identified by the user. For this purpose, after capturing an image, green areas were extracted from it by performing the segmentation process. By applying each of the routing algorithms to the image, plant cultivation lines were identified and their equations were determined. Finally, the performance of the designed robot was evaluated using the most appropriate routing algorithm.Results and DiscussionExamining the performance of three different methods of weed removal in three periods of plant growth (third, fourth, and fifth week) showed that during this interval, the masking method had the lowest error rate compared to the ideal path and the shortest average operation time of 1.64 seconds, followed by the dimensional removal and the area opening methods. Comparing the routes detected by different routing algorithms with the ideal routes and according to the results of the t-test at 5% probability level, the order of the studied routing methods from the most superior is as follows: the proposed algorithm, Gabor filter, linear regression, Hough transform and wavelet transform algorithm. Overall, the proposed algorithm had the highest rate of adaptation to the ideal path (with an average error of 3.65 pixels) and the shortest operation time (4.79 seconds) and was selected as the most appropriate routing algorithm and the performance of the designed robot was evaluated using it.ConclusionA reliable crop row detection algorithm can reduce production costs and preserve the environment. In this study, the masking method was used for removing weeds from the images. The new proposed routing algorithm has superior performance when compared with common routing algorithms such as the Gabor filter, linear regression, Hough transform, and wavelet transform. Additionally, it was shown that the designed robot using the proposed algorithm (with an average error of 3.65 pixels) has the desired performance.AcknowledgmentThe authors express appreciation for the financial support provided by Tarbiat Modares University.

Keywords