Java EKYC API

oneML module to run ekyc pipeline.

class org::sertiscorp::oneml::face::EKYCOps

Public Functions

inline synchronized void delete ()

Gracefully destroy the object and free memory.

inline EKYCOps(boolean blur_check, boolean face_blur_check, boolean pad_check, boolean pose_check)

Construct an EKYCOps object.

Parameters
  • blur_check: whether to run blur check.

  • face_blur_check: whether to run face blur check.

  • pad_check: whether to run digital and paper pad checks.

  • pose_check: whether to run face pose check.

class org::sertiscorp::oneml::face::EKYC

Public Functions

inline synchronized void delete ()

Gracefully destroy the object and free memory.

inline EKYC(LicenseManager manager)

Construct an EKYC object.

Parameters
  • manager: LicenseManager.

inline EKYC(FaceDetector face_detector, FaceEmbedder face_embedder, LicenseManager manager)

Construct an EKYC object.

Parameters
  • face_detector: FaceDetector.

  • face_embedder: FaceEmbedder.

  • manager: LicenseManager.

inline EKYC(FaceEmbedder face_embedder, LicenseManager manager)

Construct an EKYC object.

Parameters
  • face_embedder: FaceEmbedder.

  • manager: LicenseManager.

inline EKYC(FaceDetector face_detector, LicenseManager manager)

Construct an EKYC object.

Parameters
  • face_detector: FaceDetector.

  • manager: LicenseManager.

inline EKYCResult run(Image image1, Image image2, EKYCOps image1_ops, EKYCOps image2_ops)

Run EKYC pipeline.

Return

an instance of EKYCResult.

Parameters
  • image1: image1, an instance of Image.

  • image2: image2, an instance of Image.

  • image1_ops: EKYCOps for image1.

  • image2_ops: EKYCOps for image2.

inline EKYCResult run(Image image1, Image image2, EKYCOps image1_ops, EKYCOps image2_ops, float same_person_dist_threshold)

Run EKYC pipeline.

Return

an instance of EKYCResult.

Parameters
  • image1: image1, an instance of Image.

  • image2: image2, an instance of Image.

  • image1_ops: EKYCOps for image1.

  • image2_ops: EKYCOps for image2.

  • same_person_dist_threshold: same person distance threshold

class org::sertiscorp::oneml::face::EKYCResult

Public Functions

inline synchronized void delete ()

Gracefully destroy the object and free memory.

inline float getDistance()

Get distance between image1 and image2.

Return

float

inline boolean isSamePerson()

Return whether the two input images are the same person.

Return

bool

inline int getReturnStatus()

Get return status.

Return

int

inline FacePoseList getFacePoses()

Get the image1 and image2 cropped face Pose values.

Return

an instance of FacePostList.

inline Landmark5List getLandmarks()

Get the image1 and image2 cropped face FaceLandmark5 objects.

Return

an instance of Landmark5List.

inline BBoxList getBBoxes()

Get the image1 and image2 cropped face BBox objects.

Return

an instance of BBoxList.

inline FloatList getBBoxScores()

Get the image1 and image2 cropped face BBox scores.

Return

an instance of FloatList.

namespace org::sertiscorp::oneml::face
enum EKYCStatus

Public Members

Empty =(FaceJNI.EKYCStatus_Empty_get())
Success =(FaceJNI.EKYCStatus_Success_get())
ImageBlurCheckFail =(FaceJNI.EKYCStatus_ImageBlurCheckFail_get())
DigitalPadFail =(FaceJNI.EKYCStatus_DigitalPadFail_get())
PaperPadFail =(FaceJNI.EKYCStatus_PaperPadFail_get())
NoFaceFound =(FaceJNI.EKYCStatus_NoFaceFound_get())
FaceBlurCheckFail =(FaceJNI.EKYCStatus_FaceBlurCheckFail_get())
FaceNotFrontal =(FaceJNI.EKYCStatus_FaceNotFrontal_get())