# How to detect objects from images?

To start creating your AI model for your app, sign in to [Power Apps](https://powerapps.microsoft.com/?WT.mc_id=aiml-8438-ayyonet) and click on AI Builder on the left hand menu. Select Object Detection from the "Refine Model for your business needs" option.

![Build Object Detection on Power Apps - AI Builder](/files/-MJStcj87_izrmnaOyWl)

Name your new AI model with a unique name. Select Common Objects and proceed to next section.

![Train your custom model screen for Object Detection](/files/-MJSuZFHwymoNdegXpuG)

Name the objects that you are going to detect.&#x20;

![Name each objects to be detected](/files/-MJSwI5YEXivo7S56r_j)

Upload images that contain the object you will detect. To start with you can upload **15 images for each object**.&#x20;

![Training image format and size for object detection](/files/-MJ0dWdrN-Yeg5H7Pvd4)

Make sure each object has approximately the same amount of images tagged. If you have more examples of one object, the training data will be likely to detect that object when it is not.&#x20;

![False positive HoloLens 2 detection](/files/-MJQLV3ReiOOXynSn17X)

Tag your objects by selecting a square that your object is in and choosing the name of the object.&#x20;

![Tagging objects](/files/-MJSyyi8JFROQYxrv0nm)

Once you are done choose Done Tagging and Train. Training process will take some time.

![You can choose to not use images after you upload and tag them.](/files/-MJT-7p9JsQWDQBTkxH_)

&#x20;If you choose to not use an image or clear any tags, you can do that at any time by going back to your **model** under the **AI Builder** on the left hand side menu and  choose your model and choose edit.&#x20;

AI Builder will give you a Performance score over 100 and a way to quickly test your model before publishing. You can edit your models and retrain to improve your performance. Next section will give you some best practices to improve your performance.&#x20;

![Performance score of trained model](/files/-MJT6EjqBhkHPRXa4wFv)


---

# 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://www.xrdev.app/mixed-reality-docs/ai-lessons/fundamental-ai-concepts/project/how-to-create-an-application-with-ai-whiteout-coding/image-detection.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.
