# Download Unannotated images from

**URL:** <https://discuss.roboflow.com/t/download-unannotated-images-from/3460>\
**Category:** 🤝  Community Help\
**Tags:** feature-request\
**Created:** [October 18, 2023, 10:13am UTC](https://discuss.roboflow.com/t/download-unannotated-images-from/3460 "2023-10-18T10:13:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Final\_Research](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/final_research/32/2304_2.png) [@Final\_Research](https://discuss.roboflow.com/u/Final_Research)\
**Post date:** [October 18, 2023, 10:13am UTC](https://discuss.roboflow.com/t/download-unannotated-images-from/3460/1 "2023-10-18T10:13:44Z")

</div>

I have created a public project on object classification. Project is created to classify smartfarm baskets. I have several annotated images and I plan to annotate the remaining unannotated data using ‘Autodistill’ library. But There is no way I can download this unannotated image set. I have tried several methods and I have searched every where in google. There was a documentary saying how to download unannotated data but it doesn’t have clearly mentioned how to do that. Please help me with this.

Blog post related to how to auto label images :

> **[Training a Custom Package Detection Model with Two Labeled Images](https://blog.roboflow.com/package-detector/)**
>
> In this guide, we show how to train a segmentation model with two labeled images that detects packages using Autodistill and SegGPT.

Blog post related to downloading unlabeled data :

> **[Launch: Dataset Search](https://blog.roboflow.com/dataset-search/)**
>
> Roboflow has been used to manage and label 90k datasets containing 66 million images and now you can use text search to understand those datasets

---

<div class="post-metadata">

**Author:** ![Lenny](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/lenny/32/2383_2.png) [@Lenny](https://discuss.roboflow.com/u/Lenny)\
**Post date:** [October 18, 2023, 10:15am UTC](https://discuss.roboflow.com/t/download-unannotated-images-from/3460/2 "2023-10-18T10:15:18Z")

</div>

To download your unannotated images from Roboflow, you can use the `roboflow-python` package. Here is an example of how to do it:

```python
import roboflow
rf = roboflow.Roboflow()

project = rf.workspace(workspace_id).project(project_id)

# download a new version
version_num = project.generate_version()
version = project.version(version_num)
version.export("coco-segmentation")
version.download(model_format="coco-segmentation", location=output_dir)

```

In this code, replace `workspace_id` and `project_id` with your workspace and project IDs respectively. The `location` parameter in the `version.download()` function should be the directory where you want to save your images.

To download unlabelled images, you can use the API behind [Roboflow Search](https://blog.roboflow.com/dataset-search/). By default, the notebook loads 500 unlabelled images by performing a search in a loop (loading the maximum of 250 at a time).

At the end of this process, you will have a directory `unlabelled/` with your unlabeled images.

For more details, you can refer to the [blog post](https://blog.roboflow.com/package-detector/) you mentioned.

Once you have your unannotated images, you can use the Autodistill library to automatically label them. The Autodistill library can train a model based on folder names with images in them. This can be particularly useful if your images are organized in folders by class. For more information on how to use Autodistill, you can refer to this [blog post](https://blog.roboflow.com/autodistill-folder-structure/).

* * *

> Hi! I’m Roboflow’s AI powered bot. This is an automated response powered using AI with knowledge from our docs, blog, knowledge base, and previous forum responses. If you find this to be a helpful answer, please mark it as the solution using the checkbox icon below. If this doesn’t solve your issue, please follow up with what you’ve tried/why, and the community will continue to chime in as usual.

---

<div class="post-metadata">

**Author:** ![Final\_Research](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/final_research/32/2304_2.png) [@Final\_Research](https://discuss.roboflow.com/u/Final_Research)\
**Post date:** [October 18, 2023, 10:49am UTC](https://discuss.roboflow.com/t/download-unannotated-images-from/3460/3 "2023-10-18T10:49:49Z")

</div>

What are the settings that I should give here? In generate new versions settings must be given
