1 00:00:00,450 --> 00:00:01,110 Hey, everybody. 2 00:00:01,350 --> 00:00:06,750 I want to warn you, the next couple of videos are going to be pretty tough. 3 00:00:07,410 --> 00:00:10,000 And I mean, we're developers, right? 4 00:00:10,020 --> 00:00:11,630 This is what our jobs are. 5 00:00:11,640 --> 00:00:14,850 We're doing the things that a lot of people find difficult. 6 00:00:15,420 --> 00:00:20,520 So if you find you get stuck a lot on this final project, that's good. 7 00:00:20,850 --> 00:00:22,890 We don't want everything to go smoothly. 8 00:00:23,310 --> 00:00:26,360 We want to make sure that we encounter roadblocks. 9 00:00:26,370 --> 00:00:33,480 We encounter issues with our code and we debug, we solve and we get to that final stage of the project 10 00:00:33,480 --> 00:00:39,840 because once again, in real life on the job, you're not going to have somebody hold your hand and 11 00:00:39,840 --> 00:00:42,090 show you how to fix your problems. 12 00:00:42,660 --> 00:00:45,750 You want to develop the muscle of problem solving. 13 00:00:46,350 --> 00:00:51,900 So I've made this pretty hard, but along the way, I will help you to make sure you get there. 14 00:00:52,080 --> 00:00:58,230 But I do have five things I want to mention before we jump into a part of the course that gets a little 15 00:00:58,230 --> 00:00:58,560 tough. 16 00:00:59,750 --> 00:01:06,470 So one is that this is going to be hard, the next two videos are really, really important. 17 00:01:07,190 --> 00:01:14,270 The first one I show you how to use this thing called the Clarify API to do some machine learning image 18 00:01:14,270 --> 00:01:14,960 recognition. 19 00:01:15,380 --> 00:01:21,410 Now, since I recorded that video, the Clarify Documentation website has actually updated. 20 00:01:21,740 --> 00:01:27,590 So why you're seeing that video on the Clarify website might be a little bit different, but don't worry. 21 00:01:27,830 --> 00:01:34,310 In the second video, which is called Clarify API updates, models and troubleshooting, I show you 22 00:01:34,340 --> 00:01:39,920 how to use the newer version of the Clarify website, but I want you to watch both videos. 23 00:01:40,490 --> 00:01:47,510 The first one is going to help you build this image recognition into our app, and then the second video 24 00:01:47,510 --> 00:01:51,830 is going to troubleshoot and help you if you get stuck along the way. 25 00:01:52,940 --> 00:01:59,360 So make sure that you watch both videos coming up before you say, I'm stuck and I can't solve this. 26 00:02:00,260 --> 00:02:03,080 The second thing is that the project works. 27 00:02:03,440 --> 00:02:10,789 I've had many students who come to me almost weekly that say, Hey, the project, I cleaned it off 28 00:02:10,789 --> 00:02:11,540 of your GitHub. 29 00:02:11,540 --> 00:02:13,720 I have the project files and it's now working. 30 00:02:13,730 --> 00:02:16,340 I think the project is outdated or broken. 31 00:02:16,910 --> 00:02:20,390 And every time I go in, I clone the repo. 32 00:02:20,690 --> 00:02:23,930 I test everything, and the project works. 33 00:02:24,230 --> 00:02:30,470 As a matter of fact, I do a weekly test to make sure that they clarify API works to make sure that 34 00:02:30,650 --> 00:02:34,550 all their code works and all the packages are the latest version. 35 00:02:35,390 --> 00:02:39,920 So trust me on this, unless I say otherwise, the project works. 36 00:02:40,280 --> 00:02:46,040 Most likely, if your code doesn't work in this final project, there's something that you may have 37 00:02:46,040 --> 00:02:46,460 missed. 38 00:02:46,850 --> 00:02:53,420 Like I said, every week, there's an automatic check that I do, which makes sure that the code is 39 00:02:53,420 --> 00:02:54,890 up to date and is working. 40 00:02:54,890 --> 00:02:56,530 So always remember this. 41 00:02:56,540 --> 00:02:58,880 If you're stuck, the project works. 42 00:02:59,210 --> 00:03:00,350 Don't blame it on me. 43 00:03:00,530 --> 00:03:04,940 I do a weekly check because I get this question every single week. 44 00:03:06,200 --> 00:03:08,960 Three is to follow my method. 45 00:03:09,560 --> 00:03:10,640 And what do I mean by that? 46 00:03:11,360 --> 00:03:16,130 You see, when you go to the Clarify documentation website that we're going to show you in the next 47 00:03:16,130 --> 00:03:16,920 couple of videos. 48 00:03:17,600 --> 00:03:21,170 My code is going to look different from their code. 49 00:03:22,370 --> 00:03:27,710 This is the documentation on the Clarify website, and we're going to be making predictions, so we're 50 00:03:27,710 --> 00:03:31,970 at the API guide making predictions and we're going to make predictions on images. 51 00:03:32,480 --> 00:03:38,810 And in here shows you how to make predictions via URLs, you URLs of images, which is exactly what 52 00:03:38,810 --> 00:03:39,920 we're going to be doing. 53 00:03:40,880 --> 00:03:45,950 Now, the No one looks really complicated. 54 00:03:45,980 --> 00:03:48,950 We're going to cover that when it comes to G.P.S.. 55 00:03:49,960 --> 00:03:50,950 How this works. 56 00:03:52,780 --> 00:03:57,520 But when you go to their documentation website, it actually is very different from what we're going 57 00:03:57,520 --> 00:03:59,200 to be doing now. 58 00:03:59,230 --> 00:04:06,250 I'm going to be using, like I said, the old method of making this call because it's much simpler, 59 00:04:06,580 --> 00:04:14,170 it's easier to understand it doesn't have all this configuration that we need to add, and it still 60 00:04:14,620 --> 00:04:15,190 works. 61 00:04:16,180 --> 00:04:22,000 So instead of confusing you with all of this, I'm going to show you the old way and then update to 62 00:04:22,000 --> 00:04:22,660 the new way. 63 00:04:22,960 --> 00:04:24,610 At the very end of the course. 64 00:04:25,930 --> 00:04:29,200 As a matter of fact, this is because of something called gRPC. 65 00:04:29,950 --> 00:04:38,020 You see, Clarify recently updated their API to use something called gRPC, which we're going to talk 66 00:04:38,020 --> 00:04:43,150 about at the very end when we finish the project and you have a full understanding of everything. 67 00:04:43,390 --> 00:04:46,120 We're going to update our API to use this. 68 00:04:46,390 --> 00:04:49,450 You're going to learn what it is and why. 69 00:04:49,480 --> 00:04:57,520 Clarify may have done this, but for now, I want you to use my method using what we call a restful 70 00:04:57,520 --> 00:05:01,540 API to build the project because although. 71 00:05:02,990 --> 00:05:11,630 This is the latest version of the Clarify 21:00 package that they recommend using their older version, 72 00:05:11,660 --> 00:05:14,990 even though it says this API client is no longer supported. 73 00:05:15,350 --> 00:05:23,150 Still works and is actually a preferred way of using this API because he uses a restful API architecture, 74 00:05:23,150 --> 00:05:26,750 which is actually way more common in the real world. 75 00:05:27,020 --> 00:05:31,250 So we're going to start off with this and then we're going to update to the latest version. 76 00:05:31,610 --> 00:05:37,160 So again, if you're going through the Clarify documentation website and the code doesn't match what 77 00:05:37,160 --> 00:05:40,520 I show you, trust me on this, it's all going to make sense. 78 00:05:40,760 --> 00:05:41,330 And yet? 79 00:05:42,550 --> 00:05:47,860 Finally, I want to show you a quick little trick that might help you throughout this final project. 80 00:05:48,910 --> 00:05:55,060 You see, I have the code that we're going to write in the next couple of videos here again. 81 00:05:55,240 --> 00:05:57,430 Don't worry if you don't understand any of this. 82 00:05:57,490 --> 00:05:59,500 But I do want to show you one little trick. 83 00:06:00,160 --> 00:06:06,410 We're going to download the clarify npm package and then do import clarify from clarified. 84 00:06:07,150 --> 00:06:16,930 Now, if you ever need to know the model ID, you can always just consult a log clarify. 85 00:06:18,800 --> 00:06:21,110 The very top of the page and app dogs. 86 00:06:21,800 --> 00:06:24,320 And if I were, you run this. 87 00:06:26,750 --> 00:06:30,740 And let's say we had Tom Hanks picture here, detect. 88 00:06:32,420 --> 00:06:33,620 That's going to work for you. 89 00:06:33,680 --> 00:06:34,850 Not yet, but soon. 90 00:06:36,110 --> 00:06:42,740 If I open up the console, you see that I have an object and in here I have all the model IDs. 91 00:06:42,980 --> 00:06:46,820 So we're going to be using the face detect model. 92 00:06:47,840 --> 00:06:52,340 And you can use this ID if it ever asks for an ID. 93 00:06:54,430 --> 00:06:57,640 So what you can do is actually when we. 94 00:07:00,020 --> 00:07:04,400 Scrawled on here again, we're going to write this code, so don't worry too much about it. 95 00:07:05,210 --> 00:07:12,200 So in here, when we use the clarify face to tech model, I can also replace this with the Model ID. 96 00:07:13,370 --> 00:07:15,710 And this is still going to work. 97 00:07:17,960 --> 00:07:22,060 So this is a neat little trick of how to find the model I.D. again. 98 00:07:22,100 --> 00:07:28,520 You'll understand why we might want to find that later on in the course, but this is a little trick 99 00:07:28,520 --> 00:07:31,790 just to remind you of how we might be able to do that. 100 00:07:33,020 --> 00:07:34,160 So there you have it. 101 00:07:34,760 --> 00:07:40,370 I know this is a bit of a random video, but I just wanted to warn you of these five things that you 102 00:07:40,370 --> 00:07:43,730 may think about as we develop the project, but trust me on this. 103 00:07:43,880 --> 00:07:45,080 Follow the process. 104 00:07:45,320 --> 00:07:47,810 And by the end of it, it's all going to make sense. 105 00:07:48,080 --> 00:07:55,700 And by the end of it, you would have overcome a lot of challenges and problems to truly become a self 106 00:07:55,820 --> 00:08:00,050 dependent, self-reliant, a problem-solving web developer. 107 00:08:00,680 --> 00:08:04,730 Let's get started, and let's learn about this mysterious clarify thing.