MLFaceAnalyzerSetting class

Constructors

MLFaceAnalyzerSetting({required String path, int? featureType, int? keyPointType, bool? maxSizeFaceOnly, double? minFaceProportion, int? performanceType, bool? poseDisabled, int? shapeType, bool? tracingAllowed, int? tracingMode})

Properties

featureType int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
keyPointType int?
getter/setter pair
maxSizeFaceOnly bool?
getter/setter pair
minFaceProportion double?
getter/setter pair
path String
getter/setter pair
performanceType int?
getter/setter pair
poseDisabled bool?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shapeType int?
getter/setter pair
tracingAllowed bool?
getter/setter pair
tracingMode int?
getter/setter pair

Methods

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

Operators

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

Constants

modeTracingFast → const int
Fast tracking mode. In this mode, detection and tracking are performed at the same time. Initial detection has a delay, but the detection during tracking is fast. When used together with the speed preference mode, this mode can make the greatest improvements to the detection performance.
modeTracingRobust → const int
Common tracking mode. In this mode, initial detection is fast, but the performance of detection during tracking will be affected by face re-detection every several frames. The detection result in this mode is stable.
typeFeatureAge → const int
Detects the age.
typeFeatureBeard → const int
Detects whether a person has a beard.
typeFeatureEmotion → const int
Detects facial expressions.
typeFeatureEyeglass → const int
Detects whether a person wears glasses.
typeFeatureGender → const int
Detects the gender.
typeFeatureHat → const int
Detects whether a person wears a hat.
typeFeatureOpenCloseEye → const int
Detects eye opening and eye closing.
typeFeatures → const int
Detects all facial features and expressions.
typeKeyPoints → const int
Precision preference mode. This mode will detect more faces and be more precise in detecting key points and contours, but will run slower.
typePrecision → const int
Precision preference mode. This mode will detect more faces and be more precise in detecting key points and contours, but will run slower.
typeShapes → const int
Detects facial contours.
typeSpeed → const int
Speed preference mode. This mode will detect fewer faces and be less precise in detecting key points and contours, but will run faster.
typeUnsupportedFeatures → const int
Detects only basic data: including contours, key points, and three-dimensional rotation angles; does not detect facial features or expressions.
typeUnsupportedKeyPoints → const int
Does not detect key face points.
typeUnsupportedShapes → const int
Does not detect facial contours.