classify failed
Ta的回复 :getCustom: function (res, imgName) { var image = fs.readFileSync(imgName).toString('base64') // 如果有可选参数 var options = {} options['templateSign'] = 'f8f14651df9d5a15cfee698dcb911d2c' // options['classifierId'] = '1' // 带参数调用自定义模板文字识别 client.custom(image, options).then(function (result) { console.log(JSON.stringify(result)) // 结果打印在服务器控制台 // res.json(result) }).catch(function (err) { // 如果发生网络错误 console.log(err) }) }