-Once you have the bounding, you can then know if a stroke belongs to this bouding box.
Please note: while exporting in JIIX, we return with coordinates in millimeters, while you provide with pixels. To get the correspondance, you shall use the Transform:
-Once you have the bounding, you can then know if a stroke belongs to this bouding box.
Please note: while exporting in JIIX, we return with coordinates in millimeters, while you provide with pixels. To get the correspondance, you shall use the Transform:
Huang Wentai
1. I will record every line segment that I pass to the editor.
2. I export the jiix file and get the item information in jiix.
3. How do I get the correspondence between the recorded line segment information and the item information exported by jiix?
Dear Huang Wentai,
thank you for contacting us and your question.
Currently, you can proceed as follows:
-You export as JIIX
-For each word, you will have the Bounding box:
"label": "hello",
"candidates": [ "hello", "Hello", "bello", "hella", "Lello" ],
"first-char": 0,
"last-char": 4,
"bounding-box": {
"x": 3.8356676,
"y": 15.042492,
"width": 18.823879,
"height": 8.3437576
}
-Once you have the bounding, you can then know if a stroke belongs to this bouding box.
Please note: while exporting in JIIX, we return with coordinates in millimeters, while you provide with pixels. To get the correspondance, you shall use the Transform:
-https://developer.myscript.com/refguides/interactive-ink/android/1.3/com/myscript/iink/graphics/Transform.html
-https://developer-support.myscript.com/support/discussions/topics/16000025669
Best regards,
Olivier
Olivier @MyScript
Dear Huang Wentai,
thank you for contacting us and your question.
Currently, you can proceed as follows:
-You export as JIIX
-For each word, you will have the Bounding box:
"label": "hello",
"candidates": [ "hello", "Hello", "bello", "hella", "Lello" ],
"first-char": 0,
"last-char": 4,
"bounding-box": {
"x": 3.8356676,
"y": 15.042492,
"width": 18.823879,
"height": 8.3437576
}
-Once you have the bounding, you can then know if a stroke belongs to this bouding box.
Please note: while exporting in JIIX, we return with coordinates in millimeters, while you provide with pixels. To get the correspondance, you shall use the Transform:
-https://developer.myscript.com/refguides/interactive-ink/android/1.3/com/myscript/iink/graphics/Transform.html
-https://developer-support.myscript.com/support/discussions/topics/16000025669
Best regards,
Olivier