Config class

Constructors

Config({List<LivenessType>? livenessTypeList, bool? livenessRandom, double? blurnessValue, double? brightnessValue, int? cropFaceValue, int? headPitchValue, int? headRollValue, int? headYawValue, int? minFaceSize, double? notFaceSize, bool? checkFaceQuality, double? occlusionValue, bool? sound})
const

Properties

blurnessValue double?
模糊度范围 0-1 推荐小于0.7
final
brightnessValue double?
光照范围 0-1 推荐大于40(?官方文档是这么写的)
final
checkFaceQuality bool?
是否进行质量检测
final
cropFaceValue int?
剪裁人脸大小
final
hashCode int
The hash code for this object.
no setterinherited
headPitchValue int?
人脸 ya, pitch, row角度范围 -45-45 推荐 -15-15
final
headRollValue int?
final
headYawValue int?
final
livenessRandom bool?
动作是否随机
final
livenessTypeList List<LivenessType>?
活体动作
final
minFaceSize int?
最小检测人脸 (在图片人脸能够被检测到最小值) 80-200 越小越耗性能, 推荐120-200
final
notFaceSize double?
final
occlusionValue double?
人脸遮挡范围 0-1 推荐小于0.5
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sound bool?
是否开启提示音
final

Methods

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

Operators

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