Creating Your Original Dataset
Here is 1 way you can create your own dataset to train an object detection model.
- Install jmd_imagescraper
pip install jmd_imagescraper
- Get Images
#Imports
from jmd_imagescraper.core import *
from pathlib import Path
#Set Paths
root_path = "images"
root = Path().cwd() / root_path
#saving directory
img_dir = "Tennis_images"
key_word = "Tennis"
duckduckgo_search(root, img_dir, key_word, max_results=20)
- Label Images
Check My Other Blog Post.