> For the complete documentation index, see [llms.txt](https://annotate-docs.dwaste.live/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://annotate-docs.dwaste.live/example/auto-bounding-box-selection-with-segment-anything-model-sam.md).

# Auto Bounding Box Selection with Segment Anything Model (SAM)

Selection of bounding box automatically is made possible with the[Segment Anything Model (SAM)](https://segment-anything.com/) . One can toggle this feature from the configuration of server and client. When enabled, a wand icon will appear in the toolbar. Clicking the wand icon will initiate auto-annotation and display the results

<figure><img src="/files/nPA2f1t3GszUFEeBJt2L" alt=""><figcaption><p>Auto Bounding Box Selection</p></figcaption></figure>

The result of the above auto bouding box selection is shown below.

<figure><img src="/files/QPhYmHXianIuskBxNF0y" alt=""><figcaption><p>Auto Annotation Result.</p></figcaption></figure>

{% hint style="warning" %}
Annotation times may vary depending on the machine and processing power. The server will take some time to boot on the initial run as it downloads the model file. Subsequent runs will use the already downloaded file, reducing the startup time.
{% endhint %}
