Unplanned
Last Updated: 26 Jul 2021 14:05 by Fawad
Fawad
Created on: 19 Jul 2021 10:55
Category: UI for ASP.NET AJAX
Type: Feature Request
2
Handwriting to Text Conversion
It would be useful to add a functionality to existing Input control or create a new control which will allow users to use touch screen pen to write text. The control should automatically convert the handwriting into simple string text (NOT Image) using OCR or something else.
2 comments
Fawad
Posted on: 26 Jul 2021 14:05
It's just to let you know the solution mentioned in the links do not work, because those solutions are for images with recongised fonts. So these libraries don't seem to pickup handwriting.
ADMIN
Rumen
Posted on: 26 Jul 2021 09:23

Thank you for your feature request, Fawad! Your Telerik points were updated for it!

While this is more or less a request for a new .NET conversion library but not for an UI component, I would like to suggest the following workaround for the community:

 

You can use the drawing functionality of RadImageEditor to draw the handwriting text and convert the saved image to text using a third-party library as for example https://www.aspsnippets.com/Articles/Convert-Image-to-Text-in-ASPNet-using-C-and-VBNet.aspx. You can also configure the ImageEditor by loading a white background image as a canvas as well as firing the Pencil command to enable the Drawing mode of the control. After that you can hide the toolbar and the dialog with .rieToolBar, .rieDialogs { display: none !important } as shown below:


        <style>
            .rieToolBar, .rieDialogs { display: none !important }
        </style>
        <script>
            function OnClientLoad(imageEditor) {
                imageEditor.fire("Pencil");
            }
        </script>
        <telerik:RadImageEditor ID="RadImageEditor1" runat="server" ImageUrl="~/images/WhiteBackground.png"
            CanvasMode="Yes" OnClientLoad="OnClientLoad">
            <Tools>
                <telerik:ImageEditorToolGroup>
                    
                    <telerik:ImageEditorTool CommandName="Pencil"  />
                </telerik:ImageEditorToolGroup>
            </Tools>
        </telerik:RadImageEditor>

You can find more information on handwriting to text conversion at: