iink SDK on Device

Answered

[Swift] Plain string result for recognized text

Hi,

I have tested the demo from github and liked it, but I have one question and maybe I just did not notice the important line in the sample.

As far as I understood in "InputView.mm" the touches with it's points are detected and handed over to your engine for recognition, but then it's also drawn/displayed by your framework. 

My question is if it is possible to simply get an callback or something similar (e.g. via delegate) which just contains the plain recognized string as a result. I want to do my own visualization so for me the plain string would be what I need. Sadly any cloud option is not an option as it has to be able to run in airplane mode, that's why I'm interested in your API.

Thank you


Best Answer

Dear Florian,


currently, if you want to get only a plain text result, you should call the export function with TEXT MimeType: http://cocoadocs.org/docsets/MyScriptInteractiveInk-Runtime/1.0.0/Classes/IINKEditor.html#//api/name/export_:mimeType:error:


Best regards,


Olivier

1 Comment

Answer

Dear Florian,


currently, if you want to get only a plain text result, you should call the export function with TEXT MimeType: http://cocoadocs.org/docsets/MyScriptInteractiveInk-Runtime/1.0.0/Classes/IINKEditor.html#//api/name/export_:mimeType:error:


Best regards,


Olivier