# Creating a dataset

# Add images

You can create a new dataset by clicking Add new dataset. Drag and drop or browse the images on your computer to upload them.

The photos you upload will be stored in an image collection. All your collections can be accessed via the My Datasets section.

You can manage your collection by clicking on the tile menu. You can expand your image collection by clicking Add images, Delete the collection, Edit name of collection, or Download to your computer.

Dataset list
Dataset list

# Name your dataset

The dataset name must be unique, with a minimum of 3 and a maximum of 50 characters. When creating a dataset name, use only letters from the Latin alphabet, numbers and hyphens. The same rules apply when creating names for trainings and categories.

# Label the images

For both classification and detection, images need to be described in detail. In the case of classification, the whole image must be given a classification category, i.e. what type of object it belongs to.

In the case of detection, the location of objects and their names (labels) must be marked on the image. Image labels can be entered in an editor available in OSAI or described and uploaded in an annotation file. Learn more about Annotations.

# Manage categories

Unless a category is assigned during upload, newly uploaded photos will remain unclassified.

This is illustrated in the Cats collection below. The remaining collections have a category taken from the internal directory name (perros) or the name of the .zip archive (chats, dogs).

Main view
Main view

The CLASSIFICATION tab includes filtering by classification categories. To filter photos by a specific category, select the box with the name of the category. The list of checked boxes/selected categories is located above the image gallery.

If the dataset is not categorized, there will be no categories listed (except for "Unclassified Images") and none of the images will have a classification label.

Contents of the dataset
Contents of the dataset

You can assign categories to newly added images in the Change Category mode. The mode is activated by toggling the switch button.

Select the images on this gallery page using the checkboxes or the Check All option, then select Change Category as the selected action.

Selected images
Selected images

You will be asked to enter a name for the new category in the Add new field. You can also choose one of the already existing categories.

If you are deleting a category from multiple images, select Set no category.

Adding a new category
Adding a new category

Once you have assigned a category to the image, it will be marked with the category name at the bottom of the image thumbnail.

Category changed
Category changed

Categories assigned to at least one image will also be visible in the dashboard, in the (Categories) dataset column.

Dashboard
Dashboard

In the process of training the model, the names of the categories can be modified. You can merge them and change their names during the model training parameterization, as described in the Merge categories article.