Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - AI Builder
Answered

Multiple Object detection how to assign labels

(0) ShareShare
ReportReport
Posted on by 18

Hi everyone!

I have a problem.

I have deployed an Object Detection Model that can predict 3 different classes.
Everything works just fine. The problem is that when I have let´s say more than 3 objects in the picture, I see the different prediction bounding boxes in the picture, but when I want to evaluate the prediction confidence, I do not know to which object refers to. In order to solve it, I would need a number next to the label on the picture and on the prediction list, so I can link each object to its own prediction. 

I hope I made myself clear.

And I wish there is a solution.

All the best!

 

Jorge

Categories:
  • JorgeLeigh Profile Picture
    18 on at
    Re: Multiple Object detection how to assign labels

    @CedrickB thank you so much!

    It nicely worked!

    I have marked it as a solution :).

    All the best!

  • Verified answer
    CedrickB Profile Picture
    Moderator on at
    Re: Multiple Object detection how to assign labels

    Here is what you can do

    - First set the property ShowBoundingBoxes of the ObjectDetector component to false, so we hide the default bounding boxes.

    - Then, add the BoundingBox column to your result table and set the property Visible of this column to false.

    - Last, insert a Rectangle component that will serve as our dynamic bounding box display and set the properties to 

    Height=DataTable1.Selected.BoundingBox.Height*(ObjectDetector1.Height)
    Width=DataTable1.Selected.BoundingBox.Width*ObjectDetector1.Width
    X=DataTable1.Selected.BoundingBox.Left*ObjectDetector1.Width+ObjectDetector1.X
    Y=DataTable1.Selected.BoundingBox.Top*ObjectDetector1.Height+ObjectDetector1.Y

    With DataTable1 being you result table.

    Now each time you will select a row in your table, the rectangle will appropriately show up on the image.

  • JorgeLeigh Profile Picture
    18 on at
    Re: Multiple Object detection how to assign labels

    Hi Ashbhatia! Let me sent you a screenshot. 

    As you can see, I have two visible labels, and in outcome table I have the label prediction plus its probability. But how can I know to which bounding box the first 10-30% prediction with confidence 0.8358768 belongs to? The same with the below 40-70%, I do not know to which image they represent the probability. Basically I am missing the link between the prediction and the picture. I went through the documentation but I could not find any related information. 
    I hope I made myself clear and looking forward to your comments.

    Thanks in advance!

     

    Jorge

  • Ashbhatia Profile Picture
    Moderator on at
    Re: Multiple Object detection how to assign labels

    Hi Jorge,

     

    Interesting problem and ask. Are the objects too close to each other that you can't identify the object and its prediction? Would it be possible to send a screen shot?

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1