获取自定义分类器列表
这会列出你训练过的所有自定义分类器。
'use strict';
let watson = require('watson-developer-cloud');
var visualRecognition = watson.visual_recognition({
version: 'v3',
api_key: process.env['API_KEY'],
version_date:'2016-05-19'
});
let url = "https://upload.wikimedia.org/wikipedia/commons/1/1c/Chris_Evans_filming_Captain_America_in_DC_cropped.jpg"
visualRecognition.classify({url: url}, function(error, results) {
console.log(JSON.stringify(results,null,2));
});