Considering this request body.
This request corresponds to the extraction and recognition of the text (as we can see because configuration.raw-content.recognition.types
is [“text”]) of the following ink, where the word “hello” is preceded by a drawing of a flower.
Following is the result for application/vnd.myscript.jiix
output.
You will notice that the word “hello” was extracted in a text
part and the strokes corresponding to the flower are grouped in a non-text
part.
{
"type": "Raw Content",
"bounding-box": {
"x": 62.2354164,
"y": 47.4187469,
"width": 100.160416,
"height": 27.4000015
},
"elements": [ {
"type": "Raw Content",
"kind": "non-text",
"id": "raw-content/14",
"bounding-box": {
"x": 62.2354164,
"y": 52.1812477,
"width": 30.3104134,
"height": 22.6375008
}
}, {
"id": "raw-content/17",
"type": "Text",
"bounding-box": {
"x": 106.42083,
"y": 47.4187469,
"width": 55.9749985,
"height": 18.4041672
},
"label": "hello",
"words": [ {
"label": "hello",
"candidates": [ "hello", "heleo", "helle", "kello", "hells" ],
"bounding-box": {
"x": 106.42083,
"y": 47.4187469,
"width": 55.9749985,
"height": 18.4041672
}
} ]
} ],
"id": "MainBlock",
"version": "3"
}