> For the complete documentation index, see [llms.txt](https://docs.multiset.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.multiset.ai/unity-sdk/ar-foundation/sample-scenes/single-frame-localization.md).

# Single Frame Localization

The single frame localization sample scene, for a fast response of roughly 3 seconds when maximum accuracy is not required.

Single Frame Localization scene is a fundamental demonstration of how the platform performs localization within a mapped environment. This scene provides developers with a clear visualization of the SDK's core components. It showcases essential SDK prefabs, including the MultiSet SDK Manager which handles authentication, and the Map Localization Manager which manages the localization process.

This scene uses a single camera frame to localize against the map, ideal for situations where you want a quick response from localization API (\~3 seconds) and don't require precise accuracy

<figure><img src="https://3163433004-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FokTDI7QVY04Zvb1pQ8Ry%2Fuploads%2Fwn0uGbMBRhGlRZeIBIUU%2FScreenshot%202025-08-08%20at%2011.05.32%E2%80%AFPM.png?alt=media&amp;token=95c250cd-c6bf-4e74-8ebc-fc8d853f7c7d" alt="" width="449"><figcaption></figcaption></figure>

\
[**SingleFrameLocalization**](/unity-sdk/ar-foundation/api-reference/singleframelocalizationmanager.md) is the primary script for the scene. Check out the details API Reference [here](/unity-sdk/ar-foundation/api-reference/singleframelocalizationmanager.md).\
\
**Auto Localize**: Automatic start localization at the start of the AR session

**Relocalization**: Trigger Localization request when AR session tracking is lost/limited; also trigger localization when the app comes from background.

**Confidence Check:** Enable this option to add a filter on localization response, higher confidence value will result in better accuracy but may reduce the number of successful localization attempts.

**Confidence Threshold**: if Confidence Check if enabled this.\ <br>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.multiset.ai/unity-sdk/ar-foundation/sample-scenes/single-frame-localization.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
