cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

AI Builder object detection

Hello,

 

I built a powerapp using AI Builder for object detection, which was quite simple. The scenario is to take a picture of an item and if the ai recognizes the item give the user some details about it. For that case I have a screen with an object detector control and a gallery. The items property of the gallery is "ObjectDetector1.VisionObjects", where ObjectDetector is the name of the control. Now running the app in a webbrowser, everything works just fine. The gallery shows all items from my entity and after detecting some items on a picture also shows the count. Now running the same app on a device the object detection works but the gallery stays empty. I tried three different devices, two mobile phones and a tablet, always with the same result. May be someone encountered that problem already and can help me?

 

Thanks

Dominik 

3 REPLIES 3
Community Support
Community Support

Hi @dominik1 ,

Which device do you use to run your canvas app? Android device or iOS device?

Which version is the PowerApps Mobile App in your Mobile device?

 

Based on the issue that you mentioned, I have made a test, and the issue is confirmed on my side. In addition, I also save the ObjectDetector1.VisionObjects formula result into a Collection, and bind the Gallery Items property to the collection, the Gallery would still display blank records.

 

But if I bind the above collection to a Data Table control, the detected object records could be displayed well in my app. As an alternative solution, please consider add a Data Table control within your app to display the detected object records.3.JPG

 

4.JPG

Add a Button within your app, rename it as "Analyze Objects", set the OnSelect property to following:

ClearCollect(DetectionRecords, ObjectDetector1.VisionObjects)

Add a Data Table control in your app, set the Items property to following:

DetectionRecords

then enabled corresponding fields within the Data Table.

 

I would also post this issue to my product team, if this issue is solved, I would reply here. As an temporary solution, please consider take a try with above alternative solution I provided to solved your problem.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello,

 

I am using an Android device with version 9 and PowerApps version 3.19081.19

 

thanks for your support. Your solution works, but does not help me. I would like to show some details of the recognized item on a second screen, therefore I need  the name from "VisionObjets" to filter my items. I tried to navigate from data table record to the second screens detail form and use (Datatable1.Selected.Name). Unfortunately the data table does not return any value.

 

Again  it works in browser version but not with the app.

 

Kind regards

Dominik

Hello @dominik1 

 

Thanks for reaching out !

 

This is a known issue and the product team is currently working on resolving it.

 

Sorry for the inconvience !

 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Kudoed Authors
Users online (7,697)