Hello, Cy Baby ins. Welcome to Lesson 4.4. Off model for off Discuss titled Is that Reserve? One? Microsoft Azure. Hectic Design.
So there's a very simple lesson is what will be covering.
I'll start by showing you how to create an azure cognitive service.
And then I'm gonna show you how to make use of the FBI's on this every week, you know, do some tests.
So let's start with the first task. We're gonna be creating an agile cognitive service.
We're gonna get an A p i ke and is gonna expose it in endpoints. Let's quiet to do That's heavy. I am logged into the azure portal. If I click on Creator is us on, I type in cognitive,
and I have cognitive service is there? So what I'll do is I want to create the parent service itself. So I select cognitive service is likely can create
give it a name. I'll call these deal
Specify this description and the location of specify UK South
on the price Interior House elects the S. O
and resource Goodbye Previously created a research group called Cyber Remote for how jeez, how selects that with the scoop.
How confirmed that I've read and understood and not is below this around data that will be sent Tobin Service's and Microsoft the use of that data
once I've selected that a great Aunt Leigh can create.
ladies and gentlemen, it's a simple S stats, Really, That's just within a few seconds.
So if I click on go to restart stay,
he can see that's the service has been created. If I click on the overview,
you can see my end points there.
And if I click on the keys,
you can see the keys that I mentioned there. So that's looking good. Let's move on to the next task for the next task. What are we doing? This I'll be using Call, which is available in the azure cloud, shall also on what out dough is. Are we providing my cognitive service? A p i n point on the A p I ke isn't call
on. I'll be making a p A calls to the service
and our expects to get a response back, and I'll be showing your three different cases. So here's what I'll be showing you. I'm gonna start forced by showing your division a p I.
And that's an example of how to make an http call or arrest call toe that service. So what I need to do is number one. I need to replace this and point you are well, and then I need to put in my subscription key. I'll go to copy those two information and make them available here. And this document
if I go on the overview and I copy the end point
and I placed that in there
on if I go on the keys. Our copy, My first key
on a paste it done day. Good. So what I'll do is number one. I replaced the key here,
and I will also repeats the end point. So let's go to the end point
and let's make that kid. So that's looking. So what I'm doing is I'm gonna be making a call to the end point
using my AP ikey, which is gonna identify my service. I'm gonna make it an end point to division category, and I'm gonna be using division of the A p I on. I'm gonna be specifying I want to analyze this image and
if you're looking to get more information on what I'm doing here. You can always go in the quick stats. You have the documentation for each of the different AP I saw. For example, you can click on computer vision, analyze images
on if you go down. You can see the AP Hi. Vision 2.1 vision 2.0, which is what I'm using.
And then you'll be able to see example about to make a P. I calls using whatever fishing that you're using.
So let's go back to my note pad document. What I'm gonna be doing is I'm gonna be supplying an image to the service to the FBI,
and the hymn is I'm gonna be supplying It's this image and I wanted to analyze this image and tell me what content exist in it.
So let's go back to copy deaths on. I want to also mention to you that I'm pipe in these into Jake you, which the Jason formatting. True, if I do not include Jake, you I would just get a bunch of information that's no well formatted. So that's why Madden Jake you to that.
So if I go to my house, your show to show that azure that come on. I pissed the call and I pressed Enter
And there we go. It's provided our return some information to me.
It's giving me different categories for the information that I've supplied. So let's move this closer. So next to one another,
it's saying it's about night. 9% confident that it's out the water
on DDE. That looks accurate.
It's telling me the description of the tags that is gonna give two heats based on waves detected.
And this is the caption that is gonna give two years with night, 1% confidence,
a lad, waterfall of Iraqi Cliff
and that looks about accurate ce to me.
So the next one that I'll be showing you its face detection.
So let's modify our FBI call
to include our end points
and our subscription. So copy my a p. A key
on our pissed it in there
on. What are we doing? Is Harvey supplying an image on? I wanted to analyze our the I wanted to analyze the image, especially when it comes to face detection.
So again you can reveal the documentation. And now, to make this call
on the image that I'm sending over to hit is this image right here.
So let's go back to the Cloud Show.
Let's clear the screen
and I will piss. That's and our press enter to debts
and let's see who is detected now.
So, for example, let's say it's detected agendas Female age to be around 22 official here. Zero.
That looks about right. I'll say.
It's also detected that there's no glasses,
happiness about 0.1% neutral, about 98%
and sadness, about 0.1%. And surprise, also the same percentage of similar percentage. And that looks about right. Also
is the tech that fence like the makeup I make up to be true lip makeup to be true
accessories. No accessories.
Yeah, color Toby Brown And that's it's confident of that. And that looks about right, so it sometimes done a good job of analysing this image. Finally, I'll show you the CEO integration where I can extract text or suitable text from printed text,
and I've been making an e p a call
and I'll be sending a printed text. So does the texted. I'll be sending this one right here says nothing exists except that on the name to space, everything else his opinion. So that's just the printer text. It could be anything that you're sending. I want to turn this into a searchable text,
and what I'm gonna be doing if I go back,
is our sense that over,
and I will need to specify my subscription key. I think I already have the endpoint correct. So I just need my subscription.
So let's get my subscription key on now puts these in here,
they go over to the club show on, declare the screen on. If I paste this in there and I press enter
Andi, I know because we're using Jake you to format. It is proper Jason. It looks all a bit scattered, but you can see that it's identifying the text. So text in Causton nothing Texaco's to exist.
Texaco's toe accept Texaco's to atoms, and you can see that it's detected the texts that it on. What we can do is we can extract these as suitable text,
so that's eats for this particular lesson.
Thanks very much for sticking with me. As I went through the demo, I hope you found it useful and infirm. A tive. I'll see you in the next model