Text

现在我把我们假设的坐标传入进去没有反应

var key = "XXX";

var url = "http://cloud.myscript.com/api/v3.0/recognition/rest/text/doSimpleRecognition.json?key="+key+"&code=XXX";

var data = {

             "components":[

               {

                 "type":"stroke",

                 "x":[

                   133.66668701171875,

                   141.66668701171875,

                   145.66668701171875

                 ],

                 "y":[

                   319.5,

                   299.5,

                   294.5

                 ]

               }

             ],

             "resultTypes":[

               "LATEX",

               "MATHML",

               "SYMBOLTREE"

             ],

             "columnarOperation":false,

             "userResources":[

             ]

           }

已经按照你们的格式传入了坐标但是看到任何回应


Dear Olivier:
I am sorry,May be I didn't express clearly,
Now I have an error result is like this:

"NetworkError: 500 Internal Server Error - http://127.0.0.1:8020/htdocs/myscript/kuayu.php"

Within the corresponding error message is this:

"< HTML > < body > < h1 > internal server error < / h1 > < / body > < / HTML >"

Thank you for always help,

Best regards,

hu keke

 

Dear Hu Keke,

thank you for the update.

On our side, we do not see any request on the CDK. This more looks like an issue in your PHP code.

Can you please look at it? If you can not locate the issue in it, feel free to attach it, we can have a quick look.

Best regards,

Olivier
Login or Signup to post a comment