web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Clearing AI-builder ob...
Power Apps
Answered

Clearing AI-builder object detection output not working + unexpected object detector control output behavior

(0) ShareShare
ReportReport
Posted on by

Hello everyone, 

 

I'm trying to figure out why I can't get reset on Object Detection to work, and why my Object detector control adds empty rows to the GroupedResults on screen navigation even if I do not provide a picture for analysis. 

 

To begin with, my original issue is that whenever I go from the screen with the object detection control to the next screen (a simple screen with a gallery to show the output from the object detection control), it adds another record to the GroupedResults. This happens even if I do not take a photo or upload a picture using the object detection control. I have recreated the app twice and the behavior persists. 

 

First screen

StandardScreen.PNG

Second screen after clicking "Go to next screen" without using the control to detect a picture

Result1.PNG

Second screen after going back to the first screen and once again clicking "Go to next screen"

Result2.PNG

 

While the behavior above confuses me, for my purposes, my the end app design I have in mind would still work if I could clear the output from the model. It was suggested here https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Ability-to-clear-the-AI-Builder-Object-Detection-and-Card-Reader/idi-p/320674#M26990 that this is now possible. However, it does not work for me. Please see below. 

 

Second screen showing a reset statement on the OnSelect propery of the backwards arrow control

ResetButton.PNG

Second screen after having left it (using the arrow) and coming back to it

4th.PNG

 

(Regarding possible workarounds for my issue, my idea is basically to create a counting app, and if I cannot get the results in the gallery control for only those products that I had in my picture, my design does not work. I've looked at some tutorials and I believe other people might have solved this issue by using a First statement. However, this would not work for me as I need to scan a picture and retrieve counts for multiple products.) 

 

Do any of you know why the reset does not seem to work? And why the control seems to add empty records to the GroupedResults even when no picture is provided for analysis?

 

Thank you for your help

 

Best regards,

 

John 

 

 

 

 

 

 

 

 
 

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @JohnJohnB ,

     

    Yes, I can reproduce your issue that the GourpedResult is not cleared when the ObjectDetector1 is reset, it could be a bug that worth investigate further.

    However, If you want to get the output returned by ObjectDetector, please try to use ObjectDetector1.Results, which can be cleared properly when reset.

    For more reference: object detector component properties 

    Hope this helps.
    Sik

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 509 Most Valuable Professional

#2
Haque Profile Picture

Haque 302

#3
11manish Profile Picture

11manish 265

Last 30 days Overall leaderboard