Faceplugin Docs
  • Welcome to Faceplugin
  • Face Recognition SDK
    • Face Recognition Android SDK
    • Face Recognition iOS SDK
    • Face Recognition React Native SDK
    • Face Recognition Flutter SDK
    • Face Recognition Ionic-Cordova SDK
    • Face Recognition Dot Net SDK
    • Open Source Face Recognition Windows SDK
    • Open Source Face Recognition Linux SDK
    • Open Source Face Recognition Javascript SDK
    • Open Source Face Recognition React SDK
    • Open Source Face Recognition Vue SDK
  • Liveness Detection SDK
    • Liveness Detection Android SDK
    • Liveness Detection iOS SDK
    • Liveness Detection Linux SDK
  • Palm Recognition SDK
    • Palm Recognition SDK
  • Request a License & Support
  • Contact US
Powered by GitBook
On this page
  • Code
  • Setup
  • APIs
  1. Face Recognition SDK

Face Recognition Dot Net SDK

Face recognition Dot Net SDK with liveness detection

PreviousFace Recognition Ionic-Cordova SDKNextOpen Source Face Recognition Windows SDK

Last updated 2 months ago

Code

Setup

  1. CopyFacepluginSDK.dll to your project.

  2. Include FaceSDK.cs to your project.

APIs

GetHardwareId: This API is used to get hardware id of the device on which this SDK is running on

public String GetHardwareId()

Activate: This API is used to activate the SDK

public int Activate(String license)

Init: This API is used to initialize the SDK call these functions

public int Init(string modelPath)

DetectFace: This API is used to detect faces, face liveness and get face attributes including yaw, roll, pitch, eye closedness, face occlusion, call these functions

public int DetectFace(byte[] rgbData, int width, int height, int stride, [In, Out] ResultBox[] faceBoxes, int faceBoxCount)

Compare: This API is used to get the similarity of two face images

public int Compare(byte[] rgbData1, int width1, int height1, int stride1, byte[] rgbData2, int width2, int height2, int stride2, [In, Out] float[] similarity)

GitHub - Faceplugin-ltd/FaceRecognition-.Net: Face recognition SDK .NET MAUI (formerly Xamarin) and CSharp with 3D passive liveness detection (Face Detection, Face Landmarks, Face Recognition, Face Liveness, Face Pose, Face Expression, Face attributes)GitHub
Logo