poseDetector method
- @Deprecated('Use [google_mlkit_pose_detection] plugin instead of [google_ml_kit].')
- PoseDetectorOptions? poseDetectorOptions,
Returns instance of PoseDetector.By default it returns all PoseLandmark available in image To limit the result to specific PoseLandmark pass list of PoseLandmark's a All the 33 positions have been declared as static constants in PoseLandmark class
Implementation
@Deprecated(
'Use [google_mlkit_pose_detection] plugin instead of [google_ml_kit].')
PoseDetector poseDetector({PoseDetectorOptions? poseDetectorOptions}) {
return PoseDetector(options: poseDetectorOptions ?? PoseDetectorOptions());
}