visual-recognition

IBM Watson Visual recognition{“code”:400,“error”:“Cannot execute learning task. : no classifier name given”}

北慕城南 提交于 2019-12-11 07:32:16
问题 When I try to train a classifier with two positive classes and with the API key (each class contains around 1200 images) in Watson Visual Recognition, it returns that "no classifier name is given" - but that I have already provided. This is the code: $ curl -X POST -F "blank_positive_examples=@C:\Users\rahansen\Desktop\Altmuligt\training\no_ocd\no_ocd.zip" -F "OCD_positive_examples=@C:\Users\rahansen\Desktop\Altmuligt\training\ocd\ocd.zip" -F "name=disease" "https://gateway-a.watsonplatform

Watson visual recognition, classify against multiple classifiers in java

陌路散爱 提交于 2019-12-11 01:07:42
问题 I found this curl command in API document that can classify an image against multiple classifiers: curl -u "{username}":"{password}" \ -X POST \ -F "images_file=@batch1.zip" \ -F "classifier_ids=<classifierlist.json" \ "https://gateway.watsonplatform.net/visual-recognition-beta/api/v2/classify?version=2015-12-02" I wondered if it is possible to do this in java since I'm working on an android program using Watson's visual recognition service. thank you 回答1: Use this tutorial to set your Java

IBM Watson Visual Recognition - Access is denied due to invalid credentials

流过昼夜 提交于 2019-12-11 00:44:48
问题 I'm trying to use IBM Watson Visual Recognition tool with nodejs (express). I followed the instruction from the guide, but I can't connect with the tool. var fs = require('fs'); var VisualRecognitionV3 = require('watson-developer-cloud/visual-recognition/v3'); var visualRecognition = new VisualRecognitionV3({ version: '2018-03-19', api_key: 'api key', }); var images_file = fs.createReadStream('public/images/fruitbowl.jpg'); var classifier_ids = ["food"]; var params = { images_file: images

Can a single image be a positive example for multiple classes?

可紊 提交于 2019-12-08 09:19:50
问题 Bouquets of flowers are a fairly accurate analogy for our problem domain, and we have another S.O. question out there asking about the feasibility of a different approach to our problem/goal. What if, rather than making classes by flower types, we made our classes according to the actions we need to take depending on the contents and complex combinations of the bouquet? Let's say that, if in the bouquet in our test image, there are: >9 roses, >14 pansies, <1 marigold, any qty of other flowers

IBM Watson Visual Recognition in Java

你离开我真会死。 提交于 2019-12-08 07:12:22
问题 I want to use IBM Watson Visual Recognition for my android app and want to call APIs in JAVA but i don't find any example or any reference to the list of methods in JAVA to use this service. You can see the JAVA examples are missing here. Please help me to find few suitable examples or any reference to these methods. Please also tell me what is bluemix platform and is it necessary to use it in order to use IBM Watson Visual Recognition? Thanks in Advance! 回答1: Look at the Java SDK, and in

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

不羁的心 提交于 2019-12-06 10:37:26
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 getting an error: {"code":400,"error":"Cannot execute learning task : no classifier name given"} Is

IBM Watson visual recognition - invalid API key

柔情痞子 提交于 2019-12-01 06:15:53
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: { "status": "ERROR", "statusInfo": "invalid-api-key-permissions" } Is this me or Watson is still under