watson-developer-cloud / visual-recognition-coreml

Classify images offline using Watson Visual Recognition and Core ML
Apache License 2.0
490 stars 77 forks source link

Chronological Instructions in Docs #21

Open ghost opened 6 years ago

ghost commented 6 years ago

Do we think we could combine the "Copy your Model ID " and "Adding the classifierID" sections so the steps read more chronologically? Specifically it would be more natural for a user to copy and paste each field into XCode independently (ie making step 2 in "adding the classifierID" come after step 3 in "Copy your Model", etc).

Following current instructions, users are likely to replace Model ID with apikey in clipboard -> paste wrong fields into XCode.

SirSpidey commented 6 years ago

@yalonIBM It is an issue when you have to go between multiple apps more than once. Is this what you were envisioning? Does it seem easier to follow?

Configuring the project

  1. In Watson Studio on the custom model overview page, click your Visual Recognition instance name (it's next to Associated Service). Scroll down to find the Custom Core ML classifier you just created.
  2. Copy the Model ID of the classifier.
  3. Open the project in XCode.
  4. Paste the ID into the classifierID property in the ImageClassificationViewController file.
  5. Back in Watson Studio, go to the Visual Recognition instance overview page. Click the Credentials tab, and then click View credentials.
  6. Copy the api_key or the apikey.
  7. In XCode, paste the key into the corresponding property in the ImageClassificationViewController file.
ghost commented 6 years ago

Perfect! Thank you.