public sealed class VideoClassificationPredictionResult : IMessage<VideoClassificationPredictionResult>, IEquatable<VideoClassificationPredictionResult>, IDeepCloneable<VideoClassificationPredictionResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class VideoClassificationPredictionResult.
Prediction output format for Video Classification.
Implements
IMessageVideoClassificationPredictionResult, IEquatableVideoClassificationPredictionResult, IDeepCloneableVideoClassificationPredictionResult, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.PredictionAssembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
VideoClassificationPredictionResult()
public VideoClassificationPredictionResult()
VideoClassificationPredictionResult(VideoClassificationPredictionResult)
public VideoClassificationPredictionResult(VideoClassificationPredictionResult other)
Parameter | |
---|---|
Name | Description |
other |
VideoClassificationPredictionResult |
Properties
Confidence
public float? Confidence { get; set; }
The Model's confidence in correction of this prediction, higher value means higher confidence.
Property Value | |
---|---|
Type | Description |
float |
DisplayName
public string DisplayName { get; set; }
The display name of the AnnotationSpec that had been identified.
Property Value | |
---|---|
Type | Description |
string |
Id
public string Id { get; set; }
The resource ID of the AnnotationSpec that had been identified.
Property Value | |
---|---|
Type | Description |
string |
TimeSegmentEnd
public Duration TimeSegmentEnd { get; set; }
The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.
Property Value | |
---|---|
Type | Description |
Duration |
TimeSegmentStart
public Duration TimeSegmentStart { get; set; }
The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.
Property Value | |
---|---|
Type | Description |
Duration |
Type
public string Type { get; set; }
The type of the prediction. The requested types can be configured via parameters. This will be one of
- segment-classification
- shot-classification
- one-sec-interval-classification
Property Value | |
---|---|
Type | Description |
string |