Guest User

Untitled

a guest
Jul 28th, 2017
499
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. curl -u "0xxxxxxxxxxx":"vxxxxxxxxxxxxxx"
  2. -X POST
  3. -F "name=plasticbottle"
  4. -k "https://gateway.watsonplatform.net/visual-recognition-beta/api/v2/classifiers?version=2015-12-02"
  5.  
  6. {"classifier_ids": ["ClassifierName"]}
  7.  
  8. curl -u "username":"pwd"
  9. -X POST
  10. -F "classifier_ids={"classifier_ids":["ClassifierName"]}"
  11. "https://gateway.watsonplatform.net/visual-recognition-beta/api/v2/classify?version=2015-12-02"
  12.  
  13. curl -X POST
  14. -F "orange_positive_example=@pos_ex.zip"
  15. -F "name=fruit"
  16. "https://gateway-a.watsonplatform.net/visual-recognition/api/v3/classifiers?api_key={api-key}&version=2016-05-20"
  17.  
  18. curl -X POST
  19. -F "name=plasticbottle"
  20. "https://gateway-a.watsonplatform.net/visual-recognition/api/v3/classifiers?api_key={api-key}&version=2016-05-20"
Advertisement
Add Comment
Please, Sign In to add comment