Attention: This MediaPipe Solutions Preview is an early release. Learn more.

AudioEmbedderResult

Stay organized with collections Save and categorize content based on your preferences.
public abstract class AudioEmbedderResult

Represents the embedding results generated by AudioEmbedder.

Public Constructors

Public Methods

abstract Optional<EmbeddingResult>
embeddingResult()
Contains one set of results per classifier head.
abstract Optional<List<EmbeddingResult>>
embeddingResultList()
A list of of timpstamped EmbeddingResult objects, each contains one set of results per embedder head.
abstract long
timestampMs()
Returns the timestamp that is associated with the task result object.

Inherited Methods

Public Constructors

public AudioEmbedderResult ()

Public Methods

public abstract Optional<EmbeddingResult> embeddingResult ()

Contains one set of results per classifier head. A EmbeddingResult usually represents one audio embedding result in an audio stream, and is only available when running with the audio stream mode.

public abstract Optional<List<EmbeddingResult>> embeddingResultList ()

A list of of timpstamped EmbeddingResult objects, each contains one set of results per embedder head. The list represents the audio embedding result of an audio clip, and is only available when running with the audio clips mode.

public abstract long timestampMs ()

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