Text

My Script is not return the correct bounding box of the words !

 Hello I have submitted a strokes data using the rest api with jiix format response

as i see the bounding box is not correct because it does not differ if i write the same word twice with differentiate size

could i can retrieve the correct bounding box from myscript correctly ?


Dear Safwan,


thank you for contacting us.


The reason is that the data returned in the JIIX is in milimeters, while you provide with coordinates in pixels.


I recommend you refer to the following post, that explains how to proceed: https://developer-support.myscript.com/support/discussions/topics/16000030188


Best regards,


Olivier

Thank for your reply

I had played with the configuration and i am able to get the bounding box and the strokes

but it seems the timestamp is wrong i mean the "T" list

also does the "X","Y" match the one I sent in the request ?

image



Dear Safwan,


currently, the "T" property corresponds to the time offset of the different points of the stroke in ms relatively to the timestamp of the stroke, ordered from pointer down to pointer up: https://developer.myscript.com/docs/interactive-ink/1.4/reference/web/jiix/#stroke-item


It is then likely the content of your JIIX export is correct.


Best regards,


Olivier

Thanks

  • Support
  • Forums
  • Text
  • My Script is not return the correct bounding box of the words !