03:00 AM

YOLOv8 Detection Project

Our client wanted to receive a heatmap showing where a certain invasive weed is present in farm fields. The fields with too many of these weeds are not allowed to be used by the farmers. Images were high quality GeoTIF files, embedded with a top-left coordinate. We received hundreds of GB of data, but only used a small part as it was a proof of concept. Here is what I did:

  • Image Preparation - I conducted image annotation by drawing thousands of boxes around weeds we want to detect and multiplied the data with data augmentation techniques.
  • Model Training - After preparing the images, I trained the YOLOv8 model on these images, allowing it to learn and improve its detection capabilities.
  • API Development - Next, I developed a flask API that receives images as input and returns GeoJSON files. These GeoJSON files are then sent to the part of the application that will generate heatmaps, providing a visual representation of where the weeds are present.
404 - not found

Due to a non-disclosure agreement, I'm unable to share more images of the application. However, I did create a visualization to help you understand my part of the project. We start off with a TIF file, with a coordinate of the upper-left corner of the image. The image is then converted to PNG to allow our AI model to perform detection on the image. The AI model will draw boxes around the objects in the image, which will allow us to find the real world coordinates of each box.

visualization.png