Created
March 22, 2018 21:20
-
-
Save juucustodio/4d35ef1a8e683f7b78c27d03e2a48748 to your computer and use it in GitHub Desktop.
This example show how to building a Xamarin.Forms applications using Microsoft Cognitive Services to identify if two pictures are from same person - http://julianocustodio.com/face-verify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:local="clr-namespace:DemoFaceVerify" | |
x:Class="DemoFaceVerify.MainPage"> | |
<StackLayout> | |
<StackLayout Orientation="Horizontal" | |
HorizontalOptions="Center" | |
VerticalOptions="Center" BackgroundColor="DarkSlateGray"> | |
<Image x:Name="MinhaImagem1" Aspect="AspectFill" HeightRequest="200" | |
WidthRequest="400" HorizontalOptions="CenterAndExpand" /> | |
</StackLayout> | |
<Button Text="Tirar Foto 1" Clicked="TakePicture1" FontSize="20" /> | |
<StackLayout Orientation="Horizontal" | |
HorizontalOptions="Center" | |
VerticalOptions="Center" BackgroundColor="DarkSlateGray"> | |
<Image x:Name="MinhaImagem2" Aspect="AspectFill" HeightRequest="200" | |
WidthRequest="400" HorizontalOptions="CenterAndExpand" /> | |
</StackLayout> | |
<Button Text="Tirar Foto 2" Clicked="TakePicture2" FontSize="20" /> | |
<Button Text="Verificar" Clicked="FaceVerify" BackgroundColor="Blue"/> | |
</StackLayout> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment