face_sdk library Null safety

FaceSDK plugin. Main module.

To get started with FaceSDK, you need to call the FaceSdkPlugin.createFacerecService (or FacerecService.createService) method to create an interface object for interacting with the library.

Classes

ActiveLivenessStatus
Object for a complete description of the state of active liveness assessment
Angles
Face orientation angles.
AsyncCapturer
AsyncProcessingBlock
AsyncRecognizer
AsyncVideoWorker
Capturer
Interface object for detecting or tracking of faces in the images or video sequences
Config
A class used to override the configuration parameters at runtime.
Context
DataBaseElement
EyesOpennessResult
FaceAttributesEstimator
FacerecService
Interface object for creating other objects.
FaceSdkPlugin
Base class of FaceSDK flutter plugin for creating FacerecService.
Liveness2DEstimator
Interface object for liveness evaluation.
LivenessResult
MatchResult
Template matching result.
Point
3D point.
PointerBuffer<T extends NativeType>
ProcessingBlock
Interface object used to work with estimators from Processing Block API.
RawImageF
Struct that provides raw image data.
RawSample
Interface object that stores a captured face sample.
Recognizer
Interface object for creating and matching templates.
Rectangle
Rectangle in an image.
SearchResult
Result of searching the Template query in the TemplatesIndex.
StiPersonOutdatedCallbackData
StiPersonOutdated callback data.
StructStorageFields
Template
Interface object for saving the face template.
TemplateCreatedCallbackData
TemplateCreated callback data.
TemplateIndex
Interface object for saving the face template.
TrackingCallbackData
Tracking callback data.
TrackingData
Class containing tracking data (TrackingCallbackData, TemplateCreatedCallbackData, TrackingLostCallbackData).

Returned when calling the VideoWorker.poolTrackResults method.
TrackingLostCallbackData
TrackingLost callback data.
TrackingMatchFoundCallbackData
TrackingMatchFound callback data.
VideoWorker
VideoWorker is an interface object for tracking, processing and matching faces.

We recommend you to use VideoWorker instead of Capturer for face tracking on video streams. When VideoWorker is created with matching_thread=0 and processing_thread=0, then the standard Capturer license is used.
VideoWorkerParams
Parameters of the VideoWorker constructor.
VWSearchResult
WrapBytesWrite

Functions

checkException(Pointer<Pointer<Void>> exception, DynamicLibrary dll_handle) → void
readFunc(Pointer<Void> stream, Pointer<Void> data, int bytesCount) → void
tdvCheckException(Pointer<Pointer<Void>> exception, DynamicLibrary dll_handle) → void
writeFunc(Pointer<Void> stream, Pointer<Void> data, int bytesCount) → void

Enums

ActiveLiveness
Active liveness check state.
ActiveLivenessCheckType
Check type for active liveness.
ContextFormat
FaceCutType
Face cropping types.
Format
Image data format.
ImageFormatCode
Image formats for saving.
LivenessVerdict
Estimated liveness.
SearchAccelerationType
Types of search acceleration.

Typedefs

binary_stream_read_func = Void Function(Pointer<Void>, Pointer<Void>, Uint64)
binary_stream_write_func = Void Function(Pointer<Void>, Pointer<Void>, Uint64)
binary_stream_write_func_type = Void Function(Pointer<Void>, Pointer<Uint8>, Int32)