Java Face Pad API¶
oneML model for Presentation Attack Detection (PAD)
-
class
org::sertiscorp::oneml::face
::
FacePad
¶ Public Functions
-
inline synchronized void delete ()
Gracefully destroy the object and free memory.
-
inline
FacePad
(PadType type, LicenseManager manager)¶ Construct a FacePad object of type PadType.
- Parameters
type
: PadType enum.manager
: LicenseManager instance.
-
inline FacePadResultList
classify
(ImageBatch imgs)¶ Classify images as spoof or not spoof.
- Return
an instance of FacePadResultList.
- Parameters
imgs
: an instance of ImageBatch.
-
inline FacePadResultList
classify
(ImageBatch imgs, float spoof_threshold)¶ Classify images as spoof or not spoof.
- Return
an instance of FacePadResultList.
- Parameters
imgs
: an instance of ImageBatch.spoof_threshold
: spoof threshold
-
inline FacePadResult
classify
(Image img)¶ Classify an image as spoof or not spoof.
- Return
an instance of FacePadResult.
- Parameters
img
: an instance of Image.
-
inline FacePadResult
classify
(Image img, float spoof_threshold)¶ Classify an image as spoof or not spoof.
- Return
an instance of FacePadResult.
- Parameters
img
: an instance of Image.spoof_threshold
: spoof threshold
-
-
class
org::sertiscorp::oneml::face
::
FacePadResult
¶ Public Functions
-
inline synchronized void delete ()
Gracefully destroy the object and free memory.
-
inline int
getReturnStatus
()¶ returns return status.
- Return
an int return status.
-
-
org::sertiscorp::oneml::face::FacePadResultList : public java::util::AbstractList< FacePadResult > , public java.util.RandomAccess
Public Functions
-
inline synchronized void delete ()
Gracefully destroy the object and free memory.
-
-
namespace
org::sertiscorp::oneml
::
face
-
enum
FacePadStatus
¶ Public Members
-
Empty =(FaceJNI.FacePadStatus_Empty_get())
-
Success =(FaceJNI.FacePadStatus_Success_get())
-
DigitalPadFail =(FaceJNI.FacePadStatus_DigitalPadFail_get())
-
PaperPadFail =(FaceJNI.FacePadStatus_PaperPadFail_get())
-
-
enum
-
namespace
org::sertiscorp::oneml
::
face
-
enum
PadType
¶ Public Members
-
Rgb
-
Paper
-
-
enum