Adding Image Recognition to the App
improve this page | report issueWatson Visual Recognition
Image recognition capability is powered by Watson Visual recognition service on IBM Cloud. Create a Watson Visual Recognition instance on IBM Cloud. For more information, see here.
Once configured, you can now create a new Mobel and add classes to it. You can drag and drop images in to the Builder and then train your Model on those images. Once the training is complete, you can either download the CoreML model or use the Model in a AI control in your app.
To enable a Visual Recognition in your app, perform the following steps:
-
Click Watson and then click Image Recognition. This displays the Work with Watson Visual Recognition screen.
-
Click Connect to your Watson Visual Recognition instance.
- Enter the API key details and specify the URL of your Watson Visual Recognition instance.
-
Provide a Name to your Image Recognition instance in the app and click Connect. This displays the dashboard for your model.
-
Click Add new model to create a new model. This will display Create a new Model popup.
-
Enter the Model name and click Create. This will display the classes for that model and a Negative class.
-
Click Add new class. This will display a popup to specify a name for the new class.
-
Enter the Class name for the new class and click Create. This will display the workspace to add your images for training the model.
-
Add the images to the model either by drag and drop them into the workspace or use Browse to access the images.
-
You can go back to your workspace after adding the images and test by clicking Test Model.
- In the Try your model section, add an image and then result is displayed.
Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.