DetectFacesConfig class

Custom configuration for DetectFacesRequest.

Constructors

DetectFacesConfig({List<DetectFacesAttribute>? attributes, List<ImageQualityCharacteristic>? customQuality, OutputImageParams? outputImageParams, bool onlyCentralFace = false})

Properties

attributes List<DetectFacesAttribute>?
Current array for the face image detection attributes.
getter/setter pair
customQuality List<ImageQualityCharacteristic>?
Current array for the face image quality assessment rules.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
onlyCentralFace bool
Whether to process only the central face on the image or all the faces. If set to true, the SDK detects and processes only one—the most central face in the image. If set to false, the SDK processes all faces in the image. Default is false.
getter/setter pair
outputImageParams OutputImageParams?
If set the uploaded image is processed according to the indicated settings.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(dynamic jsonObject) DetectFacesConfig?