1
00:00:00,390 --> 00:00:01,000
Hi, guys.

2
00:00:01,350 --> 00:00:04,210
So in this video, we will complete our application.

3
00:00:04,230 --> 00:00:06,370
Now we are here with this step.

4
00:00:06,720 --> 00:00:09,810
We have this two buttons we have to frame and tighten.

5
00:00:10,320 --> 00:00:17,400
Now, what we have to do, we have to create a label that it's here in this frame so that we when we

6
00:00:17,400 --> 00:00:22,920
import any image or when we open an image, we will be displayed on this label.

7
00:00:23,130 --> 00:00:28,740
And the same thing will create here a label which will take the text of the production means that's

8
00:00:28,740 --> 00:00:32,280
the name of the of the bird with the probability.

9
00:00:32,790 --> 00:00:38,730
So here we will do it here for for the label, for the for the image.

10
00:00:38,970 --> 00:00:41,300
We create this here and this zone.

11
00:00:41,910 --> 00:00:46,800
So we're going to call it, for example, brand image.

12
00:00:46,980 --> 00:00:50,580
Why not then it will be labeled, as we said.

13
00:00:50,580 --> 00:00:52,050
So here we have label.

14
00:00:53,610 --> 00:01:01,680
Then we will put it in the frame, which is images like this, then the for the for the color, which

15
00:01:01,680 --> 00:01:07,680
is not the same color of the background of this of this frame, so that it will not be visible.

16
00:01:08,220 --> 00:01:15,150
So here we have the full background and I will only copy this.

17
00:01:16,130 --> 00:01:28,160
And now we have brand image that's back what it is, but now we will see here there is nothing we can

18
00:01:28,160 --> 00:01:28,710
see nothing.

19
00:01:28,730 --> 00:01:28,970
Why?

20
00:01:28,970 --> 00:01:31,800
Because here label is empty.

21
00:01:32,150 --> 00:01:35,140
We didn't put any dates or anything like that.

22
00:01:35,420 --> 00:01:42,140
So for, as we can see, nothing where I'm using this because we use some the function coffee, which

23
00:01:42,140 --> 00:01:47,540
is will help us to put any stuff like image or text on the frame.

24
00:01:47,720 --> 00:01:54,770
And in any place we don't we don't have to put them here or we don't have to create a new label or we

25
00:01:54,770 --> 00:01:57,530
don't have to clear a label to put something on it.

26
00:01:57,560 --> 00:02:00,260
No, we don't need any of that.

27
00:02:00,560 --> 00:02:09,290
So, for example, if I want to put a text on this on the same label, but after clicking on the button,

28
00:02:09,290 --> 00:02:12,050
for example, this one, so I will show you how we can do it.

29
00:02:12,360 --> 00:02:16,280
For example, here we have command for this one.

30
00:02:16,280 --> 00:02:21,050
For example, we call it open or we could choose.

31
00:02:21,950 --> 00:02:23,390
Image like this.

32
00:02:23,660 --> 00:02:33,200
OK, and I will define the function only here, so we had done choose an image like this and now I want

33
00:02:33,200 --> 00:02:33,410
that.

34
00:02:33,410 --> 00:02:38,660
If I would look in the button, I will put a text on that frame or on that label, which should be in

35
00:02:38,660 --> 00:02:39,260
the frame.

36
00:02:39,710 --> 00:02:41,670
That label is on the frame.

37
00:02:41,690 --> 00:02:44,640
So if I was a different label will be different.

38
00:02:46,070 --> 00:02:52,640
So here's what that's what you need to do is only to to write the name of the label, which is brand

39
00:02:52,640 --> 00:02:53,060
image.

40
00:02:53,430 --> 00:02:56,810
Then here we call the function config, this one.

41
00:02:57,320 --> 00:03:01,980
And now inside this parentheses, we can't put any other parameters that we have here.

42
00:03:02,300 --> 00:03:08,630
So even when we created the label, we could we have this parameter for the background, we have parameter

43
00:03:08,640 --> 00:03:14,750
for the foreground, we have for the font, we have for the text and for the image and stuff like that.

44
00:03:15,020 --> 00:03:18,560
So we can use all of these parameters here for this function.

45
00:03:18,560 --> 00:03:18,940
Coffee.

46
00:03:19,190 --> 00:03:25,160
So here I know that if I click, for example, I will create a text, for example, saying hello like

47
00:03:25,160 --> 00:03:27,990
this, so I will run it again.

48
00:03:28,010 --> 00:03:31,300
Now you can see that there is no text or anything here.

49
00:03:31,310 --> 00:03:33,170
If I will click, we see this.

50
00:03:33,770 --> 00:03:40,090
But if I really click another time, we will not see all the stuff here because we are not creating

51
00:03:40,100 --> 00:03:42,430
new label, but only one label.

52
00:03:42,650 --> 00:03:43,970
But we are updating.

53
00:03:43,970 --> 00:03:49,820
It means that we are changing the values of the label or the text of that label means that if we have

54
00:03:49,820 --> 00:03:56,810
a text here and I will click automatically, it will clear the Fed label and put the new text, which

55
00:03:56,810 --> 00:03:58,020
is always hello.

56
00:03:58,430 --> 00:04:02,360
OK, so here the same thing for the other button.

57
00:04:02,360 --> 00:04:05,000
But this is this was only an example.

58
00:04:05,000 --> 00:04:08,380
I will put it past here because we will come back to it after.

59
00:04:08,780 --> 00:04:12,790
Now we need to create the other label which is here for the results.

60
00:04:13,310 --> 00:04:16,490
So for that I will click here.

61
00:04:16,490 --> 00:04:25,100
For example, the results, the zone, why not then here it will be labeled, then we will put it in

62
00:04:25,100 --> 00:04:31,270
the nine for the we don't need anything only for the background which are the same thing.

63
00:04:31,280 --> 00:04:34,520
So it will not be visible then.

64
00:04:34,520 --> 00:04:34,910
That's it.

65
00:04:34,940 --> 00:04:37,880
So here we have results on that.

66
00:04:37,910 --> 00:04:42,560
But like this I would boissiere so the same thing.

67
00:04:42,560 --> 00:04:46,100
We can see nothing for the moment because we didn't put any stuff on it.

68
00:04:46,340 --> 00:04:50,750
If we wanted to test this, if it is OK or not, we can choose here.

69
00:04:50,750 --> 00:04:55,000
For example, we call it resource zone.

70
00:04:55,010 --> 00:04:57,410
That's config like this.

71
00:04:57,410 --> 00:05:01,730
And here I can put it like this.

72
00:05:02,570 --> 00:05:03,840
So we test it.

73
00:05:03,860 --> 00:05:05,780
If I look here, you can see this.

74
00:05:05,780 --> 00:05:07,570
Hello right here.

75
00:05:08,330 --> 00:05:19,520
Now what I will do, I will only take this off I, I will at the bus or I will leave it because I want

76
00:05:19,520 --> 00:05:21,170
to verify something.

77
00:05:21,350 --> 00:05:28,220
I want to change the color and the font of that to only the size of the front of this label.

78
00:05:28,220 --> 00:05:30,170
So I was here for example.

79
00:05:30,680 --> 00:05:40,220
Font equals so here I will leave this none that I will join in for example and go like this.

80
00:05:40,220 --> 00:05:44,880
OK, and for the foreground I want to put is white also.

81
00:05:44,880 --> 00:05:53,420
So here foreground because as you can see the the black one is not that visible with that color of the

82
00:05:53,420 --> 00:05:53,840
background.

83
00:05:54,110 --> 00:05:59,240
So we should put it something like this later so we can see it now.

84
00:05:59,240 --> 00:06:03,170
I will run it again if I click here we have this.

85
00:06:03,170 --> 00:06:03,620
Hello.

86
00:06:03,620 --> 00:06:07,610
Something like it does so not I would only do something here.

87
00:06:08,660 --> 00:06:12,530
What is it for the for this one here.

88
00:06:12,530 --> 00:06:13,600
I will do some.

89
00:06:13,610 --> 00:06:16,130
But why it will then.

90
00:06:16,130 --> 00:06:16,460
I will.

91
00:06:16,790 --> 00:06:18,270
For example, 2010.

92
00:06:19,300 --> 00:06:20,390
I am writing here.

93
00:06:20,850 --> 00:06:22,640
That is a problem here.

94
00:06:23,090 --> 00:06:26,600
So we have ten then zero like it is.

95
00:06:28,500 --> 00:06:30,280
What is the.

96
00:06:33,720 --> 00:06:36,120
But any problem?

97
00:06:36,330 --> 00:06:36,710
Yeah.

98
00:06:38,010 --> 00:06:40,910
But I am right here.

99
00:06:41,790 --> 00:06:47,030
So here we have but like this now, if I click here, we can see nothing.

100
00:06:47,040 --> 00:06:49,670
I did only a bad thing here often.

101
00:06:49,980 --> 00:06:51,600
So here is the title.

102
00:06:51,610 --> 00:06:56,880
Now, what we have to do, we have only to integrate these two functions, which means only this function

103
00:06:56,880 --> 00:06:58,460
because this function will use this one.

104
00:06:58,590 --> 00:07:01,920
So only once we have to do we call only this function.

105
00:07:02,250 --> 00:07:09,840
So we use this function with this to return the Predix class and the different class and the probability

106
00:07:10,200 --> 00:07:16,530
that we will use them for the prediction of our for our our work.

107
00:07:16,770 --> 00:07:23,080
So what we have to do for this button, first button, this one for this one for the opening.

108
00:07:23,130 --> 00:07:27,330
So in this one, we'll use a five dialog so that it will open the button.

109
00:07:27,600 --> 00:07:32,210
Then the second button, which is this one, we'll use it for the prediction path.

110
00:07:32,220 --> 00:07:37,020
So we stopped this video here and we'll complete in the next video by.
