When i draw the "A" letter can i get that text after recognition for show in my custom UITEXTVIEW in iOS SDK?
to get the position of each word, you need to export as JIIX:
String JIIXExport = editor.export_(null, MimeType.JIIX);
For each word, you will then get the list of candidates and the bounding box (in mms):
"candidates": [ "hello", "bello", "felloe", "Tello", "tello" ],
Thanks for your response,
I have another one doubt "I want to get the positions of an each word (If i write the sentence "They are all good" - i want to get the position(coordinates(X,Y)) of an word "They","are","all" and "good"
I am not sure to understand. As stated above, we will detect one space, not several.
If this doesn't help, please provide with more explanation.
Thanks for you quick response.
Is there is any possible way to get that words with spaces too?
currently, if you write "many space", we will not detect the number of spaces that were added, as this would be difficult to interpret. Basically, we will return with one space.
I want to clear the one more doubt,If i write the letter "A" and i will give the 5 spaces and then i write the following letters.In this case i want to get the result with the spaces
Ex:if i write the following letters,
A______Script on this page.
Then i need the result was exact same string what i given with spaces(A_____Script on this page).
currently, you can refer to the "Content blocks" part of our documentation: https://developer.myscript.com/docs/interactive-ink/1.3/ios/fundamentals/editing/#content-blocks
Based on this:
-If you only have a single part (e.g. text), then you can set a null block
-If you have a text document with several part, then you shall get the block you wan to export, and provide it to the export function
Where i can get the content block for the following method?(Export my result)
editorViewController.editor.export_(<#T##block: IINKContentBlock?##IINKContentBlock?#>, mimeType: <#T##IINKMimeType#>)
currently, you can export your result: https://developer.myscript.com/docs/interactive-ink/1.3/ios/fundamentals/import-and-export/#exporting-content
In order to get the result as text, you should ensure to export it using the TEXT MimeType: http://cocoadocs.org/docsets/MyScriptInteractiveInk-Runtime/1.0.0/Classes/IINKEditor.html#//api/name/export_:mimeType:error:
Before exporting, ensure you call the waitForIdle function: https://developer-support.myscript.com/support/discussions/topics/16000022498