Hey, everybody.
I want to warn you, the next couple of videos are going to be pretty tough.
And I mean, we're developers, right?
This is what our jobs are.
We're doing the things that a lot of people find difficult.
So if you find you get stuck a lot on this final project, that's good.
We don't want everything to go smoothly.
We want to make sure that we encounter roadblocks.
We encounter issues with our code and we debug, we solve and we get to that final stage of the project
because once again, in real life on the job, you're not going to have somebody hold your hand and
show you how to fix your problems.
You want to develop the muscle of problem solving.
So I've made this pretty hard, but along the way, I will help you to make sure you get there.
But I do have five things I want to mention before we jump into a part of the course that gets a little
tough.
So one is that this is going to be hard, the next two videos are really, really important.
The first one I show you how to use this thing called the Clarify API to do some machine learning image
recognition.
Now, since I recorded that video, the Clarify Documentation website has actually updated.
So why you're seeing that video on the Clarify website might be a little bit different, but don't worry.
In the second video, which is called Clarify API updates, models and troubleshooting, I show you
how to use the newer version of the Clarify website, but I want you to watch both videos.
The first one is going to help you build this image recognition into our app, and then the second video
is going to troubleshoot and help you if you get stuck along the way.
So make sure that you watch both videos coming up before you say, I'm stuck and I can't solve this.
The second thing is that the project works.
I've had many students who come to me almost weekly that say, Hey, the project, I cleaned it off
of your GitHub.
I have the project files and it's now working.
I think the project is outdated or broken.
And every time I go in, I clone the repo.
I test everything, and the project works.
As a matter of fact, I do a weekly test to make sure that they clarify API works to make sure that
all their code works and all the packages are the latest version.
So trust me on this, unless I say otherwise, the project works.
Most likely, if your code doesn't work in this final project, there's something that you may have
missed.
Like I said, every week, there's an automatic check that I do, which makes sure that the code is
up to date and is working.
So always remember this.
If you're stuck, the project works.
Don't blame it on me.
I do a weekly check because I get this question every single week.
Three is to follow my method.
And what do I mean by that?
You see, when you go to the Clarify documentation website that we're going to show you in the next
couple of videos.
My code is going to look different from their code.
This is the documentation on the Clarify website, and we're going to be making predictions, so we're
at the API guide making predictions and we're going to make predictions on images.
And in here shows you how to make predictions via URLs, you URLs of images, which is exactly what
we're going to be doing.
Now, the No one looks really complicated.
We're going to cover that when it comes to G.P.S..
How this works.
But when you go to their documentation website, it actually is very different from what we're going
to be doing now.
I'm going to be using, like I said, the old method of making this call because it's much simpler,
it's easier to understand it doesn't have all this configuration that we need to add, and it still
works.
So instead of confusing you with all of this, I'm going to show you the old way and then update to
the new way.
At the very end of the course.
As a matter of fact, this is because of something called gRPC.
You see, Clarify recently updated their API to use something called gRPC, which we're going to talk
about at the very end when we finish the project and you have a full understanding of everything.
We're going to update our API to use this.
You're going to learn what it is and why.
Clarify may have done this, but for now, I want you to use my method using what we call a restful
API to build the project because although.
This is the latest version of the Clarify 21:00 package that they recommend using their older version,
even though it says this API client is no longer supported.
Still works and is actually a preferred way of using this API because he uses a restful API architecture,
which is actually way more common in the real world.
So we're going to start off with this and then we're going to update to the latest version.
So again, if you're going through the Clarify documentation website and the code doesn't match what
I show you, trust me on this, it's all going to make sense.
And yet?
Finally, I want to show you a quick little trick that might help you throughout this final project.
You see, I have the code that we're going to write in the next couple of videos here again.
Don't worry if you don't understand any of this.
But I do want to show you one little trick.
We're going to download the clarify npm package and then do import clarify from clarified.
Now, if you ever need to know the model ID, you can always just consult a log clarify.
The very top of the page and app dogs.
And if I were, you run this.
And let's say we had Tom Hanks picture here, detect.
That's going to work for you.
Not yet, but soon.
If I open up the console, you see that I have an object and in here I have all the model IDs.
So we're going to be using the face detect model.
And you can use this ID if it ever asks for an ID.
So what you can do is actually when we.
Scrawled on here again, we're going to write this code, so don't worry too much about it.
So in here, when we use the clarify face to tech model, I can also replace this with the Model ID.
And this is still going to work.
So this is a neat little trick of how to find the model I.D. again.
You'll understand why we might want to find that later on in the course, but this is a little trick
just to remind you of how we might be able to do that.
So there you have it.
I know this is a bit of a random video, but I just wanted to warn you of these five things that you
may think about as we develop the project, but trust me on this.
Follow the process.
And by the end of it, it's all going to make sense.
And by the end of it, you would have overcome a lot of challenges and problems to truly become a self
dependent, self-reliant, a problem-solving web developer.
Let's get started, and let's learn about this mysterious clarify thing.