visual-recognition

Unable to generate refresh token for IBM Visual Recognition API

允我心安 提交于 2021-01-28 12:30:15
问题 I am trying to work with IAM token based authentication. I am able to generate 'access token' and could do operations using the 'access token'. Now I am having issue while generating 'refresh token'. I am following this link https://cloud.ibm.com/docs/services/watson?topic=watson-iam. I am using below command to generate refresh token. Here Authorization header value obtained using username as 'apikey' and value as my key. {refreh-token} value I am using which I received while generating

Did IBM make Watson Visual Recognition paid?

試著忘記壹切 提交于 2020-12-15 05:42:11
问题 It was originally free and I was using it for almost 3-4 months. It told me that I exceeded the quota so I deleted the project and created a new one. I went to Catalog then Watson Visual Recognition and the only plan avaialble is standard which means I have to pay but before I set it up for free and was using it fine since then. Am I doing something wrong or did IBM change something? I even tried this on a new account but it still says the same thing. 回答1: As per the Visual Recognition

Watson visual recognition: error 401

↘锁芯ラ 提交于 2020-01-25 22:01:11
问题 I'm trying npm module watson-developer-cloud for visual recognition. I'm getting { error: 'invalid-api-key', code: 401 } when trying to run following code: var watson = require('watson-developer-cloud'); var fs = require('fs'); var visualRecognition = watson.visual_recognition({ version: 'v3', api_key: process.env.API_KEY || 'e2493f2bacdbea8becedcc7aafecdfb4133XXXXX', version_date: '2015-05-19' }); var params = { images_file: fs.createReadStream('./resources/gopher.png') }; visualRecognition

Watson Visual Recognition - Unauthorized

牧云@^-^@ 提交于 2020-01-17 02:31:05
问题 I am trying to use the Watson Visual Recognition service with the watson-developer-cloud NPM module. But I always get the following error. What am I doing wrong? Unauthorized: Access denied due to invalid credentials. I already searched for hours and found many people with the same problem, but none of the answers resolved the issue. My service authentication informations (just test data): { "apikey": "API_KEY", "iam_apikey_description": "...", "iam_apikey_name": "...", "iam_role_crn": "...",

IBM Watson visual recognition - invalid API key

左心房为你撑大大i 提交于 2020-01-11 06:00:32
问题 I'm trying to use the visual recognition from IBM Watson using their API. Here is the POST request I am sending: https://gateway-a.watsonplatform.net/visual-recognition/api/v3/classify?api_key={MY_API_KEY}&version=2016-05-20 and I specify my image in the body parameter. I always get: { "status": "ERROR", "statusInfo": "invalid-api-key" } I got my key from Bluemix 3 hours ago (they said the key should be working in 5 minutes). Any ideas? Thanks EDIT Since this morning, I have another error: {

Visual Recognition error 400: Cannot execute learning task no classifier name given

為{幸葍}努か 提交于 2019-12-22 16:59:28
问题 I am using Visual Recognition curl command to add a classification to an image: curl -u "user":"password" \ -X POST \ -F "images_file=@image0.jpg" \ -F "classifier_ids=classifierlist.json" \ "https://gateway.watsonplatform.net/visual-recognition-beta/api/v2/classifiers?version=2015-12-02" json file: { "classifiers": [ { "name": "tomato", "classifier_id": "tomato_1", "created": "2016-03-23T17:43:11+00:00", "owner": "xyz" } ] } (Also tried without the classifiers array. Got the same error) and

Visual Recognition error 400: Cannot execute learning task no classifier name given

守給你的承諾、 提交于 2019-12-22 16:58:01
问题 I am using Visual Recognition curl command to add a classification to an image: curl -u "user":"password" \ -X POST \ -F "images_file=@image0.jpg" \ -F "classifier_ids=classifierlist.json" \ "https://gateway.watsonplatform.net/visual-recognition-beta/api/v2/classifiers?version=2015-12-02" json file: { "classifiers": [ { "name": "tomato", "classifier_id": "tomato_1", "created": "2016-03-23T17:43:11+00:00", "owner": "xyz" } ] } (Also tried without the classifiers array. Got the same error) and

Can Watson Visual Recognition determine density?

我的未来我决定 提交于 2019-12-13 20:19:17
问题 Bouquets of flowers are a fairly accurate analogy for our problem domain. For an example, let's assume a test image of thirty flowers: - Roses: 10 - Poppies: 9 - Daisies: 5 - Lillies: 5 - Sunflowers: 1 Is there a training approach that might get Watson to look at pictures of bouquets and be able to reply with a density of a given flower type, or even a ratio or something? If there are any ideas, should we train with images of single/isolated or multiple/grouped of each type of flower? ...or a

Watson visual recognition run error

こ雲淡風輕ζ 提交于 2019-12-13 16:15:20
问题 I'm trying to set up a visual recognition app using the Watson visual recognition api. To do this I started by downloading watson-developer-cloud and I put it in my node_modules folder, which is next to my index.html and api_request.js. This is my api_request.js file: var watson = require('./node_modules/watson-developer-cloud'); var visual_recognition = watson.visual_recognition({ username: '*********', password: '*********', version: 'v2-beta', version_date: '2015-12-02' }); visual

IBM Watson VIsual Recognition - ERROR: excessive number of concurrent HTTP connections

拥有回忆 提交于 2019-12-12 02:25:19
问题 Having trouble adding a class to one of my custom classifiers using Visual Recognition, when executing the task I get the below error: status: 500, error: If you are seeing this message, you are likely making an excessive number of concurrent HTTP connections to this service. Please check the concurrency limits for your assigned service tier. Does anyone know what this means or where I can manage my "concurrency limits"? Edit: This is the code I'm using to make the call of adding a new class.