For the complete documentation index, see llms.txt. This page is also available as Markdown.

Choose a pre-labeled dataset

Don't want to spend hours drawing boxes around images? You don't have to!

For this path, we will use an open-source dataset. This means another developer or researcher has already done the hard work of collecting photos and labeling the objects inside them. Your job is simply to find the right dataset for your project and download it.


🔍 Top Places to Find Datasets

There are massive online communities dedicated to sharing machine learning data. Here are the two best places to start your search:

  • Roboflow Universe: This is the ultimate library specifically for computer vision. It has over 750,000 datasets that are already formatted for object detection. You can find almost anything here, from "playing cards" to "wild animals" to "traffic lights."

  • Kaggle: A massive hub for data scientists. If you search the "Datasets" tab for "Object Detection," you will find thousands of high-quality, free collections.

If you used Roboflow: Run the Roboflow Dataset section. The code will organize your files and automatically generate a data.yaml file. This file acts as a map, telling the AI exactly where your training images and labels are located.

If you used Kaggle: Run the Kaggle Dataset section. Because Kaggle datasets can sometimes have unpredictable formatting, these code cells will first validate that your dataset is in the correct YOLO format before organizing it for training.


⚠️ 3 Things to Check Before You Download

Not all datasets are created equal! When you find a dataset you like, check for these three things before you hit download:

  1. The Export Format: Your dataset needs to speak the same language as your AI model. For most modern object detection models (like YOLO), you need to make sure you export or download the dataset in YOLO format.

  2. Dataset Size: How many images are there? If a dataset only has 20 pictures, your AI will not have enough examples to learn from. Try to find a dataset that has at least a few hundred images.

  3. The Classes: A "class" is the name of the object the AI is looking for. Check the dataset details to make sure it includes the exact classes you want to detect (e.g., if you want to detect fruit, make sure the classes are labeled "apple," "banana," etc.).

Choose YOLO when the download site asks for an export format. Other formats may require conversion before training.


🛠️ Your Action Steps

1

Go to Roboflow Universe or Kaggle.

2

Search for an object you want your AI to recognize.

3

Verify that the dataset has enough images and the correct labels.

4

Download the dataset to your computer as a .zip file (make sure to select YOLO format if asked!).

Last updated