Site icon Anj Cerbolles

AI Builder Object Detection and Mixed Reality Play Together

Ever since the preview days of AI Builder, I’ve been an enthusiast of creating AI-powered apps – much like my passion for diving into Mixed Reality. The evolution of these technologies continues to fuel my personal and professional excitement, as I eagerly anticipate their integration into our everyday experiences. It’s fascinating and fulfilling that you could build an application and flow using AI and Mixed Reality in Power Platform without code.  

After finishing up the AI Skills Challenge, which introduces you to AI Builder, build and train the models, and use the model in your Power Apps and Power Automate. Three years back, I built an app with two preview features. Today, those features have flourished into essential elements of modern software. This journey underscores the importance of embracing change and fuels my enthusiasm for continued innovation. Here is how it works.

Business Scenario:

As we are into buying online, you wanted spare parts for your toy collection. By uploading the image, you can see if they have the item, and you can interact with the item you want to buy. 

Explore the collection with AI Builder and Mixed Reality.

How it works:

I used AI Builder: Object Detection and Mixed Reality in this application. AI Builder Object detection is a custom AI model. It provides object recognition capabilities. You need to train this model and have a premium license. Mixed Reality component in Power Apps to view the object using 3D. This component does not need a premium license.

How I build it:

I’m going to show you how I build it. Let’s start with the AI Builder Object detection.

Object Detection

In the app, I selected the Common objects as my object is not a brand logo or on the retail shelves.

You can do a quick test with your model or train more if you think the performance is below what you expected. It means you need to upload more images and train your model again.

If you’re satisfied, we will use the model in our app.

Use the model in Power Apps:

I used Microsoft Lists to store the TagId, Images, Name of the collection, and Object Name. Each item has a .GLB file for my 3D object, which I will use in our app. The name of my list is Product Details.

The TagId is a unique id from the Object Detection model that the object uses. We will use this to display the 3D object to the app and other properties we need from an item.

Now we are done setting up our Object detector and querying the data from the list. We will now set up the Mixed Reality component to display the 3D object in the app.

In the 3D object source settings, set this function below:

This function will query the attached .GLB file in the Product Details list item.

Save it and publish your app! 🙂

Summary

MY ENTHUSIASM FOR CRAFTING AI-POWERED APPS HAS ONLY GROWN from AI Builder’s early preview to my ongoing journey with Mixed Reality. Building AI and Mixed Reality within Power Platform, all without writing a single line of code. Welcome to the future of innovation! 🙂

Reference

Exit mobile version