General questions

Answered

configuration.resource.not.found

 Hello


I am trying to test recognition api , https://cloud.myscript.com/api/v4.0/iink/batch
I am using this payload

it keep response with configuration.resource.not.found
can you tell me what's wrong?

 

{

"width": 722,

"height": 620,

"contentType": "Text",

"conversionState": "DIGITAL_EDIT",

"theme": "ink {color: #000000; -myscript-pen-width: 1; -myscript-pen-fill-style: none; -myscript-pen-fill-color: #FFFFFF00;} mycolor {color: #120f51;} .math { font-family: STIXGeneral;} .math-solved {font-family: STIXGeneral; color: #A8A8A8FF;} .text {font-family: Open Sans; font-size: 10;}",

"strokeGroups": [

{

"strokes": [

{

"x": [

289,

290,

290,

290,

290,

290,

290,

291,

291,

292,

293

],

"y": [

215,

218,

222,

225,

228,

231,

235,

238,

242,

245,

248

],

"t": [

1516717383637,

1516717383677,

1516717383694,

1516717383711,

1516717383727,

1516717383744,

1516717383761,

1516717383777,

1516717383794,

1516717383811,

1516717383827

],

"p": [

0.5,

0.8221720589961077,

0.7145158745241171,

0.6761535882018319,

0.6761535882018319,

0.6761535882018319,

0.7145158745241171,

0.6831899108492184,

0.7145158745241171,

0.6831899108492184,

0.6831899108492184

],

"pointerType": "PEN, TOUCH, ERASER",

"pointerId": 0

}

],

"penStyle": "color: #120f51;↵-myscript-pen-width: 2;",

"penStyleClasses": "ink mycolor"

}

],

"configuration": {

"alwaysConnected": true,

"lang": "en_US",

"math": {

"solver": {

"enable": true,

"fractional-part-digits": 3,

"decimal-separator": ".",

"rounding-mode": "half up",

"angle-unit": "deg",

"fraction-mode": "decimal",

"options": "algebraic"

},

"margin": {

"top": 10,

"left": 15,

"right": 15,

"bottom": 10

},

"customGrammarContent": "symbol = 0\nexpression ::= identity(symbol)\nstart(expression)",

"undo-redo": {

"mode": "stroke"

}

},

"text": {

"margin": {

"top": 10,

"left": 15,

"right": 15,

"bottom": 10

},

"guides": {

"enable": true

},

"configuration": {

"customResources": [

"your_custom_resource"

],

"customLexicon": [

"word1",

"word2"

],

"addLKText": true

}

},

"export": {

"image": {

"guides": true,

"viewport": {

"x": 0,

"y": 0,

"width": 0,

"height": 0

}

},

"jiix": {

"strokes": true,

"style": false,

"bounding-box": false,

"text": {

"chars": false,

"words": true

}

},

"mathml": {

"flavor": "standard"

},

"image-resolution": 300

},

"diagram": {

"text": {

"customResources": [

"your_custom_resource"

],

"customLexicon": [

"word1",

"word2"

],

"addLKText": true

},

"convert": {

"edge": true,

"node": true,

"text": true

},

"enable-sub-blocks": true

},

"gesture": {

"enable": true

},

"raw-content": {

"recognition": {

"text": true,

"shape": true

},

"text": {

"customResources": [

"your_custom_resource"

],

"customLexicon": [

"word1",

"word2"

],

"addLKText": true

}

}

},

"xDPI": 96,

"yDPI": 96

}



Best Answer

Dear Dev One,


thank you for contacting us.


I recommend you refer to the following thread (in particular the last post), it should answer most of your questions: https://developer-support.myscript.com/support/discussions/topics/16000025340


Feel free to come back to us if this doesn't help.


Best regards,


Olivier

1 Comment

Answer

Dear Dev One,


thank you for contacting us.


I recommend you refer to the following thread (in particular the last post), it should answer most of your questions: https://developer-support.myscript.com/support/discussions/topics/16000025340


Feel free to come back to us if this doesn't help.


Best regards,


Olivier


1 person likes this