iink SDK on Device

Answered

MimeType 定义的类型都支持导入和导出吗?

1、请问com.myscript.iink.MimeType 定义的类型,都支持editor.import_和editor.export_吗?

2、请问有没有支持图片ocr识别的api呢?就是给一张图片,识别图片中的文字,文字的x和y,MimeType等信息。


Best Answer

Dear Denny,


thank you for your questions. To answer these:

1-Indeed, the editor has import and export functions. We recommend you refer  to the corresponding part of the documentation, that should answer most of your questions: https://developer.myscript.com/docs/interactive-ink/1.3/android/fundamentals/import-and-export/

We also insist on importing JIIX, which is fairly limited and can only be used to update the label of the target word with another word from the candidates list: https://developer.myscript.com/docs/interactive-ink/1.3/android/fundamentals/import-and-export/#text-jiix-import


Also, please note we have functions that give the supported Import and Export MimeTypes:

-https://developer.myscript.com/refguides/interactive-ink/android/1.3/com/myscript/iink/Editor.html#getSupportedImportMimeTypes-com.myscript.iink.ContentBlock-

-https://developer.myscript.com/refguides/interactive-ink/android/1.3/com/myscript/iink/Editor.html#getSupportedExportMimeTypes-com.myscript.iink.ContentBlock-


2-No, the MyScript technology cannot recognize scanned images but only digital ink (x and y coordinates) that can be gotten for example from a digital pen or a touchscreen.


Best regards,


Olivier

1 Comment

Answer

Dear Denny,


thank you for your questions. To answer these:

1-Indeed, the editor has import and export functions. We recommend you refer  to the corresponding part of the documentation, that should answer most of your questions: https://developer.myscript.com/docs/interactive-ink/1.3/android/fundamentals/import-and-export/

We also insist on importing JIIX, which is fairly limited and can only be used to update the label of the target word with another word from the candidates list: https://developer.myscript.com/docs/interactive-ink/1.3/android/fundamentals/import-and-export/#text-jiix-import


Also, please note we have functions that give the supported Import and Export MimeTypes:

-https://developer.myscript.com/refguides/interactive-ink/android/1.3/com/myscript/iink/Editor.html#getSupportedImportMimeTypes-com.myscript.iink.ContentBlock-

-https://developer.myscript.com/refguides/interactive-ink/android/1.3/com/myscript/iink/Editor.html#getSupportedExportMimeTypes-com.myscript.iink.ContentBlock-


2-No, the MyScript technology cannot recognize scanned images but only digital ink (x and y coordinates) that can be gotten for example from a digital pen or a touchscreen.


Best regards,


Olivier