# Smart Polygon

{% hint style="info" %}
Smart Polygon कई में से एक है [AI Labeling](/roboflow/roboflow-hi/annotate/ai-labeling.md) फीचर्स में से एक है। इस फीचर का उपयोग करने से [credits](/roboflow/roboflow-hi/billing/credits.md) हमारी सूचीबद्ध दरों पर [credits page](https://roboflow.com/credits).
{% endhint %}

Roboflow एक Smart Polygon अनुभव प्रदान करता है, जो द्वारा संचालित है [Segment Anything (SAM)](https://blog.roboflow.com/segment-anything-breakdown/), एक अत्याधुनिक image segmentation मॉडल। SAM का उपयोग करने के लिए, annotation tool sidebar से Roboflow Annotate में Smart Polygon सक्षम करें:

<figure><img src="https://lh3.googleusercontent.com/CddPzMPkYVHhe2IWrGIs6VlVmbTtwcAU1-1duKdTj03cKQTxwwSIGEp4xOffbJrxH_hzkJiZz_b4l6G1qE_lH-wl6LTe5JVn8jne7ZVRzd2YeJ2ymVeeNA8nd7tozKjCt6qDpOPO4_ljM_PwgT5Xw48" alt="" height="217" width="234"><figcaption></figcaption></figure>

पॉप-अप से "Enhanced" चुनें, जो पूछता है कि आप किस Smart Polygon mode को सक्षम करना चाहते हैं:

<figure><img src="https://blog.roboflow.com/content/images/2023/04/Screenshot-2023-04-13-at-9.18.59-AM-1.png" alt="" width="375"><figcaption></figcaption></figure>

अब Smart Polygon browser में SAM चला रहा है। आप देखेंगे कि आप objects पर hover कर सकते हैं और उस mask का preview देख सकते हैं जो आपके initial click के साथ generate होगा। ये previews समय बचाने में मदद करते हैं क्योंकि आप उन्हें apply करने से पहले masks देख सकते हैं और image में navigate करके बनाने के लिए सबसे अच्छा initial mask ढूँढ सकते हैं.

{% embed url="<https://blog.roboflow.com/content/media/2023/04/Untitled--9-.mp4>" %}

जब आप एक initial mask बनाते हैं, तो आप अपने polygon की complexity चुन सकेंगे (अंतर देखने के लिए इनके बीच toggle करें!) और फिर Enter दबाकर initial mask स्वीकार करें.

आप mask के बाहर click करके initial mask को interactively edit कर सकते हैं, ताकि mask को expand किया जा सके, या mask के अंदर click कर सकते हैं जहाँ उसने आपके desired object से अधिक शामिल कर लिया हो.

{% embed url="<https://blog.roboflow.com/content/media/2023/04/Untitled--15-.mp4>" %}

बड़े objects के लिए या ऐसे objects के लिए जहाँ masks एक click में ठीक से नहीं बनते, आप click करके drag कर सकते हैं और पूरे object के चारों ओर एक box बना सकते हैं। आप जिस method का उपयोग करते हैं वह आपके data पर निर्भर करता है, इसलिए experiment करें कि आपके लिए क्या सबसे अच्छा काम करता है.


---

# 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.roboflow.com/roboflow/roboflow-hi/annotate/ai-labeling/enhanced-smart-polygon-with-sam.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.
