> For the complete documentation index, see [llms.txt](https://docs.universaldatatool.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.universaldatatool.com/building-and-labeling-datasets/image-classification.md).

# Image Classification

## Setup the Dataset

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

![Click "New File" on udt.dev](/files/-MI11H2GNT530d7n2r1Q)

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

![](/files/-MIBB8b2peYagzSg1Cbq)

## 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](/importing-data/coco-images.md)
* [Import from Google Drive](/importing-data/import-from-google-drive.md)
* [Import from AWS S3 Bucket](/importing-data/import-from-aws-s3-bucket.md)
* [Import from List of URLs](/importing-data/import-file-urls.md)
* [Import from CSV or JSON](/importing-data/import-from-csv-or-json.md)
* [Upload or Open Directory](/importing-data/upload-or-open-directories.md)

## Label your Data (with friends!)

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

![An example Image Classification labeling task](/files/-MIFT4BKQXTIVczYsLNp)

## 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](/machine-learning/import-datasets-into-pandas.md) (which makes it easy to load into python). You can also download the images into folders using the [Fast.ai Image Classification Guide](/machine-learning/fastai/import-datasets-for-fast.ai-image-classification.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
