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.
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
- 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.