> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/roboflow/roboflow-hi/annotate/ai-labeling/enhanced-smart-polygon-with-sam.md).

# Smart Polygon

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

Roboflow, द्वारा संचालित Smart Polygon अनुभव प्रदान करता है [Segment Anything (SAM)](https://blog.roboflow.com/segment-anything-breakdown/)एक अत्याधुनिक image segmentation model। 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 के बाहर क्लिक करके initial mask को interactively edit कर सकते हैं ताकि mask expand हो जाए, या mask के अंदर उस हिस्से पर क्लिक करें जहाँ उसमें आपके desired object से अधिक शामिल हो गया हो।

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

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.roboflow.com/roboflow/roboflow-hi/annotate/ai-labeling/enhanced-smart-polygon-with-sam.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
