Text

Answered

Swagger API is giving wrong output

I have written SOCKS in notepad but swagger api is returning so ... I thought I am missing something but don't know what was it. This is my full request. I am computing hmac properly. 


curl -X POST \

  https://cloud.myscript.com/api/v4.0/iink/batch \

  -H 'Accept: application/vnd.myscript.jiix,application/json' \

  -H 'Cache-Control: no-cache' \

  -H 'Content-Type: application/json' \

  -H 'Postman-Token: 0108cb7a-ba6e-4cf7-9434-d48ce15a8ba3' \

  -H 'applicationKey:application key' \

  -H 'hmac: f9fa71c50e71b30dc369f803ae7850b79661a7a25bb62dbf48b263785873a18dbb3e12777e3aabab72f62bb1ae1886454a0ff05d808d84d8cd07991190197cf0' \

  -d '{"configuration":{"text":{"guides":{"enable":true},"smartGuide":true,"smartGuideFadeOut":{"enable":false,"duration":10000},"mimeTypes":["text/plain","application/vnd.myscript.jiix"],"margin":{"top":20,"left":10,"right":10}},"lang":"en_US","export":{"image-resolution":300,"jiix":{"bounding-box":false,"strokes":false,"text":{"chars":false,"words":true}}}},"xDPI":96,"yDPI":96,"contentType":"Text","theme":"ink {\ncolor: #000000;\n-myscript-pen-width: 1;\n-myscript-pen-fill-style: none;\n-myscript-pen-fill-color: #FFFFFF00;\n}\n.math {\nfont-family: STIXGeneral;\n}\n.math-solved {\nfont-family: STIXGeneral;\ncolor: #A8A8A8FF;\n}\n.text {\nfont-family: Open Sans;\nfont-size: 10;\n}\n","strokeGroups":[{"strokes":[{"x":[69.5999984741211,69.58999633789062,69.5999984741211,69.62999725341797,69.66999816894531,69.7699966430664,69.98999786376953,70.37000274658203,70.37000274658203],"y":[42.709999084472656,42.66999816894531,42.65999984741211,42.63999938964844,42.540000915527344,42.369998931884766,42.119998931884766,41.90999984741211,41.90999984741211],"t":[1569316273467,1569316273475,1569316273482,1569316273512,1569316273535,1569316273542,1569316273550,1569316273557,1569316273593]},{"x":[77.16000366210938,77.1500015258789,77.11000061035156,77.0999984741211,77.08000183105469,77.06999969482422,77.05999755859375,77.04000091552734,77.02999877929688,77.0199966430664,77.01000213623047,76.9800033569336,76.97000122070312,76.95999908447266,76.95999908447266,76.97000122070312,76.9800033569336,76.98999786376953,77.01000213623047,77.0999984741211,77.81999969482422,78.5199966430664,78.5999984741211,78.62999725341797,78.61000061035156,78.5999984741211,78.5999984741211],"y":[42.529998779296875,42.56999969482422,42.630001068115234,42.63999938964844,42.63999938964844,42.650001525878906,42.65999984741211,42.65999984741211,42.66999816894531,42.66999816894531,42.689998626708984,42.709999084472656,42.720001220703125,42.72999954223633,42.72999954223633,42.72999954223633,42.720001220703125,42.720001220703125,42.70000076293945,42.66999816894531,42.5,42.38999938964844,42.380001068115234,42.36000061035156,42.31999969482422,42.2400016784668,42.2400016784668],"t":[1569321109490,1569321109498,1569321109513,1569321109520,1569321109528,1569321109535,1569321109543,1569321109550,1569321109558,1569321109573,1569321109618,1569321109640,1569321109647,1569321109655,1569321109662,1569321109670,1569321109678,1569321109685,1569321109693,1569321109708,1569321109730,1569321109753,1569321109760,1569321109768,1569321109790,1569321109798,1569321109864]},{"x":[76.86000061035156,76.83999633789062,76.83000183105469,76.83000183105469,76.81999969482422,76.83000183105469,76.83999633789062,76.81999969482422,76.80999755859375,76.91999816894531],"y":[42.869998931884766,42.88999938964844,42.880001068115234,42.849998474121094,42.81999969482422,42.79999923706055,42.779998779296875,42.7599983215332,42.689998626708984,42.560001373291016],"t":[1569321082597,1569321082604,1569321082612,1569321082627,1569321082642,1569321082664,1569321082679,1569321082724,1569321082754,1569321082797]},{"x":[77.75,77.73999786376953,77.75,77.72000122070312,77.69000244140625,77.66000366210938],"y":[42.689998626708984,42.66999816894531,42.65999984741211,42.650001525878906,42.630001068115234,42.58000183105469],"t":[1569321096454,1569321096462,1569321096469,1569321096499,1569321096559,1569321096601]},{"x":[56.52000045776367,56.560001373291016,56.599998474121094,56.79999923706055,56.900001525878906,57,57.06999969482422,57.119998931884766,57.119998931884766,57.11000061035156,57.09000015258789,57.060001373291016,56.88999938964844,56.47999954223633,56.08000183105469,55.970001220703125,55.900001525878906,55.91999816894531,55.959999084472656,56.08000183105469,57.099998474121094,57.22999954223633,57.310001373291016,57.34000015258789,57.34000015258789,57.310001373291016,57.22999954223633,57.119998931884766,56.959999084472656,56.290000915527344,55.810001373291016,55.7400016784668,55.720001220703125,55.720001220703125],"y":[40.7599983215332,40.7400016784668,40.709999084472656,40.630001068115234,40.599998474121094,40.560001373291016,40.529998779296875,40.459999084472656,40.439998626708984,40.41999816894531,40.40999984741211,40.400001525878906,40.380001068115234,40.47999954223633,40.65999984741211,40.7400016784668,40.84000015258789,40.880001068115234,40.90999984741211,40.959999084472656,41.220001220703125,41.29999923706055,41.380001068115234,41.470001220703125,41.540000915527344,41.599998474121094,41.689998626708984,41.77000045776367,41.84000015258789,41.97999954223633,41.97999954223633,41.95000076293945,41.90999984741211,41.90999984741211],"t":[1569324283265,1569324283273,1569324283280,1569324283303,1569324283310,1569324283318,1569324283325,1569324283332,1569324283340,1569324283347,1569324283355,1569324283362,1569324283377,1569324283392,1569324283407,1569324283415,1569324283430,1569324283437,1569324283445,1569324283452,1569324283490,1569324283497,1569324283505,1569324283512,1569324283520,1569324283527,1569324283535,1569324283542,1569324283550,1569324283572,1569324283595,1569324283602,1569324283610,1569324283653]},{"x":[58.45000076293945,58.439998626708984,58.41999816894531,58.38999938964844,58.349998474121094,58.29999923706055,58.20000076293945,58.150001525878906,58.11000061035156,57.970001220703125,57.90999984741211,57.849998474121094,57.900001525878906,57.95000076293945,58.029998779296875,58.16999816894531,58.349998474121094,58.529998779296875,58.689998626708984,58.81999969482422,58.900001525878906,58.95000076293945,58.91999816894531,58.7599983215332,58.63999938964844,58.5099983215332,58.22999954223633,58.150001525878906,58.150001525878906,58.220001220703125,58.220001220703125],"y":[41.18000030517578,41.18000030517578,41.15999984741211,41.13999938964844,41.04999923706055,41.11000061035156,41.11000061035156,41.130001068115234,41.15999984741211,41.310001373291016,41.38999938964844,41.52000045776367,41.7400016784668,41.810001373291016,41.869998931884766,41.88999938964844,41.869998931884766,41.810001373291016,41.720001220703125,41.619998931884766,41.52000045776367,41.33000183105469,41.25,41.130001068115234,41.11000061035156,41.11000061035156,41.18000030517578,41.22999954223633,41.27000045776367,41.310001373291016,41.310001373291016],"t":[1569324283754,1569324283762,1569324283769,1569324283777,1569324283784,1569324283792,1569324283807,1569324283814,1569324283822,1569324283837,1569324283844,1569324283859,1569324283874,1569324283882,1569324283889,1569324283897,1569324283904,1569324283912,1569324283919,1569324283927,1569324283934,1569324283949,1569324283957,1569324283972,1569324283979,1569324283987,1569324284002,1569324284009,1569324284017,1569324284024,1569324284059]},{"x":[60.22999954223633,60.18000030517578,60.11000061035156,60.029998779296875,59.93000030517578,59.79999923706055,59.65999984741211,59.61000061035156,59.599998474121094,59.61000061035156,59.650001525878906,59.709999084472656,59.84000015258789,60.040000915527344,60.27000045776367,60.459999084472656,60.61000061035156,60.70000076293945,60.77000045776367,60.84000015258789,60.83000183105469,60.79999923706055,60.77000045776367,60.7400016784668,60.709999084472656,60.689998626708984,60.70000076293945,60.70000076293945,60.709999084472656,60.720001220703125,60.779998779296875,60.81999969482422,60.79999923706055,60.779998779296875,60.7599983215332,60.7599983215332],"y":[41.060001373291016,41.04999923706055,41.02000045776367,41.0099983215332,41.029998779296875,41.130001068115234,41.369998931884766,41.5,41.65999984741211,41.77000045776367,41.849998474121094,41.88999938964844,41.90999984741211,41.900001525878906,41.81999969482422,41.72999954223633,41.619998931884766,41.5,41.369998931884766,41.11000061035156,40.9900016784668,40.88999938964844,40.79999923706055,40.720001220703125,40.68000030517578,40.65999984741211,40.72999954223633,40.66999816894531,40.689998626708984,40.72999954223633,40.869998931884766,41.279998779296875,41.72999954223633,41.869998931884766,41.97999954223633,41.97999954223633],"t":[1569324284129,1569324284136,1569324284144,1569324284151,1569324284159,1569324284174,1569324284189,1569324284196,1569324284204,1569324284211,1569324284219,1569324284226,1569324284234,1569324284241,1569324284249,1569324284256,1569324284264,1569324284271,1569324284279,1569324284294,1569324284301,1569324284309,1569324284316,1569324284324,1569324284331,1569324284339,1569324284346,1569324284354,1569324284361,1569324284369,1569324284384,1569324284406,1569324284429,1569324284436,1569324284444,1569324284483]}]}],"height":101.30000305175781,"width":143.25999450683594,"conversionState":"DIGITAL_EDIT"}'


Best Answer

Dear Kunjeti Aswarthmaiah Gupta,


currently, there is nothing magic in our solution, we recognize the x and y coordinates that are provided to our Cloud.

In the latest request, here is what is sent:


I surrounded the end of "truck", as there are indeed some weird strokes.


These are likely to come from your pen, when getting the strokes. In your application, how are doing your display? Indeed, it is puzzling the strokes you send to our CDK differ from what you render.


Meanwhile, I recommend you see with your device manufacturer what may be the cause of the added strokes, as this is likely to return with the above results (S added at the end of truck).


On our side, not much can be done.


Best regards,


Olivier



Dear Kunjeti Aswarthmaiah Gupta,


thank you for your question and the request, which helped understand the issue you are facing.


Currently, referring to the ink, it seems there is an issue with your device, as the ink seems to not being properly captured:


You should check with your device manufacturer to see what may be the issue.


Best regards,


Olivier

Hi olivier,

       But in my device I am able to see same text in app but while using api it is giving wrong I think I am missing something. This is my latest request. I have written truck and it is giving t.u.k .


curl -X POST \

  https://cloud.myscript.com/api/v4.0/iink/batch \

  -H 'Cache-Control: no-cache' \

  -H 'Postman-Token: 1e295e4a-692a-4b09-9805-97198cf96fdd' \

  -H 'accept: application/json,application/vnd.myscript.jiix' \

  -H 'accept-encoding: gzip, deflate, br' \

  -H 'accept-language: en-US,en;q=0.9' \

  -H 'applicationkey: applicationkey' \

  -H 'authority: cloud.myscript.com' \

  -H 'content-type: application/json' \

  -H 'cookie: _ga=GA1.2.1426416712.1568361466; _gid=GA1.2.1582642353.1568617729; AWSALB=aUkJRvf80Hf6LJwhUOAuB2Hlts+Eh+JdTAUsNNI++OUscVB9heRJ4CwH6gBGn8qWD2QwKCse/9I0Z7sln58xa6gNGBOGkQZtuJ1tBR4JSMzW64UkLrcnijLTre7d; JSESSIONID=1AC671B5A7F57437E42C1634B2583AA4' \

  -H 'dnt: 1' \

  -H 'hmac: fc931e57bda300f7069d6c5edd9f1199470adbc9535bf5580852fc7a5a2d2c5699668b8a5bc49cc71d1208672281b49a3bc65a04d9a3d01bb663cc9dbe239a74' \

  -H 'origin: https://cloud.myscript.com' \

  -H 'referer: https://cloud.myscript.com/' \

  -H 'sec-fetch-mode: cors' \

  -H 'sec-fetch-site: same-origin' \

  -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36' \

  -b '_ga=GA1.2.1426416712.1568361466; _gid=GA1.2.1582642353.1568617729; AWSALB=aUkJRvf80Hf6LJwhUOAuB2Hlts+Eh+JdTAUsNNI++OUscVB9heRJ4CwH6gBGn8qWD2QwKCse/9I0Z7sln58xa6gNGBOGkQZtuJ1tBR4JSMzW64UkLrcnijLTre7d; JSESSIONID=1AC671B5A7F57437E42C1634B2583AA4' \

  -d '{"configuration":{"text":{"guides":{"enable":true},"smartGuide":true,"smartGuideFadeOut":{"enable":false,"duration":10000},"mimeTypes":["text/plain","application/vnd.myscript.jiix"],"margin":{"top":20,"left":10,"right":10}},"lang":"en_US","export":{"image-resolution":300,"jiix":{"bounding-box":false,"strokes":false,"text":{"chars":false,"words":true}}}},"xDPI":96,"yDPI":96,"contentType":"Text","theme":"ink {\ncolor: #000000;\n-myscript-pen-width: 1;\n-myscript-pen-fill-style: none;\n-myscript-pen-fill-color: #FFFFFF00;\n}\n.math {\nfont-family: STIXGeneral;\n}\n.math-solved {\nfont-family: STIXGeneral;\ncolor: #A8A8A8FF;\n}\n.text {\nfont-family: Open Sans;\nfont-size: 10;\n}\n","strokeGroups":[{"strokes":[{"x":[73.68000030517578,73.62999725341797,73.55999755859375,73.5199966430664,73.48999786376953,73.47000122070312,73.43000030517578,73.4000015258789,73.44999694824219,76.31999969482422,76.23999786376953,76.05999755859375,75.37999725341797,75.01000213623047,74.69000244140625,74.44999694824219,74.31999969482422,74.31999969482422],"y":[89.45999908447266,89.44000244140625,89.43000030517578,89.41999816894531,89.41000366210938,89.4000015258789,89.37999725341797,89.37999725341797,89.41000366210938,89.4000015258789,89.38999938964844,89.37999725341797,89.3499984741211,89.33000183105469,89.30999755859375,89.31999969482422,89.37000274658203,89.37000274658203],"t":[1569424453900,1569424453907,1569424453915,1569424453922,1569424453930,1569424453937,1569424453952,1569424453967,1569424453990,1569424454057,1569424454064,1569424454072,1569424454087,1569424454094,1569424454102,1569424454109,1569424454117,1569424454165]},{"x":[74.44000244140625,74.48999786376953,74.55000305175781,74.58000183105469,74.62000274658203,74.6500015258789,74.66000366210938,74.69000244140625,74.72000122070312,74.75,74.76000213623047,74.76000213623047,74.73999786376953,74.73999786376953],"y":[89.4800033569336,89.4800033569336,89.4800033569336,89.45999908447266,89.44000244140625,89.41999816894531,89.41000366210938,89.4000015258789,89.37999725341797,89.36000061035156,89.37000274658203,89.37000274658203,89.37000274658203,89.37000274658203],"t":[1569424454166,1569424454173,1569424454181,1569424454188,1569424454196,1569424454203,1569424454211,1569424454218,1569424454226,1569424454241,1569424454398,1569424454406,1569424454413,1569424454447]},{"x":[75.08000183105469,75.1500015258789,75.20999908447266,75.26000213623047,75.30000305175781,75.30999755859375,75.31999969482422,75.30000305175781,75.27999877929688,75.2300033569336,75.13999938964844,75.08000183105469,74.94999694824219,74.91999816894531,74.91000366210938,74.94999694824219,74.9800033569336,74.98999786376953,74.98999786376953],"y":[88.63999938964844,88.58000183105469,88.5199966430664,88.47000122070312,88.43000030517578,88.4000015258789,88.37999725341797,88.4000015258789,88.43000030517578,88.61000061035156,89.0199966430664,89.30999755859375,89.8499984741211,90.33000183105469,90.5,90.77999877929688,90.83000183105469,90.83000183105469,90.83000183105469],"t":[1569424454749,1569424454757,1569424454764,1569424454772,1569424454779,1569424454787,1569424454802,1569424454832,1569424454839,1569424454854,1569424454861,1569424454869,1569424454884,1569424454899,1569424454906,1569424454921,1569424454929,1569424454937,1569424454984]},{"x":[75.6500015258789,75.61000061035156,75.61000061035156,75.5999984741211,75.58999633789062,75.5999984741211,75.69999694824219,75.79000091552734,75.93000030517578,76.11000061035156,76.6500015258789,76.66000366210938,76.62999725341797,76.31999969482422,76.26000213623047,76.2300033569336,76.20999908447266,76.22000122070312,76.31999969482422,76.44999694824219,76.7300033569336,76.7300033569336],"y":[90.43000030517578,90.37000274658203,90.33000183105469,90.30999755859375,90.27999877929688,90.25,90.18000030517578,90.1500015258789,90.13999938964844,90.18000030517578,90.54000091552734,90.75,90.81999969482422,91.01000213623047,91,90.97000122070312,90.91999816894531,90.83999633789062,90.56999969482422,90.44000244140625,90.23999786376953,90.23999786376953],"t":[1569424455246,1569424455253,1569424455261,1569424455268,1569424455276,1569424455283,1569424455290,1569424455298,1569424455305,1569424455313,1569424455320,1569424455327,1569424455335,1569424455342,1569424455350,1569424455357,1569424455365,1569424455372,1569424455379,1569424455387,1569424455395,1569424455599]},{"x":[77.41999816894531,77.4000015258789,77.4000015258789,77.41999816894531,77.43000030517578,77.44000244140625,77.43000030517578,77.44000244140625,77.37999725341797,77.4000015258789,77.43000030517578,77.4800033569336,77.54000091552734,77.62999725341797,77.87000274658203,78.04000091552734,78.25,78.33000183105469,78.33999633789062,78.30000305175781,78.27999877929688,78.27999877929688,78.29000091552734,78.30999755859375,78.30999755859375],"y":[90.05000305175781,89.94000244140625,89.94000244140625,89.94000244140625,89.93000030517578,89.94999694824219,89.9800033569336,90.16999816894531,90.52999877929688,90.83999633789062,90.94999694824219,91.02999877929688,91.08000183105469,91.08999633789062,90.94000244140625,90.80000305175781,90.5,90.33999633789062,90.37999725341797,90.5,90.61000061035156,90.66999816894531,90.70999908447266,90.72000122070312,90.72000122070312],"t":[1569424455614,1569424455636,1569424455644,1569424455652,1569424455659,1569424455666,1569424455674,1569424455689,1569424455704,1569424455719,1569424455727,1569424455734,1569424455742,1569424455749,1569424455764,1569424455772,1569424455787,1569424455794,1569424455802,1569424455809,1569424455817,1569424455824,1569424455832,1569424455839,1569424456209]},{"x":[79.58999633789062,79.62999725341797,79.69999694824219,79.70999908447266,79.69999694824219,79.66999816894531,79.52999877929688,79.41000366210938,79.33000183105469,79.37000274658203,79.41999816894531,79.48999786376953,80.12000274658203,80.41999816894531,80.62999725341797,80.75,80.79000091552734,80.79000091552734,80.76000213623047,80.77999877929688,80.79000091552734,80.80999755859375,80.80999755859375,80.80000305175781,80.80000305175781,80.79000091552734,80.80000305175781,80.80000305175781,80.70999908447266,80.70999908447266],"y":[90.12999725341797,90.0199966430664,89.83999633789062,89.80000305175781,89.77999877929688,89.79000091552734,89.95999908447266,90.19999694824219,90.5199966430664,90.70999908447266,90.77999877929688,90.83999633789062,90.70999908447266,90.55000305175781,90.3499984741211,90.16999816894531,90.01000213623047,89.87000274658203,89.70999908447266,89.54000091552734,89.4000015258789,89.2699966430664,89.18000030517578,89.11000061035156,89.02999877929688,89.05000305175781,89.12000274658203,89.27999877929688,90.18000030517578,90.73999786376953],"t":[1569424456209,1569424456217,1569424456225,1569424456232,1569424456240,1569424456262,1569424456285,1569424456300,1569424456315,1569424456322,1569424456330,1569424456337,1569424456345,1569424456352,1569424456360,1569424456367,1569424456375,1569424456382,1569424456390,1569424456397,1569424456405,1569424456412,1569424456420,1569424456427,1569424456442,1569424456480,1569424456495,1569424456510,1569424456547,1569424456551]},{"x":[81.66000366210938,81.70999908447266,81.75,80.62999725341797,81.7699966430664,80.63999938964844,80.66000366210938,80.70999908447266,81.75,81.58999633789062,81.3499984741211,81.1500015258789,81.12999725341797,81.12999725341797,81.1500015258789,81.22000122070312,81.2300033569336,81.23999786376953,81.2699966430664,81.29000091552734,81.86000061035156,82.48999786376953,82.56999969482422,82.58999633789062,82.61000061035156,82.62999725341797,82.66000366210938,82.69000244140625,82.69000244140625,82.66999816894531,82.68000030517578,82.66999816894531,81.51000213623047,81.4800033569336,81.47000122070312,81.47000122070312,81.44999694824219,81.44000244140625,81.31999969482422,81.27999877929688,81.23999786376953,81.22000122070312,81.18000030517578,81.11000061035156,81.08000183105469,81.01000213623047,80.94000244140625,80.97000122070312,80.97000122070312,80.94000244140625,80.91999816894531,80.88999938964844,80.87999725341797,80.87999725341797,80.9000015258789,80.9000015258789,80.91999816894531,80.94000244140625,80.9800033569336,81.0199966430664,81.23999786376953,81.47000122070312,81.47000122070312],"y":[89.7300033569336,89.66999816894531,89.62999725341797,90.68000030517578,89.62000274658203,90.7699966430664,90.77999877929688,90.73999786376953,89.66999816894531,89.95999908447266,90.25,90.44000244140625,90.51000213623047,90.4800033569336,90.44000244140625,90.33000183105469,90.29000091552734,90.2699966430664,90.27999877929688,90.30999755859375,90.80000305175781,91.1500015258789,91.19999694824219,91.1500015258789,91.12999725341797,91.08999633789062,91.05000305175781,90.9800033569336,90.94000244140625,90.88999938964844,90.91999816894531,90.88999938964844,90.11000061035156,90.08999633789062,90.08999633789062,90.08999633789062,90.0999984741211,90.12000274658203,90.27999877929688,90.30999755859375,90.3499984741211,90.37999725341797,90.41999816894531,90.51000213623047,90.58000183105469,90.58000183105469,90.63999938964844,90.5999984741211,90.56999969482422,90.56999969482422,90.55999755859375,90.52999877929688,90.55000305175781,90.5199966430664,90.5199966430664,90.54000091552734,90.5199966430664,90.5199966430664,90.58000183105469,90.55000305175781,90.56999969482422,90.56999969482422,90.56999969482422],"t":[1569424456551,1569424456559,1569424456566,1569424456570,1569424456574,1569424456577,1569424456585,1569424456592,1569424456596,1569424456619,1569424456634,1569424456649,1569424456656,1569424456664,1569424456686,1569424456701,1569424456709,1569424456716,1569424456754,1569424456761,1569424456791,1569424456821,1569424456829,1569424456836,1569424456844,1569424456851,1569424456859,1569424456874,1569424456896,1569424456927,1569424456941,1569424456949,1569424457356,1569424457364,1569424457371,1569424457379,1569424457386,1569424457394,1569424457424,1569424457431,1569424457439,1569424457446,1569424457454,1569424457469,1569424457476,1569424457484,1569424457499,1569424457544,1569424457574,1569424457604,1569424457679,1569424457702,1569424457709,1569424457717,1569424457769,1569424457799,1569424457867,1569424457882,1569424457912,1569424457919,1569424457934,1569424457942,1569424457976]}]}],"height":101.30000305175781,"width":143.25999450683594,"conversionState":"DIGITAL_EDIT"}'

Dear Kunjeti Aswarthmaiah Gupta,


Currently, it seems there are 2 issues.

The first one which is the ink quality, as some strokes are added by your device while they should not (see in the red circle):


The second one which is the resolution that is not properly set. Indeed, based on the tests I did, it seems it shall be set to 10 DPI instead of 96 (the resolution shall be the one of your input device). In your request body, ensure it is set as follows: ..."xDPI":10,"yDPI":10,"contentType":"Text" ...


Best regards,


Olivier

Thanks for the confirmation on resolution part. Actually I have another issue If I hitting api from postman it is giving response in text but from node js it is giving some unexpected text. I have changed resolution to 10 now in postman it is giving trucks and from node it is giving ŖM��0����(���x̱��z�[��

                     D��P@���u�Zp!�

5�`�w���Gy�Dqsڹxů���/^(����T�ٺ�CY�k�}��'Q���,���yڸ>t0��<��U{����k�ϛN{��譿M޸�o�E���i��'k�|��&��ZKran�#���B1��c��$=HY��)o�IV��k�(nδ"��嬞�*5SFq�z�

���;� 2���\�\5�Bf$J��w>������]���t6��p=gĹM�Y�E����%�K+��p��X�(�9.��

�f�Yq��RZ �8���b�L�T�

         Y30�p!�BB��i���di,Wd��9�Q@�~bb��P_#Fa|}� ���&��)��u,��C�ĭ �b��R�2��`�Lv7�e<� �$

I have written as truck

This is the latest payload 

curl -X POST \

  https://cloud.myscript.com/api/v4.0/iink/batch \

  -H 'Cache-Control: no-cache' \

  -H 'Postman-Token: 05382a74-17a5-4158-9ef0-bbcbcfa8088e' \

  -H 'accept: application/json,application/vnd.myscript.jiix' \

  -H 'accept-encoding: gzip, deflate, br' \

  -H 'accept-language: en-US,en;q=0.9' \

  -H 'applicationkey: applicationkey' \

  -H 'authority: cloud.myscript.com' \

  -H 'content-type: application/json' \

  -H 'cookie: _ga=GA1.2.1426416712.1568361466; _gid=GA1.2.1582642353.1568617729; AWSALB=aUkJRvf80Hf6LJwhUOAuB2Hlts+Eh+JdTAUsNNI++OUscVB9heRJ4CwH6gBGn8qWD2QwKCse/9I0Z7sln58xa6gNGBOGkQZtuJ1tBR4JSMzW64UkLrcnijLTre7d; JSESSIONID=1AC671B5A7F57437E42C1634B2583AA4' \

  -H 'dnt: 1' \

  -H 'hmac: 23633115ae17b7ddc7b7c74541db485874a6e2acd51c5439a0ee04e868412c1ebee009190a4bdcf0eb00d245e5df84f2dfd7d8714363c871b92d51089a02c1bf' \

  -H 'origin: https://cloud.myscript.com' \

  -H 'referer: https://cloud.myscript.com/' \

  -H 'sec-fetch-mode: cors' \

  -H 'sec-fetch-site: same-origin' \

  -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36' \

  -b '_ga=GA1.2.1426416712.1568361466; _gid=GA1.2.1582642353.1568617729; AWSALB=aUkJRvf80Hf6LJwhUOAuB2Hlts+Eh+JdTAUsNNI++OUscVB9heRJ4CwH6gBGn8qWD2QwKCse/9I0Z7sln58xa6gNGBOGkQZtuJ1tBR4JSMzW64UkLrcnijLTre7d; JSESSIONID=1AC671B5A7F57437E42C1634B2583AA4' \

  -d '{"configuration":{"text":{"guides":{"enable":true},"smartGuide":true,"smartGuideFadeOut":{"enable":false,"duration":10000},"mimeTypes":["text/plain","application/vnd.myscript.jiix"],"margin":{"top":20,"left":10,"right":10}},"lang":"en_US","export":{"image-resolution":300,"jiix":{"bounding-box":false,"strokes":false,"text":{"chars":false,"words":true}}}},"xDPI":10,"yDPI":10,"contentType":"Text","theme":"ink {\ncolor: #000000;\n-myscript-pen-width: 1;\n-myscript-pen-fill-style: none;\n-myscript-pen-fill-color: #FFFFFF00;\n}\n.math {\nfont-family: STIXGeneral;\n}\n.math-solved {\nfont-family: STIXGeneral;\ncolor: #A8A8A8FF;\n}\n.text {\nfont-family: Open Sans;\nfont-size: 10;\n}\n","strokeGroups":[{"strokes":[{"x":[73.68000030517578,73.62999725341797,73.55999755859375,73.5199966430664,73.48999786376953,73.47000122070312,73.43000030517578,73.4000015258789,73.44999694824219,76.31999969482422,76.23999786376953,76.05999755859375,75.37999725341797,75.01000213623047,74.69000244140625,74.44999694824219,74.31999969482422,74.31999969482422],"y":[89.45999908447266,89.44000244140625,89.43000030517578,89.41999816894531,89.41000366210938,89.4000015258789,89.37999725341797,89.37999725341797,89.41000366210938,89.4000015258789,89.38999938964844,89.37999725341797,89.3499984741211,89.33000183105469,89.30999755859375,89.31999969482422,89.37000274658203,89.37000274658203],"t":[1569424453900,1569424453907,1569424453915,1569424453922,1569424453930,1569424453937,1569424453952,1569424453967,1569424453990,1569424454057,1569424454064,1569424454072,1569424454087,1569424454094,1569424454102,1569424454109,1569424454117,1569424454165]},{"x":[74.44000244140625,74.48999786376953,74.55000305175781,74.58000183105469,74.62000274658203,74.6500015258789,74.66000366210938,74.69000244140625,74.72000122070312,74.75,74.76000213623047,74.76000213623047,74.73999786376953,74.73999786376953],"y":[89.4800033569336,89.4800033569336,89.4800033569336,89.45999908447266,89.44000244140625,89.41999816894531,89.41000366210938,89.4000015258789,89.37999725341797,89.36000061035156,89.37000274658203,89.37000274658203,89.37000274658203,89.37000274658203],"t":[1569424454166,1569424454173,1569424454181,1569424454188,1569424454196,1569424454203,1569424454211,1569424454218,1569424454226,1569424454241,1569424454398,1569424454406,1569424454413,1569424454447]},{"x":[75.08000183105469,75.1500015258789,75.20999908447266,75.26000213623047,75.30000305175781,75.30999755859375,75.31999969482422,75.30000305175781,75.27999877929688,75.2300033569336,75.13999938964844,75.08000183105469,74.94999694824219,74.91999816894531,74.91000366210938,74.94999694824219,74.9800033569336,74.98999786376953,74.98999786376953],"y":[88.63999938964844,88.58000183105469,88.5199966430664,88.47000122070312,88.43000030517578,88.4000015258789,88.37999725341797,88.4000015258789,88.43000030517578,88.61000061035156,89.0199966430664,89.30999755859375,89.8499984741211,90.33000183105469,90.5,90.77999877929688,90.83000183105469,90.83000183105469,90.83000183105469],"t":[1569424454749,1569424454757,1569424454764,1569424454772,1569424454779,1569424454787,1569424454802,1569424454832,1569424454839,1569424454854,1569424454861,1569424454869,1569424454884,1569424454899,1569424454906,1569424454921,1569424454929,1569424454937,1569424454984]},{"x":[75.6500015258789,75.61000061035156,75.61000061035156,75.5999984741211,75.58999633789062,75.5999984741211,75.69999694824219,75.79000091552734,75.93000030517578,76.11000061035156,76.6500015258789,76.66000366210938,76.62999725341797,76.31999969482422,76.26000213623047,76.2300033569336,76.20999908447266,76.22000122070312,76.31999969482422,76.44999694824219,76.7300033569336,76.7300033569336],"y":[90.43000030517578,90.37000274658203,90.33000183105469,90.30999755859375,90.27999877929688,90.25,90.18000030517578,90.1500015258789,90.13999938964844,90.18000030517578,90.54000091552734,90.75,90.81999969482422,91.01000213623047,91,90.97000122070312,90.91999816894531,90.83999633789062,90.56999969482422,90.44000244140625,90.23999786376953,90.23999786376953],"t":[1569424455246,1569424455253,1569424455261,1569424455268,1569424455276,1569424455283,1569424455290,1569424455298,1569424455305,1569424455313,1569424455320,1569424455327,1569424455335,1569424455342,1569424455350,1569424455357,1569424455365,1569424455372,1569424455379,1569424455387,1569424455395,1569424455599]},{"x":[77.41999816894531,77.4000015258789,77.4000015258789,77.41999816894531,77.43000030517578,77.44000244140625,77.43000030517578,77.44000244140625,77.37999725341797,77.4000015258789,77.43000030517578,77.4800033569336,77.54000091552734,77.62999725341797,77.87000274658203,78.04000091552734,78.25,78.33000183105469,78.33999633789062,78.30000305175781,78.27999877929688,78.27999877929688,78.29000091552734,78.30999755859375,78.30999755859375],"y":[90.05000305175781,89.94000244140625,89.94000244140625,89.94000244140625,89.93000030517578,89.94999694824219,89.9800033569336,90.16999816894531,90.52999877929688,90.83999633789062,90.94999694824219,91.02999877929688,91.08000183105469,91.08999633789062,90.94000244140625,90.80000305175781,90.5,90.33999633789062,90.37999725341797,90.5,90.61000061035156,90.66999816894531,90.70999908447266,90.72000122070312,90.72000122070312],"t":[1569424455614,1569424455636,1569424455644,1569424455652,1569424455659,1569424455666,1569424455674,1569424455689,1569424455704,1569424455719,1569424455727,1569424455734,1569424455742,1569424455749,1569424455764,1569424455772,1569424455787,1569424455794,1569424455802,1569424455809,1569424455817,1569424455824,1569424455832,1569424455839,1569424456209]},{"x":[79.58999633789062,79.62999725341797,79.69999694824219,79.70999908447266,79.69999694824219,79.66999816894531,79.52999877929688,79.41000366210938,79.33000183105469,79.37000274658203,79.41999816894531,79.48999786376953,80.12000274658203,80.41999816894531,80.62999725341797,80.75,80.79000091552734,80.79000091552734,80.76000213623047,80.77999877929688,80.79000091552734,80.80999755859375,80.80999755859375,80.80000305175781,80.80000305175781,80.79000091552734,80.80000305175781,80.80000305175781,80.70999908447266,80.70999908447266],"y":[90.12999725341797,90.0199966430664,89.83999633789062,89.80000305175781,89.77999877929688,89.79000091552734,89.95999908447266,90.19999694824219,90.5199966430664,90.70999908447266,90.77999877929688,90.83999633789062,90.70999908447266,90.55000305175781,90.3499984741211,90.16999816894531,90.01000213623047,89.87000274658203,89.70999908447266,89.54000091552734,89.4000015258789,89.2699966430664,89.18000030517578,89.11000061035156,89.02999877929688,89.05000305175781,89.12000274658203,89.27999877929688,90.18000030517578,90.73999786376953],"t":[1569424456209,1569424456217,1569424456225,1569424456232,1569424456240,1569424456262,1569424456285,1569424456300,1569424456315,1569424456322,1569424456330,1569424456337,1569424456345,1569424456352,1569424456360,1569424456367,1569424456375,1569424456382,1569424456390,1569424456397,1569424456405,1569424456412,1569424456420,1569424456427,1569424456442,1569424456480,1569424456495,1569424456510,1569424456547,1569424456551]},{"x":[81.66000366210938,81.70999908447266,81.75,80.62999725341797,81.7699966430664,80.63999938964844,80.66000366210938,80.70999908447266,81.75,81.58999633789062,81.3499984741211,81.1500015258789,81.12999725341797,81.12999725341797,81.1500015258789,81.22000122070312,81.2300033569336,81.23999786376953,81.2699966430664,81.29000091552734,81.86000061035156,82.48999786376953,82.56999969482422,82.58999633789062,82.61000061035156,82.62999725341797,82.66000366210938,82.69000244140625,82.69000244140625,82.66999816894531,82.68000030517578,82.66999816894531,81.51000213623047,81.4800033569336,81.47000122070312,81.47000122070312,81.44999694824219,81.44000244140625,81.31999969482422,81.27999877929688,81.23999786376953,81.22000122070312,81.18000030517578,81.11000061035156,81.08000183105469,81.01000213623047,80.94000244140625,80.97000122070312,80.97000122070312,80.94000244140625,80.91999816894531,80.88999938964844,80.87999725341797,80.87999725341797,80.9000015258789,80.9000015258789,80.91999816894531,80.94000244140625,80.9800033569336,81.0199966430664,81.23999786376953,81.47000122070312,81.47000122070312],"y":[89.7300033569336,89.66999816894531,89.62999725341797,90.68000030517578,89.62000274658203,90.7699966430664,90.77999877929688,90.73999786376953,89.66999816894531,89.95999908447266,90.25,90.44000244140625,90.51000213623047,90.4800033569336,90.44000244140625,90.33000183105469,90.29000091552734,90.2699966430664,90.27999877929688,90.30999755859375,90.80000305175781,91.1500015258789,91.19999694824219,91.1500015258789,91.12999725341797,91.08999633789062,91.05000305175781,90.9800033569336,90.94000244140625,90.88999938964844,90.91999816894531,90.88999938964844,90.11000061035156,90.08999633789062,90.08999633789062,90.08999633789062,90.0999984741211,90.12000274658203,90.27999877929688,90.30999755859375,90.3499984741211,90.37999725341797,90.41999816894531,90.51000213623047,90.58000183105469,90.58000183105469,90.63999938964844,90.5999984741211,90.56999969482422,90.56999969482422,90.55999755859375,90.52999877929688,90.55000305175781,90.5199966430664,90.5199966430664,90.54000091552734,90.5199966430664,90.5199966430664,90.58000183105469,90.55000305175781,90.56999969482422,90.56999969482422,90.56999969482422],"t":[1569424456551,1569424456559,1569424456566,1569424456570,1569424456574,1569424456577,1569424456585,1569424456592,1569424456596,1569424456619,1569424456634,1569424456649,1569424456656,1569424456664,1569424456686,1569424456701,1569424456709,1569424456716,1569424456754,1569424456761,1569424456791,1569424456821,1569424456829,1569424456836,1569424456844,1569424456851,1569424456859,1569424456874,1569424456896,1569424456927,1569424456941,1569424456949,1569424457356,1569424457364,1569424457371,1569424457379,1569424457386,1569424457394,1569424457424,1569424457431,1569424457439,1569424457446,1569424457454,1569424457469,1569424457476,1569424457484,1569424457499,1569424457544,1569424457574,1569424457604,1569424457679,1569424457702,1569424457709,1569424457717,1569424457769,1569424457799,1569424457867,1569424457882,1569424457912,1569424457919,1569424457934,1569424457942,1569424457976]}]}],"height":101.30000305175781,"width":143.25999450683594,"conversionState":"DIGITAL_EDIT"}'






Dear Kunjeti Aswarthmaiah Gupta,


Can you please try to replace -H 'accept: application/json,application/vnd.myscript.jiix' by -H 'accept: text/plain' ?


Thank you,


Best regards,


Olivier



Hi Olivier,

             In my device it is showing truck only but in swagger api I am getting trucks. If something is wrong with letters it should be wrong answer but I don't know how s added in the word. I am attaching Image and Full request.


curl -X POST \

  https://cloud.myscript.com/api/v4.0/iink/batch \

  -H 'Cache-Control: no-cache' \

  -H 'Content-Type: application/json' \

  -H 'Postman-Token: c976a88e-bdf0-4c11-824a-57dda15f0d83' \

  -H 'accept: text/plain' \

  -H 'accept-encoding: gzip, deflate, br' \

  -H 'accept-language: en-US,en;q=0.9' \

  -H 'applicationkey: apikey' \

  -H 'authority: cloud.myscript.com' \

  -H 'cookie: _ga=GA1.2.1426416712.1568361466; _gid=GA1.2.1582642353.1568617729; AWSALB=aUkJRvf80Hf6LJwhUOAuB2Hlts+Eh+JdTAUsNNI++OUscVB9heRJ4CwH6gBGn8qWD2QwKCse/9I0Z7sln58xa6gNGBOGkQZtuJ1tBR4JSMzW64UkLrcnijLTre7d; JSESSIONID=1AC671B5A7F57437E42C1634B2583AA4' \

  -H 'dnt: 1' \

  -H 'hmac: 23633115ae17b7ddc7b7c74541db485874a6e2acd51c5439a0ee04e868412c1ebee009190a4bdcf0eb00d245e5df84f2dfd7d8714363c871b92d51089a02c1bf' \

  -H 'origin: https://cloud.myscript.com' \

  -H 'referer: https://cloud.myscript.com/' \

  -H 'sec-fetch-mode: cors' \

  -H 'sec-fetch-site: same-origin' \

  -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36' \

  -b '_ga=GA1.2.1426416712.1568361466; _gid=GA1.2.1582642353.1568617729; AWSALB=aUkJRvf80Hf6LJwhUOAuB2Hlts+Eh+JdTAUsNNI++OUscVB9heRJ4CwH6gBGn8qWD2QwKCse/9I0Z7sln58xa6gNGBOGkQZtuJ1tBR4JSMzW64UkLrcnijLTre7d; JSESSIONID=1AC671B5A7F57437E42C1634B2583AA4' \

  -d '{"configuration":{"text":{"guides":{"enable":true},"smartGuide":true,"smartGuideFadeOut":{"enable":false,"duration":10000},"mimeTypes":["text/plain","application/vnd.myscript.jiix"],"margin":{"top":20,"left":10,"right":10}},"lang":"en_US","export":{"image-resolution":300,"jiix":{"bounding-box":false,"strokes":false,"text":{"chars":false,"words":true}}}},"xDPI":10,"yDPI":10,"contentType":"Text","theme":"ink {\ncolor: #000000;\n-myscript-pen-width: 1;\n-myscript-pen-fill-style: none;\n-myscript-pen-fill-color: #FFFFFF00;\n}\n.math {\nfont-family: STIXGeneral;\n}\n.math-solved {\nfont-family: STIXGeneral;\ncolor: #A8A8A8FF;\n}\n.text {\nfont-family: Open Sans;\nfont-size: 10;\n}\n","strokeGroups":[{"strokes":[{"x":[73.68000030517578,73.62999725341797,73.55999755859375,73.5199966430664,73.48999786376953,73.47000122070312,73.43000030517578,73.4000015258789,73.44999694824219,76.31999969482422,76.23999786376953,76.05999755859375,75.37999725341797,75.01000213623047,74.69000244140625,74.44999694824219,74.31999969482422,74.31999969482422],"y":[89.45999908447266,89.44000244140625,89.43000030517578,89.41999816894531,89.41000366210938,89.4000015258789,89.37999725341797,89.37999725341797,89.41000366210938,89.4000015258789,89.38999938964844,89.37999725341797,89.3499984741211,89.33000183105469,89.30999755859375,89.31999969482422,89.37000274658203,89.37000274658203],"t":[1569424453900,1569424453907,1569424453915,1569424453922,1569424453930,1569424453937,1569424453952,1569424453967,1569424453990,1569424454057,1569424454064,1569424454072,1569424454087,1569424454094,1569424454102,1569424454109,1569424454117,1569424454165]},{"x":[74.44000244140625,74.48999786376953,74.55000305175781,74.58000183105469,74.62000274658203,74.6500015258789,74.66000366210938,74.69000244140625,74.72000122070312,74.75,74.76000213623047,74.76000213623047,74.73999786376953,74.73999786376953],"y":[89.4800033569336,89.4800033569336,89.4800033569336,89.45999908447266,89.44000244140625,89.41999816894531,89.41000366210938,89.4000015258789,89.37999725341797,89.36000061035156,89.37000274658203,89.37000274658203,89.37000274658203,89.37000274658203],"t":[1569424454166,1569424454173,1569424454181,1569424454188,1569424454196,1569424454203,1569424454211,1569424454218,1569424454226,1569424454241,1569424454398,1569424454406,1569424454413,1569424454447]},{"x":[75.08000183105469,75.1500015258789,75.20999908447266,75.26000213623047,75.30000305175781,75.30999755859375,75.31999969482422,75.30000305175781,75.27999877929688,75.2300033569336,75.13999938964844,75.08000183105469,74.94999694824219,74.91999816894531,74.91000366210938,74.94999694824219,74.9800033569336,74.98999786376953,74.98999786376953],"y":[88.63999938964844,88.58000183105469,88.5199966430664,88.47000122070312,88.43000030517578,88.4000015258789,88.37999725341797,88.4000015258789,88.43000030517578,88.61000061035156,89.0199966430664,89.30999755859375,89.8499984741211,90.33000183105469,90.5,90.77999877929688,90.83000183105469,90.83000183105469,90.83000183105469],"t":[1569424454749,1569424454757,1569424454764,1569424454772,1569424454779,1569424454787,1569424454802,1569424454832,1569424454839,1569424454854,1569424454861,1569424454869,1569424454884,1569424454899,1569424454906,1569424454921,1569424454929,1569424454937,1569424454984]},{"x":[75.6500015258789,75.61000061035156,75.61000061035156,75.5999984741211,75.58999633789062,75.5999984741211,75.69999694824219,75.79000091552734,75.93000030517578,76.11000061035156,76.6500015258789,76.66000366210938,76.62999725341797,76.31999969482422,76.26000213623047,76.2300033569336,76.20999908447266,76.22000122070312,76.31999969482422,76.44999694824219,76.7300033569336,76.7300033569336],"y":[90.43000030517578,90.37000274658203,90.33000183105469,90.30999755859375,90.27999877929688,90.25,90.18000030517578,90.1500015258789,90.13999938964844,90.18000030517578,90.54000091552734,90.75,90.81999969482422,91.01000213623047,91,90.97000122070312,90.91999816894531,90.83999633789062,90.56999969482422,90.44000244140625,90.23999786376953,90.23999786376953],"t":[1569424455246,1569424455253,1569424455261,1569424455268,1569424455276,1569424455283,1569424455290,1569424455298,1569424455305,1569424455313,1569424455320,1569424455327,1569424455335,1569424455342,1569424455350,1569424455357,1569424455365,1569424455372,1569424455379,1569424455387,1569424455395,1569424455599]},{"x":[77.41999816894531,77.4000015258789,77.4000015258789,77.41999816894531,77.43000030517578,77.44000244140625,77.43000030517578,77.44000244140625,77.37999725341797,77.4000015258789,77.43000030517578,77.4800033569336,77.54000091552734,77.62999725341797,77.87000274658203,78.04000091552734,78.25,78.33000183105469,78.33999633789062,78.30000305175781,78.27999877929688,78.27999877929688,78.29000091552734,78.30999755859375,78.30999755859375],"y":[90.05000305175781,89.94000244140625,89.94000244140625,89.94000244140625,89.93000030517578,89.94999694824219,89.9800033569336,90.16999816894531,90.52999877929688,90.83999633789062,90.94999694824219,91.02999877929688,91.08000183105469,91.08999633789062,90.94000244140625,90.80000305175781,90.5,90.33999633789062,90.37999725341797,90.5,90.61000061035156,90.66999816894531,90.70999908447266,90.72000122070312,90.72000122070312],"t":[1569424455614,1569424455636,1569424455644,1569424455652,1569424455659,1569424455666,1569424455674,1569424455689,1569424455704,1569424455719,1569424455727,1569424455734,1569424455742,1569424455749,1569424455764,1569424455772,1569424455787,1569424455794,1569424455802,1569424455809,1569424455817,1569424455824,1569424455832,1569424455839,1569424456209]},{"x":[79.58999633789062,79.62999725341797,79.69999694824219,79.70999908447266,79.69999694824219,79.66999816894531,79.52999877929688,79.41000366210938,79.33000183105469,79.37000274658203,79.41999816894531,79.48999786376953,80.12000274658203,80.41999816894531,80.62999725341797,80.75,80.79000091552734,80.79000091552734,80.76000213623047,80.77999877929688,80.79000091552734,80.80999755859375,80.80999755859375,80.80000305175781,80.80000305175781,80.79000091552734,80.80000305175781,80.80000305175781,80.70999908447266,80.70999908447266],"y":[90.12999725341797,90.0199966430664,89.83999633789062,89.80000305175781,89.77999877929688,89.79000091552734,89.95999908447266,90.19999694824219,90.5199966430664,90.70999908447266,90.77999877929688,90.83999633789062,90.70999908447266,90.55000305175781,90.3499984741211,90.16999816894531,90.01000213623047,89.87000274658203,89.70999908447266,89.54000091552734,89.4000015258789,89.2699966430664,89.18000030517578,89.11000061035156,89.02999877929688,89.05000305175781,89.12000274658203,89.27999877929688,90.18000030517578,90.73999786376953],"t":[1569424456209,1569424456217,1569424456225,1569424456232,1569424456240,1569424456262,1569424456285,1569424456300,1569424456315,1569424456322,1569424456330,1569424456337,1569424456345,1569424456352,1569424456360,1569424456367,1569424456375,1569424456382,1569424456390,1569424456397,1569424456405,1569424456412,1569424456420,1569424456427,1569424456442,1569424456480,1569424456495,1569424456510,1569424456547,1569424456551]},{"x":[81.66000366210938,81.70999908447266,81.75,80.62999725341797,81.7699966430664,80.63999938964844,80.66000366210938,80.70999908447266,81.75,81.58999633789062,81.3499984741211,81.1500015258789,81.12999725341797,81.12999725341797,81.1500015258789,81.22000122070312,81.2300033569336,81.23999786376953,81.2699966430664,81.29000091552734,81.86000061035156,82.48999786376953,82.56999969482422,82.58999633789062,82.61000061035156,82.62999725341797,82.66000366210938,82.69000244140625,82.69000244140625,82.66999816894531,82.68000030517578,82.66999816894531,81.51000213623047,81.4800033569336,81.47000122070312,81.47000122070312,81.44999694824219,81.44000244140625,81.31999969482422,81.27999877929688,81.23999786376953,81.22000122070312,81.18000030517578,81.11000061035156,81.08000183105469,81.01000213623047,80.94000244140625,80.97000122070312,80.97000122070312,80.94000244140625,80.91999816894531,80.88999938964844,80.87999725341797,80.87999725341797,80.9000015258789,80.9000015258789,80.91999816894531,80.94000244140625,80.9800033569336,81.0199966430664,81.23999786376953,81.47000122070312,81.47000122070312],"y":[89.7300033569336,89.66999816894531,89.62999725341797,90.68000030517578,89.62000274658203,90.7699966430664,90.77999877929688,90.73999786376953,89.66999816894531,89.95999908447266,90.25,90.44000244140625,90.51000213623047,90.4800033569336,90.44000244140625,90.33000183105469,90.29000091552734,90.2699966430664,90.27999877929688,90.30999755859375,90.80000305175781,91.1500015258789,91.19999694824219,91.1500015258789,91.12999725341797,91.08999633789062,91.05000305175781,90.9800033569336,90.94000244140625,90.88999938964844,90.91999816894531,90.88999938964844,90.11000061035156,90.08999633789062,90.08999633789062,90.08999633789062,90.0999984741211,90.12000274658203,90.27999877929688,90.30999755859375,90.3499984741211,90.37999725341797,90.41999816894531,90.51000213623047,90.58000183105469,90.58000183105469,90.63999938964844,90.5999984741211,90.56999969482422,90.56999969482422,90.55999755859375,90.52999877929688,90.55000305175781,90.5199966430664,90.5199966430664,90.54000091552734,90.5199966430664,90.5199966430664,90.58000183105469,90.55000305175781,90.56999969482422,90.56999969482422,90.56999969482422],"t":[1569424456551,1569424456559,1569424456566,1569424456570,1569424456574,1569424456577,1569424456585,1569424456592,1569424456596,1569424456619,1569424456634,1569424456649,1569424456656,1569424456664,1569424456686,1569424456701,1569424456709,1569424456716,1569424456754,1569424456761,1569424456791,1569424456821,1569424456829,1569424456836,1569424456844,1569424456851,1569424456859,1569424456874,1569424456896,1569424456927,1569424456941,1569424456949,1569424457356,1569424457364,1569424457371,1569424457379,1569424457386,1569424457394,1569424457424,1569424457431,1569424457439,1569424457446,1569424457454,1569424457469,1569424457476,1569424457484,1569424457499,1569424457544,1569424457574,1569424457604,1569424457679,1569424457702,1569424457709,1569424457717,1569424457769,1569424457799,1569424457867,1569424457882,1569424457912,1569424457919,1569424457934,1569424457942,1569424457976]}]}],"height":101.30000305175781,"width":143.25999450683594,"conversionState":"DIGITAL_EDIT"}'


image


Answer

Dear Kunjeti Aswarthmaiah Gupta,


currently, there is nothing magic in our solution, we recognize the x and y coordinates that are provided to our Cloud.

In the latest request, here is what is sent:


I surrounded the end of "truck", as there are indeed some weird strokes.


These are likely to come from your pen, when getting the strokes. In your application, how are doing your display? Indeed, it is puzzling the strokes you send to our CDK differ from what you render.


Meanwhile, I recommend you see with your device manufacturer what may be the cause of the added strokes, as this is likely to return with the above results (S added at the end of truck).


On our side, not much can be done.


Best regards,


Olivier