Face SDK is a framework that is used for face matching, recognition, and liveness detection.
- Download or clone this repository using the command
git clone https://github.com/regulaforensics/Xamarin-FaceSDK.git
. - Open the project and run it.
- Place a license that supports offline match at
Resources/Raw/regula.license
. - Change android and iOS bundle id if required by your license.
For android in
Platforms/Android/AndroidManifest.xml
changemanifest.package
. For iOS inPlatforms/iOS/Info.plist
changeCFBundleIdentifier
. - Change core in
FaceSample.csproj
: ReplaceXamarin.FaceCore.Basic.iOS
withXamarin.FaceCore.Match.iOS
. ReplaceXamarin.FaceCore.Basic.Droid
withXamarin.FaceCore.Match.Droid
. Adjust versions of changed packages if needed, beware that versions of basic and match cores may be different. You can always check them at nuget.org. - Turn off the internet and run the app.
Devices that do not have Google Mobile Services (GMS) such as Huawei need to include the Huawei Vision library. Add our Huawei Vision package to your project that can be found here.
You can find documentation on API here.
If you have any technical questions, feel free to contact us or create issues here.