Skip to content

gargibendale/Yolov5-Custom-Dataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flower detection using yolov5

This is purely a passion project I decided to make by training yolov5 on a custom dataset that I labeled. The trained model can detect 5 flowers: rose, dandelion, daisy, tulip and sunflower.

Get Started

  1. Clone this repository
  2. Run pip install -r requirements.txt
  3. Run python app.py Open the local server in your browser and have fun :)

Dataset

I used the Roboflow annotation tool to label the images and export them using code. Check out the notebook in the repo to see how to import the custom dataset and train it. I've also written the code for testing it on a single inference and also to permanently save the trained weights to google drive.

Ultralytics docs - Train on custom data

Dataset link - [ ] (Go to Download this Dataset, and select the Yolov5 Pytorch format)

Demo

Screenshot (393) Screenshot (394) Screenshot (395) Screenshot (396)

Bonus

This is incredibly funny but, while annotating, I decided to skip this image below, since it doesn't contain any real flowers. And the model still detected the roses in it. plus a lil tulip :))

download (4)

About

Flower detection using yolov5 trained on custom dataset.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages