cancel
Showing results for 
Search instead for 
Did you mean: 

Ability to clear the AI Builder Object Detection and Card Reader controls

Object Detection and Business Card Reader controls on a canvas PowerApp.  Once the app has taken a picture I cannot figure out how to reset the controls so that they do not hold a picture or any of it's properties. i.e. I want to be able to reset the control back to its original state.

 

This is related to the following post

https://powerusers.microsoft.com/t5/General-Discussion/Clear-the-image-and-current-properties-for-th...

 

Status: Completed

Hello @HSheild@AleixRuizSor  and @SalamDaher,

 

I'm glad to announce this feature is now available in Power Apps.
You can clear the AI builder components images and data by calling the function Reset(YourAIBuilderComponentName).

 

Thanks for posting your ideas! Keep them coming 🙂

 

Alana

Comments
Regular Visitor

Must have for a clean and friendly UX with Business Card Reader apps.

Power Apps
Status changed to: Planned
 
Regular Visitor

any updates on this issue we need to be able to reset the business card reader values and properties.

Power Apps
Status changed to: Completed

Hello @HSheild@AleixRuizSor  and @SalamDaher,

 

I'm glad to announce this feature is now available in Power Apps.
You can clear the AI builder components images and data by calling the function Reset(YourAIBuilderComponentName).

 

Thanks for posting your ideas! Keep them coming 🙂

 

Alana

Awesome, thanks @alana 

Regular Visitor

i have tested back this just now and still cant make it work.

i have the Reset(BusinessCardReader1) place on the OnVisible of the first page of the canvas app and when i go back to that page the control is not reset.

i also put the reset on the back button and when i go to the first page it is still not reset.

i know that because when i check with an if statement if the cleaned image is clear its still returning it has a value and same for all properties of the reader.

am i missing something?

 

Regular Visitor

@HSheild and @alana  have you checked again what i highlighted in my previous comment?

Power Apps

Hi @SalamDaher ,

 

There is indeed a bug on the Reset functionality of Business Card Reader.
The reset is working for all AI builder components, but it seems there is an issue when we reset the output properties of the Business Card Reader.
We are working on this issue. I will let you know when the fix is available to all environments.
Thanks,
Alana