Skip to content

Detecting weed plants in fields using Ai techniques. This is the Code from which our AgriVision Project Weed Detection code based.

License

Notifications You must be signed in to change notification settings

PrinuVinod/Weed-Detection-2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weed-Detection

What is this project about ?

Weeds are the unwanted crops in agriculture lands. They disturb the growing plants around them. Weeds are dependent plants which use nutrients, water, etc resources. So we need to remove them as early as possible. So this project will help to detect the weed in between plants further we can add a mechanical arm which will automatically pick weed and remove them.

What will this give you ?

We can use this code to detect weeds in agriculture lands.

How i did it ?

I used YOLO(You Only Look Once) Real time object detection algorithm to detect weeds. Dataset i used is taken from kaggle and dataset name is crop and weed detection data with bounding boxes (Link to dataset) which contains around 1300 images. Traning is done in Goole Colab.

How to use ?

Structure of the repository

├───testing
│   ├───images
│   └───results
└───traning
    ├───backup
    └───test
  • Traning folder consists of files used for traning
  • Testing folder consists of testing file

Clone the repo and Upload Traning file in google drive and open ipynb file in colab and then you can change the parameters and you can play with the code.

For testing and for using the project download weights from the link and paste it in testing folder.

In testing folder we have two files use detect_image.py to detect in image and use detect_video.py for detecting in video and with webcame access.

Results

  • Program detected crop in image

detect_crop01

  • Program detected weed in image

detect_weed01

  • Program detecting weeds and crops in video

gif

About

Detecting weed plants in fields using Ai techniques. This is the Code from which our AgriVision Project Weed Detection code based.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.5%
  • Python 1.5%