Created
March 22, 2018 22:04
-
-
Save juucustodio/07859fa03fa46258611ae9162bad50da 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
using System; | |
using Microsoft.ProjectOxford.Face; | |
using Plugin.Media; | |
using Plugin.Media.Abstractions; | |
using Xamarin.Forms; | |
namespace DemoFaceVerify | |
{ | |
public partial class MainPage : ContentPage | |
{ | |
private readonly IFaceServiceClient _faceServiceClient; | |
private readonly Guid personId; | |
private Guid faceId1; | |
private Guid faceId2; | |
private string filePath1; | |
public MainPage() | |
{ | |
InitializeComponent(); | |
_faceServiceClient = new FaceServiceClient("KEY", "URL"); | |
faceId1 = new Guid(); | |
faceId2 = new Guid(); | |
personId = new Guid("PERSONID"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment