Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.


ibm watson endpoint

node v10.21.0
version: 1.0.0
var VisualRecognitionV3 = require('watson-developer-cloud/visual-recognition/v3'); var fs = require('fs'); var visualRecognition = new VisualRecognitionV3({ version: '2018-03-19', iam_apikey: '9grp38ktiOJdokIWqahx50Lhr-dA1dfJqoVARvyk89xW' }); var url= 'https://watson-developer-cloud.github.io/doc-tutorial-downloads/visual-recognition/640px-IBM_VGA_90X8941_on_PS55.jpg'; var params = { url: url, }; visualRecognition.classify(params, function(err, response) { if (err) { console.log(err); } else { console.log(JSON.stringify(response, null, 2)) } });

no comments

    sign in to comment