Detektering av grödor i fältmiljö
2026 (Swedish)Independent thesis Basic level (professional degree), 10 credits / 15 HE credits
Student thesis
Abstract [sv]
Med anledning av klimatförändringarna och den ökande populationen så är en ökad produktion och effektivitet inom jordbruket en förutsättning för att säkerställa den framtida livsmedelsförsörjningen. Precisionsjordbruket har potential att bidra till detta genom mer resurseffektiv användning av vatten, gödsel och bekämpningsmedel. Med hjälp av tekniken Computer Vision och delområdet instanssegmentering så kan enskilda grödor detekteras och lokaliseras i fältmiljöer vilket kan användas för att automatisera bevattning, besprutning och gödning bland annat. I denna studie har tre state-of-the-art instanssegmenteringsmodeller undersökts för detektering och segmentering av tre olika grödor. Syftet med studien var att undersöka hur väl förtränade state-of-the-art-modeller för instanssegmentering kan detektera grödor i fältmiljö när mängden annoterade träningsdata är begränsad samt att undersöka hur dataaugmenteringsmetoder och preprocessingmetoder kan påverka dessa modellers prestanda. Studien utnyttjade molntjänsten Roboflow för annotering av datamängderna samt träning av modellerna. Ett begränsat dataset för respektive gröda annoterades och användes sedan för att träna modellerna som single-class-detectors resulterande i nio modeller totalt. Inför träning utfördes experiment för augmenterings-och preprocessingmetoder, vilka sedan applicerades på data innan träning. Genom analys av testresultat på modellerna kunde jämförelse av modellernas prestanda utföras samt analyserades faktorer som påverkar prestandan. Resultaten visar att modellerna presterar relativt lika varandra inom respektive gröda medan störst skillnad observeras mellan de olika grödorna. Bäst resultat uppnåddes för kål medan gul lök var mest utmanande. Studien kommer fram till att kvalitet på data, annotationer samt egenskaper för data har stark påverkan på hur väl modellerna presterar och att val av modell för uppgiften är mindre relevant. Sammantaget indikerar resultaten att instanssegmentering har potential att bidra till effektivisering av precisionsjordbruket men att ytterligare forskning inom ämnet är nödvändigt för att öka modellernas robusthet vid begränsade mängder träningsdata.
Abstract [en]
Due to climate change and the increasing population, increased production and efficiency within agriculture is a prerequisite for ensuring the future food supply. Precision agriculture has the potential to contribute to this through more resource-efficient use of water, fertilizer, and pesticides. With the help of the technology Computer Vision and the subfield instance segmentation, individual crops can be detected and localized in field environments, which can be used to automate irrigation, spraying, and fertilization, among other things. In this study, three state-of-the-art instance segmentation models have been examined for detection and segmentation of three different crops. The purpose of the study was to examine how well pre-trained state-of-the-art models for instance segmentation can detect crops in field environments when the amount of annotated training data is limited, as well as to examine how data augmentation methods and preprocessing methods can affect these models’ performance. The study utilized the cloud service Roboflow for annotation of the datasets as well as training of the models. A limited dataset for each crop was annotated and then used to train the models as single-class detectors, resulting in nine models in total. Prior to training, experiments for augmentation and preprocessing methods were carried out, which were then applied to the data before training. Through analysis of test results on the models, comparison of the models’ performance could be carried out, and factors affecting performance were also analyzed. The results show that the models perform relatively similarly to each other within each crop, while the greatest difference is observed between the different crops. The best results were achieved for cabbage, while yellow onion was the most challenging. The study concludes that data quality, annotations, and characteristics of the data have a strong impact on how well the models perform and that choice of model for the task is less relevant. Overall, the results indicate that instance segmentation has the potential to contribute to increased efficiency in precision agriculture, but that further research within the subject is necessary to increase the models’ robustness with limited amounts of training data.
Place, publisher, year, edition, pages
2026. , p. 41
Keywords [sv]
computer vision, RF-DETR, detektering
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:hig:diva-50869OAI: oai:DiVA.org:hig-50869DiVA, id: diva2:2095341
Subject / course
Computer science
Educational program
Study Programme in Computer Science
Supervisors
Examiners
2026-08-282026-08-252026-08-28Bibliographically approved