# Image Classification

## Setup the Dataset

Navigate to [udt.dev](https://udt.dev) and click "New File"

![Click "New File" on udt.dev](https://708390366-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFuZsfsLW71orr4EXRY%2F-MI1-I35x0iE2R-GuGoG%2F-MI11H2GNT530d7n2r1Q%2Fimage.png?alt=media\&token=8438ff28-e06e-4025-86ab-0be4818a2730)

Then select the Image Segmentation button from the `Setup > Data Type` page.

![](https://708390366-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFuZsfsLW71orr4EXRY%2F-MIAw4He1mDLpW2jOszA%2F-MIBB8b2peYagzSg1Cbq%2Fimage.png?alt=media\&token=c27fffbe-8e1a-4ea0-a730-dd1c8c88578b)

## Import Data

You can use any of the following methods to import image data. If you're just getting started, you can quickly create a dataset using the COCO Images method!

* [Import COCO Dialog](https://docs.universaldatatool.com/importing-data/coco-images)
* [Import from Google Drive](https://docs.universaldatatool.com/importing-data/import-from-google-drive)
* [Import from AWS S3 Bucket](https://docs.universaldatatool.com/importing-data/import-from-aws-s3-bucket)
* [Import from List of URLs](https://docs.universaldatatool.com/importing-data/import-file-urls)
* [Import from CSV or JSON](https://docs.universaldatatool.com/importing-data/import-from-csv-or-json)
* [Upload or Open Directory](https://docs.universaldatatool.com/importing-data/upload-or-open-directories)

## Label your Data (with friends!)

Use the `Label` tab to label your data. Look at the [Collaborative Labeling Guide](https://docs.universaldatatool.com/collaborative-labeling) to label with others.

![An example Image Classification labeling task](https://708390366-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFuZsfsLW71orr4EXRY%2F-MIFOHQ9SvdGs7j-Qecs%2F-MIFT4BKQXTIVczYsLNp%2Fimage.png?alt=media\&token=e3ca3526-ad8b-44fc-ac51-4fad136bf5ab)

## Export and Use

The image classification format is easy to use. If you'd like the data in a tabular format, download as CSV and consider taking a look at the [Pandas Usage Guide](https://docs.universaldatatool.com/machine-learning/import-datasets-into-pandas) (which makes it easy to load into python). You can also download the images into folders using the [Fast.ai Image Classification Guide](https://docs.universaldatatool.com/machine-learning/fastai/import-datasets-for-fast.ai-image-classification).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.universaldatatool.com/building-and-labeling-datasets/image-classification.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
