Azure Cognitive Services Demo

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
or

Already have an account? Sign In »

Time
14 hours 28 minutes
Difficulty
Intermediate
CEU/CPE
15
Video Transcription
00:00
Hello, Cy Baby ins. Welcome to Lesson 4.4. Off model for off Discuss titled Is that Reserve? One? Microsoft Azure. Hectic Design.
00:10
So there's a very simple lesson is what will be covering.
00:14
I'll start by showing you how to create an azure cognitive service.
00:19
And then I'm gonna show you how to make use of the FBI's on this every week, you know, do some tests.
00:25
So let's start with the first task. We're gonna be creating an agile cognitive service.
00:29
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,
00:43
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
00:53
give it a name. I'll call these deal
00:57
croak Negative
00:59
01
01:00
Specify this description and the location of specify UK South
01:04
on the price Interior House elects the S. O
01:08
and resource Goodbye Previously created a research group called Cyber Remote for how jeez, how selects that with the scoop.
01:15
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
01:23
once I've selected that a great Aunt Leigh can create.
01:29
And
01:30
ladies and gentlemen, it's a simple S stats, Really, That's just within a few seconds.
01:34
So if I click on go to restart stay,
01:37
he can see that's the service has been created. If I click on the overview,
01:41
you can see my end points there.
01:44
And if I click on the keys,
01:46
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
02:05
on. I'll be making a p A calls to the service
02:08
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.
02:19
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
02:38
if I go on the overview and I copy the end point
02:44
and I placed that in there
02:46
on if I go on the keys. Our copy, My first key
02:51
on a paste it done day. Good. So what I'll do is number one. I replaced the key here,
02:58
and I will also repeats the end point. So let's go to the end point
03:06
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
03:12
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
03:24
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
03:38
on if you go down. You can see the AP Hi. Vision 2.1 vision 2.0, which is what I'm using.
03:44
And then you'll be able to see example about to make a P. I calls using whatever fishing that you're using.
03:51
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,
04:00
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.
04:08
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.
04:26
So if I go to my house, your show to show that azure that come on. I pissed the call and I pressed Enter
04:35
And there we go. It's provided our return some information to me.
04:40
It's giving me different categories for the information that I've supplied. So let's move this closer. So next to one another,
04:46
it's saying it's about night. 9% confident that it's out the water
04:51
on DDE. That looks accurate.
04:55
It's telling me the description of the tags that is gonna give two heats based on waves detected.
05:00
And this is the caption that is gonna give two years with night, 1% confidence,
05:05
a lad, waterfall of Iraqi Cliff
05:09
and that looks about accurate ce to me.
05:13
So the next one that I'll be showing you its face detection.
05:15
So let's modify our FBI call
05:20
to include our end points
05:26
and our subscription. So copy my a p. A key
05:30
on our pissed it in there
05:33
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.
05:45
So again you can reveal the documentation. And now, to make this call
05:49
on the image that I'm sending over to hit is this image right here.
05:56
So let's go back to the Cloud Show.
05:59
Let's clear the screen
06:01
and I will piss. That's and our press enter to debts
06:05
and let's see who is detected now.
06:11
So, for example, let's say it's detected agendas Female age to be around 22 official here. Zero.
06:18
That looks about right. I'll say.
06:21
It's also detected that there's no glasses,
06:25
happiness about 0.1% neutral, about 98%
06:31
and sadness, about 0.1%. And surprise, also the same percentage of similar percentage. And that looks about right. Also
06:40
is the tech that fence like the makeup I make up to be true lip makeup to be true
06:46
accessories. No accessories.
06:48
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,
07:08
and I've been making an e p a call
07:10
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,
07:27
and what I'm gonna be doing if I go back,
07:30
is our sense that over,
07:32
and I will need to specify my subscription key. I think I already have the endpoint correct. So I just need my subscription.
07:41
So let's get my subscription key on now puts these in here,
07:46
and if I copy that,
07:49
they go over to the club show on, declare the screen on. If I paste this in there and I press enter
07:58
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.
08:09
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,
08:20
so that's eats for this particular lesson.
08:24
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
Up Next
AZ-301 Microsoft Azure Architect Design

This AZ-301 training covers the skills that are measured in the Microsoft Azure Architect Design certification exam. Learn strategies to plan for the exam, target your areas of study, and gain hands-on experience to prepare for the real world.

Instructed By