cancel
Showing results for 
Search instead for 
Did you mean: 

Increase configuration options for TextRecognizer control

The TextRecognizer control is great and we have several options for changing the look and feel. However, some options can't be changed and this impacts usability, mainly because the button part of the control is very small on larger screens and hard to read and interact with. It would be very helpful to be able to configure the following:

 

  • To change the height of the button to take a picture
  • To change the font size of this button
  • To control whether the user can choose from stored images on their device or only take a picture from the device camera (same as Add Picture control)
  • To be able to remove the pill shaped button and use the whole coloured button area
  • To be able to invoke the take a picture behaviour from another control/button
  • To be able to hide the standard button on the control

It would also be helpful to expose a status property to tell if the user has taken a picture or not yet, or whether the picture was taken but contained no text, or where it was taken and text was found. At the moment you can't distinguish between a not-yet-taken state and a taken-but-no-text-found state.

 

Thanks!

James

Status: Featured

We have added, in preview mode, the ability to call Text Recognizer from the formula bar.

To do so, in the Canvas editor:

- Go to File\Settings

- In the Upcoming Features\Experimental, check AI models as data sources

- In the Data menu add the Text Recognition datasource

CedrickB_0-1627561802580.png

- Then you can use a formula like below to apply Text Recognition to for instance a standard Power Apps "Camera" or "Add images" control :
    'Text recognition (preview)'.Predict(UploadedImage1).responsev2.predictionOutput.results....

 

With this capability, you can leverage the customization capabilities of standard Power Apps control with Text Recognizer.

Comments
FastTrack
Kudo Collector

If Microsoft could fast track this:

  • To be able to invoke the take a picture behaviour from another control/button

then users could do workarounds for customization

 

 

And let users be able to select a default image source

  • To control whether the user can choose from stored images on their device or only take a picture from the device camera (same as Add Picture control)

Totally annoying for the users, who always have to take pictures with their phone

CedrickB
Power Apps
Status changed to: Planned

As discussed, we will make Text Recognizer model callable from the Power Apps formula bar.

That way you will be able to use the standard camera control and call PassportReader.Predict() in the OnSelect event.

This should solve the usability issue as it will require only one click to take the picture and get the results.

Alternativelly, you can bind this function to a standard Power Apps button which is totally customizable both in size and style.

CedrickB
Power Apps
Status changed to: Featured

We have added, in preview mode, the ability to call Text Recognizer from the formula bar.

To do so, in the Canvas editor:

- Go to File\Settings

- In the Upcoming Features\Experimental, check AI models as data sources

- In the Data menu add the Text Recognition datasource

CedrickB_0-1627561802580.png

- Then you can use a formula like below to apply Text Recognition to for instance a standard Power Apps "Camera" or "Add images" control :
    'Text recognition (preview)'.Predict(UploadedImage1).responsev2.predictionOutput.results....

 

With this capability, you can leverage the customization capabilities of standard Power Apps control with Text Recognizer.