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

Stay organized with collections Save and categorize content based on your preferences.

Contains the classification results of a model.

classifications A list of Classifications objects, each for a head of the model.
timestamp_ms The optional timestamp (in milliseconds) of the start of the chunk of data corresponding to these results. This is only used for classification on time series (e.g. audio classification). In these use cases, the amount of data to process might exceed the maximum size that the model can process: to solve this, the input data is split into multiple chunks starting at different timestamps.



View source

Creates a ClassificationResult object from the given protobuf object.


View source

Generates a ClassificationResult protobuf object.


timestamp_ms None