watson-developer-cloud / node-red-node-watson

A collection of nodes for the IBM Watson services
Apache License 2.0
82 stars 86 forks source link

Classify a buffer image does not work #436

Closed fmanclossi closed 5 years ago

fmanclossi commented 5 years ago

Hi, I'm setup a node-red flow to demo Watson Visual recognition with students using web and TJBot, too. I setup a new Visual Recognition Service on Dallas using new authentication. I upgraded to last version of node-red-node-watson (and others, too). I inserted credential (APIKEY) and configured my flow.

Everything works fine when node receive an URL as input (both classify and faces works). When node receive a Buffer object of an image, only Faces works.

Attached are all my screenshot 2018-11-13 11_56_28-node-red _ detect objects node 2018-11-13 11_56_28-node-red _ detect faces node 2018-11-13 11_53_12-node-red _issue detect objects 2018-11-13 11_53_51-node-red _working detect faces 2018-11-13 11_54_34-node-red _ file in face 2018-11-13 11_54_34-node-red _ file in objects

Any hint?

chughts commented 5 years ago

That faces works, but classify doesn't implies that the input is different in the classify. In this case I think that this is a usage problem. Please raise a question on https://developer.ibm.com/answers

When you raise the question on developer works answers, please indicate the error status / response you get with classify. Also state whether you have tried to classify on the face image.

I will leave this issue open, in the case it does turn out to be a bug in the node, but for now lets continue the question on https://developer.ibm.com/answers

fmanclossi commented 5 years ago

open question in Developer -> https://developer.ibm.com/answers/questions/480248/node-red-node-watson-classify-a-buffer-image-does.html

chughts commented 5 years ago

Closing as there has been no follow-up to the response to the question in DeveloperWorks since the 13th Nov.