Documentation ¶
Index ¶
- Variables
- type ClassificationPredictionResult
- func (*ClassificationPredictionResult) Descriptor() ([]byte, []int)deprecated
- func (x *ClassificationPredictionResult) GetConfidences() []float32
- func (x *ClassificationPredictionResult) GetDisplayNames() []string
- func (x *ClassificationPredictionResult) GetIds() []int64
- func (*ClassificationPredictionResult) ProtoMessage()
- func (x *ClassificationPredictionResult) ProtoReflect() protoreflect.Message
- func (x *ClassificationPredictionResult) Reset()
- func (x *ClassificationPredictionResult) String() string
- type ImageObjectDetectionPredictionResult
- func (*ImageObjectDetectionPredictionResult) Descriptor() ([]byte, []int)deprecated
- func (x *ImageObjectDetectionPredictionResult) GetBboxes() []*structpb.ListValue
- func (x *ImageObjectDetectionPredictionResult) GetConfidences() []float32
- func (x *ImageObjectDetectionPredictionResult) GetDisplayNames() []string
- func (x *ImageObjectDetectionPredictionResult) GetIds() []int64
- func (*ImageObjectDetectionPredictionResult) ProtoMessage()
- func (x *ImageObjectDetectionPredictionResult) ProtoReflect() protoreflect.Message
- func (x *ImageObjectDetectionPredictionResult) Reset()
- func (x *ImageObjectDetectionPredictionResult) String() string
- type ImageSegmentationPredictionResult
- func (*ImageSegmentationPredictionResult) Descriptor() ([]byte, []int)deprecated
- func (x *ImageSegmentationPredictionResult) GetCategoryMask() string
- func (x *ImageSegmentationPredictionResult) GetConfidenceMask() string
- func (*ImageSegmentationPredictionResult) ProtoMessage()
- func (x *ImageSegmentationPredictionResult) ProtoReflect() protoreflect.Message
- func (x *ImageSegmentationPredictionResult) Reset()
- func (x *ImageSegmentationPredictionResult) String() string
- type TabularClassificationPredictionResult
- func (*TabularClassificationPredictionResult) Descriptor() ([]byte, []int)deprecated
- func (x *TabularClassificationPredictionResult) GetClasses() []string
- func (x *TabularClassificationPredictionResult) GetScores() []float32
- func (*TabularClassificationPredictionResult) ProtoMessage()
- func (x *TabularClassificationPredictionResult) ProtoReflect() protoreflect.Message
- func (x *TabularClassificationPredictionResult) Reset()
- func (x *TabularClassificationPredictionResult) String() string
- type TabularRegressionPredictionResult
- func (*TabularRegressionPredictionResult) Descriptor() ([]byte, []int)deprecated
- func (x *TabularRegressionPredictionResult) GetLowerBound() float32
- func (x *TabularRegressionPredictionResult) GetUpperBound() float32
- func (x *TabularRegressionPredictionResult) GetValue() float32
- func (*TabularRegressionPredictionResult) ProtoMessage()
- func (x *TabularRegressionPredictionResult) ProtoReflect() protoreflect.Message
- func (x *TabularRegressionPredictionResult) Reset()
- func (x *TabularRegressionPredictionResult) String() string
- type TextExtractionPredictionResult
- func (*TextExtractionPredictionResult) Descriptor() ([]byte, []int)deprecated
- func (x *TextExtractionPredictionResult) GetConfidences() []float32
- func (x *TextExtractionPredictionResult) GetDisplayNames() []string
- func (x *TextExtractionPredictionResult) GetIds() []int64
- func (x *TextExtractionPredictionResult) GetTextSegmentEndOffsets() []int64
- func (x *TextExtractionPredictionResult) GetTextSegmentStartOffsets() []int64
- func (*TextExtractionPredictionResult) ProtoMessage()
- func (x *TextExtractionPredictionResult) ProtoReflect() protoreflect.Message
- func (x *TextExtractionPredictionResult) Reset()
- func (x *TextExtractionPredictionResult) String() string
- type TextSentimentPredictionResult
- func (*TextSentimentPredictionResult) Descriptor() ([]byte, []int)deprecated
- func (x *TextSentimentPredictionResult) GetSentiment() int32
- func (*TextSentimentPredictionResult) ProtoMessage()
- func (x *TextSentimentPredictionResult) ProtoReflect() protoreflect.Message
- func (x *TextSentimentPredictionResult) Reset()
- func (x *TextSentimentPredictionResult) String() string
- type VideoActionRecognitionPredictionResult
- func (*VideoActionRecognitionPredictionResult) Descriptor() ([]byte, []int)deprecated
- func (x *VideoActionRecognitionPredictionResult) GetConfidence() *wrapperspb.FloatValue
- func (x *VideoActionRecognitionPredictionResult) GetDisplayName() string
- func (x *VideoActionRecognitionPredictionResult) GetId() string
- func (x *VideoActionRecognitionPredictionResult) GetTimeSegmentEnd() *durationpb.Duration
- func (x *VideoActionRecognitionPredictionResult) GetTimeSegmentStart() *durationpb.Duration
- func (*VideoActionRecognitionPredictionResult) ProtoMessage()
- func (x *VideoActionRecognitionPredictionResult) ProtoReflect() protoreflect.Message
- func (x *VideoActionRecognitionPredictionResult) Reset()
- func (x *VideoActionRecognitionPredictionResult) String() string
- type VideoClassificationPredictionResult
- func (*VideoClassificationPredictionResult) Descriptor() ([]byte, []int)deprecated
- func (x *VideoClassificationPredictionResult) GetConfidence() *wrapperspb.FloatValue
- func (x *VideoClassificationPredictionResult) GetDisplayName() string
- func (x *VideoClassificationPredictionResult) GetId() string
- func (x *VideoClassificationPredictionResult) GetTimeSegmentEnd() *durationpb.Duration
- func (x *VideoClassificationPredictionResult) GetTimeSegmentStart() *durationpb.Duration
- func (x *VideoClassificationPredictionResult) GetType() string
- func (*VideoClassificationPredictionResult) ProtoMessage()
- func (x *VideoClassificationPredictionResult) ProtoReflect() protoreflect.Message
- func (x *VideoClassificationPredictionResult) Reset()
- func (x *VideoClassificationPredictionResult) String() string
- type VideoObjectTrackingPredictionResult
- func (*VideoObjectTrackingPredictionResult) Descriptor() ([]byte, []int)deprecated
- func (x *VideoObjectTrackingPredictionResult) GetConfidence() *wrapperspb.FloatValue
- func (x *VideoObjectTrackingPredictionResult) GetDisplayName() string
- func (x *VideoObjectTrackingPredictionResult) GetFrames() []*VideoObjectTrackingPredictionResult_Frame
- func (x *VideoObjectTrackingPredictionResult) GetId() string
- func (x *VideoObjectTrackingPredictionResult) GetTimeSegmentEnd() *durationpb.Duration
- func (x *VideoObjectTrackingPredictionResult) GetTimeSegmentStart() *durationpb.Duration
- func (*VideoObjectTrackingPredictionResult) ProtoMessage()
- func (x *VideoObjectTrackingPredictionResult) ProtoReflect() protoreflect.Message
- func (x *VideoObjectTrackingPredictionResult) Reset()
- func (x *VideoObjectTrackingPredictionResult) String() string
- type VideoObjectTrackingPredictionResult_Frame
- func (*VideoObjectTrackingPredictionResult_Frame) Descriptor() ([]byte, []int)deprecated
- func (x *VideoObjectTrackingPredictionResult_Frame) GetTimeOffset() *durationpb.Duration
- func (x *VideoObjectTrackingPredictionResult_Frame) GetXMax() *wrapperspb.FloatValue
- func (x *VideoObjectTrackingPredictionResult_Frame) GetXMin() *wrapperspb.FloatValue
- func (x *VideoObjectTrackingPredictionResult_Frame) GetYMax() *wrapperspb.FloatValue
- func (x *VideoObjectTrackingPredictionResult_Frame) GetYMin() *wrapperspb.FloatValue
- func (*VideoObjectTrackingPredictionResult_Frame) ProtoMessage()
- func (x *VideoObjectTrackingPredictionResult_Frame) ProtoReflect() protoreflect.Message
- func (x *VideoObjectTrackingPredictionResult_Frame) Reset()
- func (x *VideoObjectTrackingPredictionResult_Frame) String() string
Constants ¶
This section is empty.
Variables ¶
var File_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto protoreflect.FileDescriptor
var File_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto protoreflect.FileDescriptor
var File_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto protoreflect.FileDescriptor
var File_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto protoreflect.FileDescriptor
var File_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto protoreflect.FileDescriptor
var File_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto protoreflect.FileDescriptor
var File_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto protoreflect.FileDescriptor
var File_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto protoreflect.FileDescriptor
var File_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto protoreflect.FileDescriptor
var File_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClassificationPredictionResult ¶
type ClassificationPredictionResult struct { // The resource IDs of the AnnotationSpecs that had been identified. Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // The display names of the AnnotationSpecs that had been identified, order // matches the IDs. DisplayNames []string `protobuf:"bytes,2,rep,name=display_names,json=displayNames,proto3" json:"display_names,omitempty"` // The Model's confidences in correctness of the predicted IDs, higher value // means higher confidence. Order matches the Ids. Confidences []float32 `protobuf:"fixed32,3,rep,packed,name=confidences,proto3" json:"confidences,omitempty"` // contains filtered or unexported fields }
Prediction output format for Image and Text Classification.
func (*ClassificationPredictionResult) Descriptor
deprecated
func (*ClassificationPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use ClassificationPredictionResult.ProtoReflect.Descriptor instead.
func (*ClassificationPredictionResult) GetConfidences ¶
func (x *ClassificationPredictionResult) GetConfidences() []float32
func (*ClassificationPredictionResult) GetDisplayNames ¶
func (x *ClassificationPredictionResult) GetDisplayNames() []string
func (*ClassificationPredictionResult) GetIds ¶
func (x *ClassificationPredictionResult) GetIds() []int64
func (*ClassificationPredictionResult) ProtoMessage ¶
func (*ClassificationPredictionResult) ProtoMessage()
func (*ClassificationPredictionResult) ProtoReflect ¶
func (x *ClassificationPredictionResult) ProtoReflect() protoreflect.Message
func (*ClassificationPredictionResult) Reset ¶
func (x *ClassificationPredictionResult) Reset()
func (*ClassificationPredictionResult) String ¶
func (x *ClassificationPredictionResult) String() string
type ImageObjectDetectionPredictionResult ¶
type ImageObjectDetectionPredictionResult struct { // The resource IDs of the AnnotationSpecs that had been identified, ordered // by the confidence score descendingly. Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // The display names of the AnnotationSpecs that had been identified, order // matches the IDs. DisplayNames []string `protobuf:"bytes,2,rep,name=display_names,json=displayNames,proto3" json:"display_names,omitempty"` // The Model's confidences in correctness of the predicted IDs, higher value // means higher confidence. Order matches the Ids. Confidences []float32 `protobuf:"fixed32,3,rep,packed,name=confidences,proto3" json:"confidences,omitempty"` // Bounding boxes, i.e. the rectangles over the image, that pinpoint // the found AnnotationSpecs. Given in order that matches the IDs. Each // bounding box is an array of 4 numbers `xMin`, `xMax`, `yMin`, and // `yMax`, which represent the extremal coordinates of the box. They are // relative to the image size, and the point 0,0 is in the top left // of the image. Bboxes []*structpb.ListValue `protobuf:"bytes,4,rep,name=bboxes,proto3" json:"bboxes,omitempty"` // contains filtered or unexported fields }
Prediction output format for Image Object Detection.
func (*ImageObjectDetectionPredictionResult) Descriptor
deprecated
func (*ImageObjectDetectionPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use ImageObjectDetectionPredictionResult.ProtoReflect.Descriptor instead.
func (*ImageObjectDetectionPredictionResult) GetBboxes ¶
func (x *ImageObjectDetectionPredictionResult) GetBboxes() []*structpb.ListValue
func (*ImageObjectDetectionPredictionResult) GetConfidences ¶
func (x *ImageObjectDetectionPredictionResult) GetConfidences() []float32
func (*ImageObjectDetectionPredictionResult) GetDisplayNames ¶
func (x *ImageObjectDetectionPredictionResult) GetDisplayNames() []string
func (*ImageObjectDetectionPredictionResult) GetIds ¶
func (x *ImageObjectDetectionPredictionResult) GetIds() []int64
func (*ImageObjectDetectionPredictionResult) ProtoMessage ¶
func (*ImageObjectDetectionPredictionResult) ProtoMessage()
func (*ImageObjectDetectionPredictionResult) ProtoReflect ¶
func (x *ImageObjectDetectionPredictionResult) ProtoReflect() protoreflect.Message
func (*ImageObjectDetectionPredictionResult) Reset ¶
func (x *ImageObjectDetectionPredictionResult) Reset()
func (*ImageObjectDetectionPredictionResult) String ¶
func (x *ImageObjectDetectionPredictionResult) String() string
type ImageSegmentationPredictionResult ¶
type ImageSegmentationPredictionResult struct { // A PNG image where each pixel in the mask represents the category in which // the pixel in the original image was predicted to belong to. The size of // this image will be the same as the original image. The mapping between the // AnntoationSpec and the color can be found in model's metadata. The model // will choose the most likely category and if none of the categories reach // the confidence threshold, the pixel will be marked as background. CategoryMask string `protobuf:"bytes,1,opt,name=category_mask,json=categoryMask,proto3" json:"category_mask,omitempty"` // A one channel image which is encoded as an 8bit lossless PNG. The size of // the image will be the same as the original image. For a specific pixel, // darker color means less confidence in correctness of the cateogry in the // categoryMask for the corresponding pixel. Black means no confidence and // white means complete confidence. ConfidenceMask string `protobuf:"bytes,2,opt,name=confidence_mask,json=confidenceMask,proto3" json:"confidence_mask,omitempty"` // contains filtered or unexported fields }
Prediction output format for Image Segmentation.
func (*ImageSegmentationPredictionResult) Descriptor
deprecated
func (*ImageSegmentationPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use ImageSegmentationPredictionResult.ProtoReflect.Descriptor instead.
func (*ImageSegmentationPredictionResult) GetCategoryMask ¶
func (x *ImageSegmentationPredictionResult) GetCategoryMask() string
func (*ImageSegmentationPredictionResult) GetConfidenceMask ¶
func (x *ImageSegmentationPredictionResult) GetConfidenceMask() string
func (*ImageSegmentationPredictionResult) ProtoMessage ¶
func (*ImageSegmentationPredictionResult) ProtoMessage()
func (*ImageSegmentationPredictionResult) ProtoReflect ¶
func (x *ImageSegmentationPredictionResult) ProtoReflect() protoreflect.Message
func (*ImageSegmentationPredictionResult) Reset ¶
func (x *ImageSegmentationPredictionResult) Reset()
func (*ImageSegmentationPredictionResult) String ¶
func (x *ImageSegmentationPredictionResult) String() string
type TabularClassificationPredictionResult ¶
type TabularClassificationPredictionResult struct { // The name of the classes being classified, contains all possible values of // the target column. Classes []string `protobuf:"bytes,1,rep,name=classes,proto3" json:"classes,omitempty"` // The model's confidence in each class being correct, higher // value means higher confidence. The N-th score corresponds to // the N-th class in classes. Scores []float32 `protobuf:"fixed32,2,rep,packed,name=scores,proto3" json:"scores,omitempty"` // contains filtered or unexported fields }
Prediction output format for Tabular Classification.
func (*TabularClassificationPredictionResult) Descriptor
deprecated
func (*TabularClassificationPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use TabularClassificationPredictionResult.ProtoReflect.Descriptor instead.
func (*TabularClassificationPredictionResult) GetClasses ¶
func (x *TabularClassificationPredictionResult) GetClasses() []string
func (*TabularClassificationPredictionResult) GetScores ¶
func (x *TabularClassificationPredictionResult) GetScores() []float32
func (*TabularClassificationPredictionResult) ProtoMessage ¶
func (*TabularClassificationPredictionResult) ProtoMessage()
func (*TabularClassificationPredictionResult) ProtoReflect ¶
func (x *TabularClassificationPredictionResult) ProtoReflect() protoreflect.Message
func (*TabularClassificationPredictionResult) Reset ¶
func (x *TabularClassificationPredictionResult) Reset()
func (*TabularClassificationPredictionResult) String ¶
func (x *TabularClassificationPredictionResult) String() string
type TabularRegressionPredictionResult ¶
type TabularRegressionPredictionResult struct { // The regression value. Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"` // The lower bound of the prediction interval. LowerBound float32 `protobuf:"fixed32,2,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"` // The upper bound of the prediction interval. UpperBound float32 `protobuf:"fixed32,3,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"` // contains filtered or unexported fields }
Prediction output format for Tabular Regression.
func (*TabularRegressionPredictionResult) Descriptor
deprecated
func (*TabularRegressionPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use TabularRegressionPredictionResult.ProtoReflect.Descriptor instead.
func (*TabularRegressionPredictionResult) GetLowerBound ¶
func (x *TabularRegressionPredictionResult) GetLowerBound() float32
func (*TabularRegressionPredictionResult) GetUpperBound ¶
func (x *TabularRegressionPredictionResult) GetUpperBound() float32
func (*TabularRegressionPredictionResult) GetValue ¶
func (x *TabularRegressionPredictionResult) GetValue() float32
func (*TabularRegressionPredictionResult) ProtoMessage ¶
func (*TabularRegressionPredictionResult) ProtoMessage()
func (*TabularRegressionPredictionResult) ProtoReflect ¶
func (x *TabularRegressionPredictionResult) ProtoReflect() protoreflect.Message
func (*TabularRegressionPredictionResult) Reset ¶
func (x *TabularRegressionPredictionResult) Reset()
func (*TabularRegressionPredictionResult) String ¶
func (x *TabularRegressionPredictionResult) String() string
type TextExtractionPredictionResult ¶
type TextExtractionPredictionResult struct { // The resource IDs of the AnnotationSpecs that had been identified, // ordered by the confidence score descendingly. Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // The display names of the AnnotationSpecs that had been identified, // order matches the IDs. DisplayNames []string `protobuf:"bytes,2,rep,name=display_names,json=displayNames,proto3" json:"display_names,omitempty"` // The start offsets, inclusive, of the text segment in which the // AnnotationSpec has been identified. Expressed as a zero-based number // of characters as measured from the start of the text snippet. TextSegmentStartOffsets []int64 `` /* 142-byte string literal not displayed */ // The end offsets, inclusive, of the text segment in which the // AnnotationSpec has been identified. Expressed as a zero-based number // of characters as measured from the start of the text snippet. TextSegmentEndOffsets []int64 `` /* 136-byte string literal not displayed */ // The Model's confidences in correctness of the predicted IDs, higher // value means higher confidence. Order matches the Ids. Confidences []float32 `protobuf:"fixed32,5,rep,packed,name=confidences,proto3" json:"confidences,omitempty"` // contains filtered or unexported fields }
Prediction output format for Text Extraction.
func (*TextExtractionPredictionResult) Descriptor
deprecated
func (*TextExtractionPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use TextExtractionPredictionResult.ProtoReflect.Descriptor instead.
func (*TextExtractionPredictionResult) GetConfidences ¶
func (x *TextExtractionPredictionResult) GetConfidences() []float32
func (*TextExtractionPredictionResult) GetDisplayNames ¶
func (x *TextExtractionPredictionResult) GetDisplayNames() []string
func (*TextExtractionPredictionResult) GetIds ¶
func (x *TextExtractionPredictionResult) GetIds() []int64
func (*TextExtractionPredictionResult) GetTextSegmentEndOffsets ¶
func (x *TextExtractionPredictionResult) GetTextSegmentEndOffsets() []int64
func (*TextExtractionPredictionResult) GetTextSegmentStartOffsets ¶
func (x *TextExtractionPredictionResult) GetTextSegmentStartOffsets() []int64
func (*TextExtractionPredictionResult) ProtoMessage ¶
func (*TextExtractionPredictionResult) ProtoMessage()
func (*TextExtractionPredictionResult) ProtoReflect ¶
func (x *TextExtractionPredictionResult) ProtoReflect() protoreflect.Message
func (*TextExtractionPredictionResult) Reset ¶
func (x *TextExtractionPredictionResult) Reset()
func (*TextExtractionPredictionResult) String ¶
func (x *TextExtractionPredictionResult) String() string
type TextSentimentPredictionResult ¶
type TextSentimentPredictionResult struct { // The integer sentiment labels between 0 (inclusive) and sentimentMax label // (inclusive), while 0 maps to the least positive sentiment and // sentimentMax maps to the most positive one. The higher the score is, the // more positive the sentiment in the text snippet is. Note: sentimentMax is // an integer value between 1 (inclusive) and 10 (inclusive). Sentiment int32 `protobuf:"varint,1,opt,name=sentiment,proto3" json:"sentiment,omitempty"` // contains filtered or unexported fields }
Prediction output format for Text Sentiment
func (*TextSentimentPredictionResult) Descriptor
deprecated
func (*TextSentimentPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use TextSentimentPredictionResult.ProtoReflect.Descriptor instead.
func (*TextSentimentPredictionResult) GetSentiment ¶
func (x *TextSentimentPredictionResult) GetSentiment() int32
func (*TextSentimentPredictionResult) ProtoMessage ¶
func (*TextSentimentPredictionResult) ProtoMessage()
func (*TextSentimentPredictionResult) ProtoReflect ¶
func (x *TextSentimentPredictionResult) ProtoReflect() protoreflect.Message
func (*TextSentimentPredictionResult) Reset ¶
func (x *TextSentimentPredictionResult) Reset()
func (*TextSentimentPredictionResult) String ¶
func (x *TextSentimentPredictionResult) String() string
type VideoActionRecognitionPredictionResult ¶
type VideoActionRecognitionPredictionResult struct { // The resource ID of the AnnotationSpec that had been identified. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The display name of the AnnotationSpec that had been identified. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // 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. TimeSegmentStart *durationpb.Duration `protobuf:"bytes,4,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"` // 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. TimeSegmentEnd *durationpb.Duration `protobuf:"bytes,5,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"` // The Model's confidence in correction of this prediction, higher // value means higher confidence. Confidence *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=confidence,proto3" json:"confidence,omitempty"` // contains filtered or unexported fields }
Prediction output format for Video Action Recognition.
func (*VideoActionRecognitionPredictionResult) Descriptor
deprecated
func (*VideoActionRecognitionPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use VideoActionRecognitionPredictionResult.ProtoReflect.Descriptor instead.
func (*VideoActionRecognitionPredictionResult) GetConfidence ¶
func (x *VideoActionRecognitionPredictionResult) GetConfidence() *wrapperspb.FloatValue
func (*VideoActionRecognitionPredictionResult) GetDisplayName ¶
func (x *VideoActionRecognitionPredictionResult) GetDisplayName() string
func (*VideoActionRecognitionPredictionResult) GetId ¶
func (x *VideoActionRecognitionPredictionResult) GetId() string
func (*VideoActionRecognitionPredictionResult) GetTimeSegmentEnd ¶
func (x *VideoActionRecognitionPredictionResult) GetTimeSegmentEnd() *durationpb.Duration
func (*VideoActionRecognitionPredictionResult) GetTimeSegmentStart ¶
func (x *VideoActionRecognitionPredictionResult) GetTimeSegmentStart() *durationpb.Duration
func (*VideoActionRecognitionPredictionResult) ProtoMessage ¶
func (*VideoActionRecognitionPredictionResult) ProtoMessage()
func (*VideoActionRecognitionPredictionResult) ProtoReflect ¶
func (x *VideoActionRecognitionPredictionResult) ProtoReflect() protoreflect.Message
func (*VideoActionRecognitionPredictionResult) Reset ¶
func (x *VideoActionRecognitionPredictionResult) Reset()
func (*VideoActionRecognitionPredictionResult) String ¶
func (x *VideoActionRecognitionPredictionResult) String() string
type VideoClassificationPredictionResult ¶
type VideoClassificationPredictionResult struct { // The resource ID of the AnnotationSpec that had been identified. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The display name of the AnnotationSpec that had been identified. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // 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 Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // 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. TimeSegmentStart *durationpb.Duration `protobuf:"bytes,4,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"` // 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. TimeSegmentEnd *durationpb.Duration `protobuf:"bytes,5,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"` // The Model's confidence in correction of this prediction, higher // value means higher confidence. Confidence *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=confidence,proto3" json:"confidence,omitempty"` // contains filtered or unexported fields }
Prediction output format for Video Classification.
func (*VideoClassificationPredictionResult) Descriptor
deprecated
func (*VideoClassificationPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use VideoClassificationPredictionResult.ProtoReflect.Descriptor instead.
func (*VideoClassificationPredictionResult) GetConfidence ¶
func (x *VideoClassificationPredictionResult) GetConfidence() *wrapperspb.FloatValue
func (*VideoClassificationPredictionResult) GetDisplayName ¶
func (x *VideoClassificationPredictionResult) GetDisplayName() string
func (*VideoClassificationPredictionResult) GetId ¶
func (x *VideoClassificationPredictionResult) GetId() string
func (*VideoClassificationPredictionResult) GetTimeSegmentEnd ¶
func (x *VideoClassificationPredictionResult) GetTimeSegmentEnd() *durationpb.Duration
func (*VideoClassificationPredictionResult) GetTimeSegmentStart ¶
func (x *VideoClassificationPredictionResult) GetTimeSegmentStart() *durationpb.Duration
func (*VideoClassificationPredictionResult) GetType ¶
func (x *VideoClassificationPredictionResult) GetType() string
func (*VideoClassificationPredictionResult) ProtoMessage ¶
func (*VideoClassificationPredictionResult) ProtoMessage()
func (*VideoClassificationPredictionResult) ProtoReflect ¶
func (x *VideoClassificationPredictionResult) ProtoReflect() protoreflect.Message
func (*VideoClassificationPredictionResult) Reset ¶
func (x *VideoClassificationPredictionResult) Reset()
func (*VideoClassificationPredictionResult) String ¶
func (x *VideoClassificationPredictionResult) String() string
type VideoObjectTrackingPredictionResult ¶
type VideoObjectTrackingPredictionResult struct { // The resource ID of the AnnotationSpec that had been identified. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The display name of the AnnotationSpec that had been identified. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The beginning, inclusive, of the video's time segment in which the // object instance has been detected. 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. TimeSegmentStart *durationpb.Duration `protobuf:"bytes,3,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"` // The end, inclusive, of the video's time segment in which the // object instance has been detected. 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. TimeSegmentEnd *durationpb.Duration `protobuf:"bytes,4,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"` // The Model's confidence in correction of this prediction, higher // value means higher confidence. Confidence *wrapperspb.FloatValue `protobuf:"bytes,5,opt,name=confidence,proto3" json:"confidence,omitempty"` // All of the frames of the video in which a single object instance has been // detected. The bounding boxes in the frames identify the same object. Frames []*VideoObjectTrackingPredictionResult_Frame `protobuf:"bytes,6,rep,name=frames,proto3" json:"frames,omitempty"` // contains filtered or unexported fields }
Prediction output format for Video Object Tracking.
func (*VideoObjectTrackingPredictionResult) Descriptor
deprecated
func (*VideoObjectTrackingPredictionResult) Descriptor() ([]byte, []int)
Deprecated: Use VideoObjectTrackingPredictionResult.ProtoReflect.Descriptor instead.
func (*VideoObjectTrackingPredictionResult) GetConfidence ¶
func (x *VideoObjectTrackingPredictionResult) GetConfidence() *wrapperspb.FloatValue
func (*VideoObjectTrackingPredictionResult) GetDisplayName ¶
func (x *VideoObjectTrackingPredictionResult) GetDisplayName() string
func (*VideoObjectTrackingPredictionResult) GetFrames ¶
func (x *VideoObjectTrackingPredictionResult) GetFrames() []*VideoObjectTrackingPredictionResult_Frame
func (*VideoObjectTrackingPredictionResult) GetId ¶
func (x *VideoObjectTrackingPredictionResult) GetId() string
func (*VideoObjectTrackingPredictionResult) GetTimeSegmentEnd ¶
func (x *VideoObjectTrackingPredictionResult) GetTimeSegmentEnd() *durationpb.Duration
func (*VideoObjectTrackingPredictionResult) GetTimeSegmentStart ¶
func (x *VideoObjectTrackingPredictionResult) GetTimeSegmentStart() *durationpb.Duration
func (*VideoObjectTrackingPredictionResult) ProtoMessage ¶
func (*VideoObjectTrackingPredictionResult) ProtoMessage()
func (*VideoObjectTrackingPredictionResult) ProtoReflect ¶
func (x *VideoObjectTrackingPredictionResult) ProtoReflect() protoreflect.Message
func (*VideoObjectTrackingPredictionResult) Reset ¶
func (x *VideoObjectTrackingPredictionResult) Reset()
func (*VideoObjectTrackingPredictionResult) String ¶
func (x *VideoObjectTrackingPredictionResult) String() string
type VideoObjectTrackingPredictionResult_Frame ¶
type VideoObjectTrackingPredictionResult_Frame struct { // A time (frame) of a video in which the object has been detected. // 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. TimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` // The leftmost coordinate of the bounding box. XMin *wrapperspb.FloatValue `protobuf:"bytes,2,opt,name=x_min,json=xMin,proto3" json:"x_min,omitempty"` // The rightmost coordinate of the bounding box. XMax *wrapperspb.FloatValue `protobuf:"bytes,3,opt,name=x_max,json=xMax,proto3" json:"x_max,omitempty"` // The topmost coordinate of the bounding box. YMin *wrapperspb.FloatValue `protobuf:"bytes,4,opt,name=y_min,json=yMin,proto3" json:"y_min,omitempty"` // The bottommost coordinate of the bounding box. YMax *wrapperspb.FloatValue `protobuf:"bytes,5,opt,name=y_max,json=yMax,proto3" json:"y_max,omitempty"` // contains filtered or unexported fields }
The fields `xMin`, `xMax`, `yMin`, and `yMax` refer to a bounding box, i.e. the rectangle over the video frame pinpointing the found AnnotationSpec. The coordinates are relative to the frame size, and the point 0,0 is in the top left of the frame.
func (*VideoObjectTrackingPredictionResult_Frame) Descriptor
deprecated
func (*VideoObjectTrackingPredictionResult_Frame) Descriptor() ([]byte, []int)
Deprecated: Use VideoObjectTrackingPredictionResult_Frame.ProtoReflect.Descriptor instead.
func (*VideoObjectTrackingPredictionResult_Frame) GetTimeOffset ¶
func (x *VideoObjectTrackingPredictionResult_Frame) GetTimeOffset() *durationpb.Duration
func (*VideoObjectTrackingPredictionResult_Frame) GetXMax ¶
func (x *VideoObjectTrackingPredictionResult_Frame) GetXMax() *wrapperspb.FloatValue
func (*VideoObjectTrackingPredictionResult_Frame) GetXMin ¶
func (x *VideoObjectTrackingPredictionResult_Frame) GetXMin() *wrapperspb.FloatValue
func (*VideoObjectTrackingPredictionResult_Frame) GetYMax ¶
func (x *VideoObjectTrackingPredictionResult_Frame) GetYMax() *wrapperspb.FloatValue
func (*VideoObjectTrackingPredictionResult_Frame) GetYMin ¶
func (x *VideoObjectTrackingPredictionResult_Frame) GetYMin() *wrapperspb.FloatValue
func (*VideoObjectTrackingPredictionResult_Frame) ProtoMessage ¶
func (*VideoObjectTrackingPredictionResult_Frame) ProtoMessage()
func (*VideoObjectTrackingPredictionResult_Frame) ProtoReflect ¶
func (x *VideoObjectTrackingPredictionResult_Frame) ProtoReflect() protoreflect.Message
func (*VideoObjectTrackingPredictionResult_Frame) Reset ¶
func (x *VideoObjectTrackingPredictionResult_Frame) Reset()
func (*VideoObjectTrackingPredictionResult_Frame) String ¶
func (x *VideoObjectTrackingPredictionResult_Frame) String() string