RawSample class Null safety

Interface object that stores a captured face sample.

Constructors

RawSample(DynamicLibrary dll_handle, Pointer<Void> impl)

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

cutFaceImage(ImageFormatCode imageFormat, FaceCutType cutType) Uint8List
Crop the face and save in the specified format.
imageFormat - Image encoding format.
cutType - Face cropping types.
cutFaceRawImage(Format colorFormat, FaceCutType cutType) RawImageF
Crop face in RawImage format (with raw pixels).
colorFormat - Image color model.
cutType - Face cropping types.
dispose() → void
Removing an object from memory. Must be called manually.
inherited
getAngles() Angles
Get a face orientation.
getID() int
Get a face ID.
getLandmarks() List<double>
Get anthropometric landmarks. Only frontal samples.
return - The vector of anthropometric points in the original image.
getLeftEye() Point
Get a point of the left eye. Only frontal samples.
getRectangle() Rectangle
Get a face bounding rectangle.
getRightEye() Point
Get a point of the right eye. Only frontal samples.
getScore() double
Get the score of the detected face (for samples made with supported single-shot Capturers).
return - One if this RawSample was made with an unsupported detector,otherwise - a number in the range (0 ... 1).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toContext() Context
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited