# Extract garment

## Introduction

This tool automatically detects and extracts any garment worn by a model, isolating it for further editing, analysis, or reuse. You can extract a garment from a photoshoot or sketch image.

## Step by step guide

To extract garments from photoshoots, follow these steps:

{% stepper %}
{% step %}

### Open the AI tool

1. Go to [Fermat.app](https://fermat.app/) and log into your account.
2. Open: '[Extract garment](https://toolmaker.fermat.app/tool/extract-garment-546dd57b-d14f-463f-804d-744c977560ae)' tool.
   {% endstep %}

{% step %}

### Select a page

There are two pages, each with a specific purpose. These pages are:

* Extract garment from photoshoot
* Extract garment from sketch
  {% endstep %}

{% step %}

### Specify which garment to extract

{% hint style="info" %}
Example: sweater
{% endhint %}
{% endstep %}

{% step %}

### Choose the photoshoot image/ sketch

{% hint style="success" %}
Supported formats: JPEG, PNG, and WEBP
{% endhint %}
{% endstep %}

{% step %}

### Generate image

Click on the *'Generate'* button and let the AI process your inputs. In a few seconds, you will have your new design.

<figure><img src="https://2419988688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVR1BDoqmJbjltMHKIdui%2Fuploads%2F49fuctc7SYGJ4mAfV8ZC%2FCaptura%20de%20pantalla%202025-01-30%20a%20les%2011.39.01.png?alt=media&#x26;token=01a4c64f-2d7f-4d09-b00b-dea03ffaf17b" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

(tutorial)

### (Optional) Add extra details

You can provide extra details about the garment you want to extract to make sure the AI takes them into consideration.

{% hint style="info" %}
Example: The sweater is knitted and made of wool.
{% endhint %}

<figure><img src="https://2419988688-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVR1BDoqmJbjltMHKIdui%2Fuploads%2FGsQe2FZAGWoYPhoPHEKq%2Fextract%20garment.jpg?alt=media&#x26;token=fb8391d9-8a93-45c6-b2f5-fe4a5e55c52d" alt=""><figcaption></figcaption></figure>
