AI-generated Key Takeaways
-  PoseDetection is the entry point to get a PoseDetector for finding Pose in a supplied image. 
-  A PoseDetector is created via getClient(PoseDetectorOptionsBase). 
-  To perform pose detection, you first create an InputImage from a source like a Bitmap, ByteBuffer, or Image. 
-  The process method of the PoseDetector takes an InputImage and returns a Task 
-  The getClient method creates a PoseDetector that detects human body pose in an image and requires calling PoseDetector.close() to release resources. 
Entry point to get a PoseDetector for finding Pose in a supplied image.
A PoseDetector is created via  getClient(PoseDetectorOptionsBase). For example:
 PoseDetector poseDetector = PoseDetection.getClient(options); InputImage from a Bitmap, ByteBuffer, Image etc. See InputImage documentation for more details. For example, the code below creates an InputImage from a Bitmap.  InputImage image = InputImage.fromBitmap(bitmap, rotationDegrees);  Pose in the supplied InputImage.  Task<Pose> task = poseDetector.process(image); task.addOnSuccessListener(...).addOnFailureListener(...); Public Method Summary
| static PoseDetector |   getClient(PoseDetectorOptionsBase options)   Creates an instance of  PoseDetectorthat detects human body pose in a supplied image. | 
Inherited Method Summary
Public Methods
public static PoseDetector getClient (PoseDetectorOptionsBase options)
Creates an instance of PoseDetector that detects human body pose in a supplied image.
To release the resources associated with a PoseDetector, you need to ensure that PoseDetector.close() is called on the resulting PoseDetector instance once it will no longer be used.
Detector initialization work is triggered in the background when the PoseDetector instance is created. Optionally, you can use the PoseDetector.getInitTask() to track the initialization progress. The first  PoseDetector.process(InputImage) or  PoseDetector.process(MlImage) call will wait for the initialization to be finished.
