From the course: Machine Learning in Mobile Applications

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Client tie to Visual Recognition call setup

Client tie to Visual Recognition call setup - Xamarin Tutorial

From the course: Machine Learning in Mobile Applications

Start my 1-month free trial

Client tie to Visual Recognition call setup

- [Instructor] We are going to continue to work with our sample app. To do this, we're going to open up the visual recognition view model and scroll down, and we'll find the method called GetTreeTypeAsync. And right now it's just returning that we're not sure what it is, and we're going to replace that with a call to our Watson Visual Recognition service. So the first thing we want to do is create a URL variable for the end point to the service. We can get that URL out of the Watson portal. So we're going to open up our visual recognition service. Right here we can see the client URL. So I'm going to copy that into the clipboard. If you want more information about the API you can click on this API reference button and it will show you all the details of what we're about to call. I'm going to paste that in and from the API reference we know that we need to do version three of the API. The method we're going to call is classify and the version is = to 2018-03-19. Now we'll create an…

Contents