.NET MAUI
This is a .NET MAUI-specific Face SDK installation guide. Before proceeding further, make sure you've read the Installation page and have selected the Core type to install.
Requirements
- The latest stable version of Visual Studio
- For iOS, the minimum target is iOS 11.0
- For Android, the minimum Android API level is 21
Installation
The Face SDK is available on NuGet.
Run the following commands to add the SDK to the project:
dotnet add package Xamarin.Regula.FaceApi.iOS
dotnet add package Xamarin.FaceCore.Basic.iOS
dotnet add package Xamarin.Regula.FaceApi.Android
dotnet add package Xamarin.FaceCore.Basic.Droid
dotnet add package Xamarin.Regula.FaceApi.iOS
dotnet add package Xamarin.FaceCore.Match.iOS
dotnet add package Xamarin.Regula.FaceApi.Android
dotnet add package Xamarin.FaceCore.Match.Droid
Then initialize the Core framework for iOS in AppDelegate.cs
:
public override bool FinishedLaunching(UIApplication app, NSDictionary options) {
new FaceCoreSDK.iOS.FaceSDK();
...
Info
You can always use our demo application on GitHub.