# How to import

{% hint style="info" %}
This 5-minute tutorial is a part of introduction to Supervisely series. You can complete them one-by-one, in random order, or jump to the rest of the documentation at any moment.

* How to import **(you are here)**
* [How to annotate](https://docs.supervisely.com/getting-started/how-to-annotate)
* [How to invite team members](https://docs.supervisely.com/getting-started/invite-member)
* [How to connect agents](https://docs.supervisely.com/agents/connect-your-computer)
* [How to train models](https://docs.supervisely.com/getting-started/how-to-train-models)
  {% endhint %}

{% hint style="success" %}
You can learn more about Import, such as importing different formats, import from the cloud or adding data to existing datasets in [this section.](https://github.com/supervisely/docs/blob/master/getting-started/broken-reference/README.md)
{% endhint %}

### Supported formats and modalities

<details>

<summary><strong>Image Datasets</strong></summary>

* Auto-detect annotations in [Supervisely](https://github.com/supervisely-ecosystem/import-wizard-docs/blob/master/converter_docs/images/supervisely.md), [COCO](https://github.com/supervisely-ecosystem/import-wizard-docs/blob/master/converter_docs/images/coco.md), [YOLO](https://github.com/supervisely-ecosystem/import-wizard-docs/blob/master/converter_docs/images/yolo.md), [Pascal VOC](https://github.com/supervisely-ecosystem/import-wizard-docs/blob/master/converter_docs/images/pascal.md), [Cityscapes](https://github.com/supervisely-ecosystem/import-wizard-docs/blob/master/converter_docs/images/cityscapes.md), [Images with PNG masks formats](https://github.com/supervisely-ecosystem/import-wizard-docs/blob/master/converter_docs/images/masks.md).
* Import images for [Multiview](https://github.com/supervisely-ecosystem/import-wizard-docs/blob/master/converter_docs/images/multiview.md), [Multispectral](https://github.com/supervisely-ecosystem/import-wizard-docs/blob/master/converter_docs/images/multispectral.md), [Medical 2D (single)](https://github.com/supervisely-ecosystem/import-wizard-docs/blob/master/converter_docs/images/medical_2d.md) labeling.
* Upload images as [links from CSV or TXT files](https://github.com/supervisely-ecosystem/import-wizard-docs/blob/master/converter_docs/images/csv.md) or [convert PDF pages to images](https://github.com/supervisely-ecosystem/import-wizard-docs/blob/master/converter_docs/images/pdf.md).
* Images in any directory structure without annotations.
* **Supported image formats:** `.jpg`, `.jpeg`, `jpe`, `.bmp`, `.png`, `.webp`, `.mpo`, `.tiff`, `.nrrd`, `.jfif`, `.avif`, `.heic`.

</details>

<details>

<summary><strong>Video Datasets</strong></summary>

* Auto-detect annotations in [Supervisely](https://github.com/supervisely-ecosystem/import-wizard-docs/blob/master/converter_docs/videos/supervisely.md), DAVIS (coming soon), MOT (coming soon) formats.
* Videos in any directory structure without annotations.
* **Supported video formats:** `.avi`, `.mov`, `.wmv`, `.webm`, `.3gp`, `.mp4`, `.flv`. ⚠️ All videos will be converted to `.mp4` format during import.

</details>

<details>

<summary><strong>Point Cloud Datasets</strong></summary>

* Auto-detect annotations in [Supervisely](https://github.com/supervisely-ecosystem/import-wizard-docs/blob/master/converter_docs/point_cloud/supervisely.md) format.
* Point clouds in any directory structure without annotations in `PCD`, `LAS`, `LAZ`, `PLY` formats.

</details>

<details>

<summary><strong>Point Cloud Episode Datasets</strong></summary>

* Auto-detect annotations in [Supervisely](https://github.com/supervisely-ecosystem/import-wizard-docs/blob/master/converter_docs/point_cloud_episodes/supervisely.md) format.
* Point cloud episodes without annotations in `PCD` format.

</details>

<details>

<summary><strong>Volume Datasets</strong></summary>

* Auto-detect annotations in [Supervisely](https://github.com/supervisely-ecosystem/import-wizard-docs/blob/master/converter_docs/volumes/supervisely.md) format.
* Volumes in any directory structure without annotations in `DICOM`, `NRRD` formats.

</details>

You can always use applications to import different formats and modalities from our [Ecosystem](https://ecosystem.supervisely.com/):

[Import Images](https://ecosystem.supervisely.com/apps/import-images) | [Import Videos](https://ecosystem.supervisely.com/apps/import-videos-supervisely) | [Import Pointclouds](https://ecosystem.supervisely.com/apps/import-pointcloud-pcd) | [Import Pointcloud Episodes](https://ecosystem.supervisely.com/apps/import-pointcloud-episode) | [Import DICOM Volumes](https://ecosystem.supervisely.com/apps/import-dicom-volumes) | [Import COCO Keypoints](https://ecosystem.supervisely.com/apps/import-coco-keypoints) | [Import Volumes in Supervisely format](https://ecosystem.supervisely.com/apps/import-volumes-with-anns) | [Import KITTI-360](https://ecosystem.supervisely.com/apps/import-kitti-360/supervisely_app) | [Import Multispectral Images](https://ecosystem.supervisely.com/apps/import-multispectral-images) | and [many other formats](https://ecosystem.supervisely.com/import).

🪄 Here we will look at the fastest and easiest import option!

***

Let's start our journey with Supervisely by uploading our very first image. Of course, like we said before, you can import more complex dataset formats like [COCO](https://github.com/supervisely-ecosystem/import-wizard-docs/blob/master/converter_docs/images/coco.md), or modalities, such as DICOM, connect a S3 cloud and much more, but let's begin with a simple one.

We assume that you have already created an account in Supervisely. If not, you can create a free account in our Community Edition [here.](https://app.supervisely.com/signup)

First thing you will see after you login to Supervisely, is your [Projects](https://docs.supervisely.com/getting-started/broken-reference) page where you can find your data. But there is nothing here yet - let's fix that!

<figure><img src="https://1080806899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4BHwRbuyIoH-xoF3Gv%2Fuploads%2FNieWLwVRpWpCaON5ears%2Fimport-project.png?alt=media&#x26;token=f5e63d1e-983a-410b-a2b0-fb3350ebae63" alt=""><figcaption></figcaption></figure>

1. Click the `Import Data` button. Enter a unique name for the project, keeping in mind that it must be unique in the workspace and case-sensitive. You can also add a description of the project to provide additional information or to track project updates.
2. Next, select the `Project type` by defining the content modality: images, videos, point clouds, or DICOM 3D volumes.

{% hint style="warning" %}
Note that you can't mix multiple content types in the same project, and this setting can't be changed later.
{% endhint %}

3. Choose one of the available interfaces for labeling images (or other data modality). Our interfaces are designed for different industries and annotation scenarios.
4. After completing all required fields and selecting options, click `Create` to complete the project and begin uploading data.

<figure><img src="https://1080806899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4BHwRbuyIoH-xoF3Gv%2Fuploads%2FgX37t3MsnnIBgdAQXr0P%2Fcreate-project-easy.png?alt=media&#x26;token=f57dddec-69a1-4a56-8a3a-b840482c1df0" alt=""><figcaption></figcaption></figure>

5. In the modal window, drag and drop one or more images in one of the supported formats, such as `.jpg`, `.jpeg`, `.mpo`, `.bmp`, `.png`, `.webp`, `.tiff`, `.tif`, `.nrrd`, `.jfif`, `.avif`, `.heic`, `NIfTI`, `DICOM` . You can also check out the supported annotation formats.

🤗 Congratulations, the hardest part is over!

<figure><img src="https://1080806899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4BHwRbuyIoH-xoF3Gv%2Fuploads%2FzAxoR5LLwGE3Kztgsvms%2Fdrag-and-drop.png?alt=media&#x26;token=b52879d5-8cc8-4418-be80-060b7811e3d2" alt=""><figcaption></figcaption></figure>

You will be redirected to the Tasks page where you can watch the progress of the application (your files are actually being uploaded to your [Team Files](https://docs.supervisely.com/data-organization/team-files)).

You can click **three dots (⋮)** icon and check the application logs.

<figure><img src="https://1080806899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4BHwRbuyIoH-xoF3Gv%2Fuploads%2FGzp5TR6el6Nus5ImWGcg%2Ftasks.png?alt=media&#x26;token=5e07b190-ea70-4e58-ac0b-eb8d6e9d57e6" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
🤓 **Nerd alert! Skip this section if you aren't interested how Supervisely works inside.**

So what is going on here? First, Supervisely will choose one of the connected Agents and ask it to run the “Auto Import'' application. It will spawn a Docker container that will download the GitHub repository with the application code and run python code written with Supervisely SDK.

It will pull your images uploaded to the Team Files in the modal window, convert them, if needed (this particular application maybe does little, but others, like Import COCO format, will transform a lot) and use API to create a Project and add images to it.
{% endhint %}

Once the import is finished, you will see the link to your new project in the `Output` column of the table.

<figure><img src="https://1080806899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4BHwRbuyIoH-xoF3Gv%2Fuploads%2F4dQoyGQiobEZUKIAgybt%2Fprojects.png?alt=media&#x26;token=975ce621-db58-4694-a670-14eb275d7425" alt=""><figcaption></figcaption></figure>

All set! Now, in the [next section](https://docs.supervisely.com/getting-started/how-to-annotate), let's annotate your uploaded images.


---

# 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.supervisely.com/getting-started/how-to-import.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.
