|
5 | 5 | <GridLayout rows="6/8*, 2/8*"> |
6 | 6 | <GridLayout row="0"> |
7 | 7 | <MLKitFaceDetection |
8 | | - width="100%" height="100%" |
| 8 | + width="100%" |
| 9 | + height="100%" |
9 | 10 | processEveryNthFrame="30" |
10 | 11 | (scanResult)="onFaceDetectionResult($event)"> |
11 | 12 | </MLKitFaceDetection> |
12 | | - |
| 13 | + |
13 | 14 | <GridLayout rows="*, 250, *" columns="*, 5/6*, *"> |
14 | | - <Label class="mask" row="0" col="0" colSpan="3"></Label> |
| 15 | + <Label class="mask" row="0" col="0" colSpan="3"></Label> |
15 | 16 | <Label class="mask" row="2" col="0" colSpan="3"></Label> |
16 | | - <Label class="mask" row="1" col="0"></Label> |
| 17 | + <Label class="mask" row="1" col="0"></Label> |
17 | 18 | <Label class="mask" row="1" col="2"></Label> |
18 | 19 | <GridLayout row="1" col="1" rows="1/6*, *, 1/6*" columns="1/6*, *, 1/6*"> |
19 | 20 | <Label class="frame-top-left" row="0" col="0"></Label> |
|
33 | 34 | <Label height="1" marginBottom="1" borderBottomWidth="1" borderColor="rgba(81, 184, 237, 1)"></Label> |
34 | 35 | </StackLayout> |
35 | 36 | </GridLayout> |
36 | | - <Label row="0" col="1" class="text-center c-white" textWrap="true" color="white" verticalAlignment="center" text="The scanner has been configured to detect faces every 30th frame (default is 10). You can tweak this in your usage of the plugin."></Label> |
| 37 | + <Label row="0" col="1" class="text-center c-white" textWrap="true" color="white" verticalAlignment="center" text="The scanner has been configured to detect faces every 30th frame (default is 10). You can tweak this in your usage of the plugin."></Label> |
37 | 38 | <StackLayout row="2" col="0" colSpan="3"> |
38 | | - <Label [text]="mlKitAllOK" textWrap="true" class="m-t-5 c-purple"></Label> |
39 | | - <GridLayout row="auto" columns="*, *, *" class="m-t-5"> |
40 | | - <Label row="0" col="0" class="mlkit-result font-weight-bold" textWrap="true" text="Smiling"></Label> |
41 | | - <Label row="0" col="1" class="mlkit-result font-weight-bold" textWrap="true" text="Left 👁 open"></Label> |
42 | | - <Label row="0" col="2" class="mlkit-result font-weight-bold" textWrap="true" text="Right 👁 open"></Label> |
43 | | - </GridLayout> |
44 | | - </StackLayout> |
| 39 | + <Label [text]="mlKitAllOK" textWrap="true" class="m-t-5 c-purple"></Label> |
| 40 | + <GridLayout row="auto" columns="*, *, *" class="m-t-5"> |
| 41 | + <Label row="0" col="0" class="mlkit-result font-weight-bold" textWrap="true" text="Smiling"></Label> |
| 42 | + <Label row="0" col="1" class="mlkit-result font-weight-bold" textWrap="true" text="Left 👁 open"></Label> |
| 43 | + <Label row="0" col="2" class="mlkit-result font-weight-bold" textWrap="true" text="Right 👁 open"></Label> |
| 44 | + </GridLayout> |
| 45 | + </StackLayout> |
45 | 46 | </GridLayout> |
46 | 47 | </GridLayout> |
47 | 48 | <ListView backgroundColor="black" row="1" [items]="faces"> |
|
0 commit comments