PoseDetector class
A detector that processes the input image and return list of PoseLandmark.
To gt an instance of the class create PoseDetectorOptions
final options = PoseDetectorOptions(
poseDetectionModel: PoseDetectionModel.AccuratePoseDetector,
poseDetectionMode: PoseDetectionMode.StaticImage);
// Note : [PoseDetectorOptions] is optional parameter,if not given it gives [PoseDetector] with default options
PoseDetector poseDetector = GoogleMlKit.instance.poseDetector();
Constructors
- PoseDetector(PoseDetectorOptions poseDetectorOptions)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- poseDetectorOptions → PoseDetectorOptions
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processImage(
InputImage inputImage) → Future< List< Pose> > - Process the image and returns a map where key denotes PoseLandmark i.e location. Value contains the info of the PoseLandmark i.e
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited