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.
ImageClassifierResult.classifications
The classification results for each head of the model.
Signature:
classifications:Classifications[];
ImageClassifierResult.timestampMs
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-07 UTC."],[],[],null,["# ImageClassifierResult interface\n\n\u003cbr /\u003e\n\nClassification results of a model.\n\n**Signature:** \n\n export declare interface ImageClassifierResult \n\nProperties\n----------\n\n| Property | Type | Description |\n|----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [classifications](./tasks-vision.imageclassifierresult#imageclassifierresultclassifications) | [Classifications](./tasks-vision.classifications#classifications_interface)\\[\\] | The classification results for each head of the model. |\n| [timestampMs](./tasks-vision.imageclassifierresult#imageclassifierresulttimestampms) | number | 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. |\n\nImageClassifierResult.classifications\n-------------------------------------\n\nThe classification results for each head of the model.\n\n**Signature:** \n\n classifications: Classifications[];\n\nImageClassifierResult.timestampMs\n---------------------------------\n\nThe optional timestamp (in milliseconds) of the start of the chunk of data corresponding to these results.\n\nThis 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.\n\n**Signature:** \n\n timestampMs?: number;"]]