LocalFaceDetectionPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • LocalFaceDetectionPlatform
Implementers

Constructors

LocalFaceDetectionPlatform()
Constructs a LocalFaceDetectionPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

detectFaces(Uint8List imageBytes, {double scoreThreshold = 0.55, double nmsThreshold = -1}) Future<FaceDetectionResult>
Run face detection against raw image bytes (e.g. PNG/JPEG encoded). Returns a FaceDetectionResult describing any faces found.
disposeFaceDetection() Future<void>
Dispose any resources associated with face detection.
getPlatformVersion() Future<String?>
initializeFaceDetection() Future<void>
Initialize the underlying face detection model/session.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance LocalFaceDetectionPlatform
The default instance of LocalFaceDetectionPlatform to use.
getter/setter pair