TaskResult

public interface TaskResult

Known direct subclasses
AudioClassifierResult

Represents the classification results generated by AudioClassifier.

AudioTranscriberResult

Represents the transcription results generated by AudioTranscriber.

FaceDetectorResult

Represents the detection results generated by FaceDetector.

FaceLandmarkerResult

Represents the face landmarks detection results generated by FaceLandmarker.

GestureRecognizerResult

Represents the gesture recognition results generated by GestureRecognizer.

HandLandmarkerResult

Represents the hand landmarks deection results generated by HandLandmarker.

HolisticLandmarkerResult

Represents the holistic landmarks detection results generated by HolisticLandmarker.

ImageClassifierResult

Represents the classification results generated by ImageClassifier.

ImageEmbedderResult

Represents the embedding results generated by ImageEmbedder.

ImageSegmenterResult

Represents the segmentation results generated by ImageSegmenter.

LanguageDetectorResult

Represents the prediction results generated by LanguageDetector.

ObjectDetectionResult

This class is deprecated.

Use ObjectDetectorResult instead.

PoseLandmarkerResult

Represents the pose landmarks deection results generated by PoseLandmarker.

TextClassifierResult

Represents the classification results generated by TextClassifier.

TextEmbedderResult

Represents the embedding results generated by TextEmbedder.

Known indirect subclasses
ObjectDetectorResult

Represents the detection results generated by ObjectDetector.


Interface for the MediaPipe Task result. Any MediaPipe task-specific result class should implement TaskResult.

Summary

Public methods

abstract long

Returns the timestamp that is associated with the task result object.

Public methods

timestampMs

abstract long timestampMs()

Returns the timestamp that is associated with the task result object.