Skip to content

Weeds to increase crop yields Weeds are an unwanted intruder in the agricultural business. We have to detect the Crop and weeds using YOLOV8 Model.

Notifications You must be signed in to change notification settings

GaneshkumarKarunanidhi/YOLO_objectDetection_on_CustomDataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

YOLO Object Detection for CustomDataset

Weeds to increase crop yields Weeds are an unwanted intruder in the agricultural business. We have to detect the Crop and weeds using YOLOV8 Model.

Dataset Folder

I include the image that the dataset folder must have. The Test and Val folders also contain an images and labels folder inside of them, as does the train folder.

Screenshot_20230219_023401

Custom.yaml formation

The main thing for the YOLO Custom object detection is custom.yaml formation.It attached the format is given below and also I add the My custom.yaml file in this repository

path: (optinal) train: # train folder path val: # val images test: # test images (optional) nc: 2 #number of classes names: ['crop','weed'] # mention the object name

The main thing in yaml file variable after colan(:) a space must be provided before the values.If you are correctly mention the path ,nc and names but forget the space it will show the error.

Output

The all the output will be saved same path under the runs/detect/train. prediction result also saved in the same path in runs/detect/predict The Predict folder object detected images.

Sample image

agri_0_1026

Predicted Image

agri_0_1026

Thank you !🤗✨

About

Weeds to increase crop yields Weeds are an unwanted intruder in the agricultural business. We have to detect the Crop and weeds using YOLOV8 Model.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published