Skip to content

🌱 This project is a prove of concept for weed detection in agriculture.

Notifications You must be signed in to change notification settings

pinguinonice/herb_detector

Repository files navigation

Weed Detection for Agriculture 🌱

Project Description

This project is a prove of concept for weed detection in agriculture.

The model is trained on a collection of garden weed images from the Weeds dataset, making it capable of detecting weeds that typically blend in with their surroundings and confuse other detection models.

The tensorflow implementation of the Yolo model is taken and modified from the following repository: https://github.com/pythonlessons/TensorFlow-2.x-YOLOv3.git 🙌

Dataset

Downlaod the data Weeds dataset in COCO format and extract it to the data folder. You might need to adjust the paths in the config file.

Training

To train the model run the following file:

train.py

Inference

To run inference on a folder of .jpg images run the following file: detect_herbs.py

You might need to adjust the weight the paths in the config file.

Results

Some test set results after 5 epochs with 96.035% mAP:

Image 1 Image 2
Image 3 Image 4
Image 5 Image 6
Image 7 Image 8

About

🌱 This project is a prove of concept for weed detection in agriculture.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages