iink SDK on Device

Answered

如何把笔迹文件转文字

如果我之前已经使用了第三方的手写功能,并且已经采集到笔迹数据了,如果把现有的笔迹数据调用你们的接口来转换成文字呢,谢谢。


Best Answer

Dear Denny,


indeed, based on what you say, you should be able to process your existing ink samples, as a series of events: https://developer.myscript.com/docs/interactive-ink/1.3/android/fundamentals/editing/#series-of-events


For Android, you can refer to our "batch-mode" sample: https://github.com/MyScript/interactive-ink-additional-examples-android/tree/master/java/samples/batch-mode


Best regards,


Olivier


Dear Denny,


thank you for your question.


Currently, you did not mention if your existing handwriting data are images or strokes (x and y coordinates).


Indeed, the MyScript technology is not able to deal with images, but takes X and Y coordinates as input. You then understand that if you have x and y coordinates, then our technology should then be able to recognize your exiting data, otherwise it will not be.


Best regards,


Olivier

UPDATE:

Dear Olivier,
我这边的笔迹文件就是一堆x,y位置,每一笔都有很多的x,y来记录笔画经过的路径,我目前用到第三方的笔写,希望把采集到的数据通过你们的android客户端来解析成文本,
听你的意思是有这个能力的,麻烦告知在android客户端需要如何转换呢?
非常感谢。

Answer

Dear Denny,


indeed, based on what you say, you should be able to process your existing ink samples, as a series of events: https://developer.myscript.com/docs/interactive-ink/1.3/android/fundamentals/editing/#series-of-events


For Android, you can refer to our "batch-mode" sample: https://github.com/MyScript/interactive-ink-additional-examples-android/tree/master/java/samples/batch-mode


Best regards,


Olivier