HI Guys,
I finally figured out how to call a custom image classifier using the custom vision service ive made directly from PowerApps. Im using the following formula to do it
ClearCollect(PredictionOutcome,CustomVision.PredictImag("c56044c48086xx464595d6f28xxecc596axxb",UploadedImage4.Image))
this brings the results back from the API in a collection called prediction outcome, the prediction results are nested in a table within it.
My problem is i cant drill into the table to surface the values in a standard data table, i just see "[object object]," repeatedly separated by commas...is there a solution out there ? ....many thanks for your help
Hi @Anonymous
You should be able to display the Predictions for the first PredictionOutput record by setting the items property of your data table to:
First(PredictionOutcome).Predictions
hi @timl,
thanks that works great for the item tag or the probability but I need to show both, is it possible to extend your solution to multiple fields ..currently i've got two data tables next to each other
Hi @Anonymous
I'm afraid I don't quite follow what you mean about two data tables next to each other. Do you not get something that looks like this?
Hi @Anonymous thanks for posting this thread. Can you review the latest reply and advise? Thanks!
@Anonymous
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
201 | |
180 | |
62 | |
32 | |
30 |
User | Count |
---|---|
324 | |
268 | |
104 | |
74 | |
56 |