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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Multiple Object detect...
Power Apps
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:
I have the same question (0)
  • Ashbhatia Profile Picture
    Moderator on at

    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?

  • JorgeLeigh Profile Picture
    18 on at

    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

  • Verified answer
    CedrickB Profile Picture
    Moderator on at

    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

    @CedrickB thank you so much!

    It nicely worked!

    I have marked it as a solution :).

    All the best!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard