Affiliation:
1. Department of Land and Spatial Sciences, Namibia University of Science and Technology, Windhoek Private Bag 13388, Namibia
2. Department of Surveying and Geoinformatics, Federal University of Technology Minna, Minna P.M.B. 65, Niger State, Nigeria
Abstract
This study investigates the performance of YOLOv8, a Convolutional Neural Network (CNN) architecture, for multi-crop classification in a mixed farm with Unmanned Aerial Vehicle (UAV) imageries. Emphasizing hyperparameter optimization, specifically batch size, the study’s primary objective is to refine the model’s batch size for improved accuracy and efficiency in crop detection and classification. Using the Google Colaboratory platform, the YOLOv8 model was trained over various batch sizes (10, 20, 30, 40, 50, 60, 70, 80, and 90) to automatically identify the five different classes (sugarcane, banana trees, spinach, pepper, and weeds) present on the UAV images. The performance of the model was assessed using classification accuracy, precision, and recall with the aim of identifying the optimal batch size. The results indicate a substantial improvement in classifier performance from batch sizes of 10 up to 60, while significant dips and peaks were recorded at batch sizes 70 to 90. Based on the analysis of the obtained results, Batch size 60 emerged with the best overall performance for automatic crop detection and classification. Although the F1 score was moderate, the combination of high accuracy, precision, and recall makes it the most balanced option. However, Batch Size 80 also shows very high precision (98%) and balanced recall (84%), which is suitable if the primary focus is on achieving high precision. The findings demonstrate the robustness of YOLOv8 for automatic crop identification and classification in a mixed crop farm while highlighting the significant impact of tuning to the appropriate batch size on the model’s overall performance.
Reference32 articles.
1. Differing visions of agriculture: Industrial-chemical vs. small farm and urban organic production;Gray;Am. J. Econ. Sociol.,2020
2. Deep learning techniques to classify agricultural crops through UAV imagery: A review;Bouguettaya;Neural Comput. Applic,2022
3. Hall, O., Dahlin, S., Marstorp, H., Archila Bustos, M.F., Öborn, I., and Jirström, M. (2018). Classification of Maize in Complex Smallholder Farming Systems Using UAV Imagery. Drones, 2.
4. Dhanaraju, M., Chenniappan, P., Ramalingam, K., Pazhanivelan, S., and Kaliaperumal, R. (2022). Smart Farming: Internet of Things (IoT)-Based Sustainable Agriculture. Agriculture, 12.
5. Crop Classification in Mixed Farming Systems;Sorenson;J. Agric. Sci.,2007