Class: Google::Cloud::VideoIntelligence::V1::VideoAnnotationResults

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb

Overview

Annotation results for a single video.

Instance Attribute Summary collapse

Instance Attribute Details

#error::Google::Rpc::Status

Returns If set, indicates an error. Note that for a single AnnotateVideoRequest some videos may succeed and some may fail.

Returns:

  • (::Google::Rpc::Status)

    If set, indicates an error. Note that for a single AnnotateVideoRequest some videos may succeed and some may fail.



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#explicit_annotation::Google::Cloud::VideoIntelligence::V1::ExplicitContentAnnotation

Returns Explicit content annotation.

Returns:



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#face_annotations::Array<::Google::Cloud::VideoIntelligence::V1::FaceAnnotation>

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Deprecated. Please use face_detection_annotations instead.

Returns:



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#face_detection_annotations::Array<::Google::Cloud::VideoIntelligence::V1::FaceDetectionAnnotation>

Returns Face detection annotations.

Returns:



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#frame_label_annotations::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>

Returns Label annotations on frame level. There is exactly one element for each unique label.

Returns:



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#input_uri::String

Returns Video file location in Cloud Storage.

Returns:



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#logo_recognition_annotations::Array<::Google::Cloud::VideoIntelligence::V1::LogoRecognitionAnnotation>

Returns Annotations for list of logos detected, tracked and recognized in video.

Returns:



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#object_annotations::Array<::Google::Cloud::VideoIntelligence::V1::ObjectTrackingAnnotation>

Returns Annotations for list of objects detected and tracked in video.

Returns:



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#person_detection_annotations::Array<::Google::Cloud::VideoIntelligence::V1::PersonDetectionAnnotation>

Returns Person detection annotations.

Returns:



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#segment::Google::Cloud::VideoIntelligence::V1::VideoSegment

Returns Video segment on which the annotation is run.

Returns:



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#segment_label_annotations::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>

Returns Topical label annotations on video level or user-specified segment level. There is exactly one element for each unique label.

Returns:



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#segment_presence_label_annotations::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>

Returns Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical segment_label_annotations, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets LabelDetectionConfig.model to "builtin/latest" in the request.

Returns:

  • (::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>)

    Presence label annotations on video level or user-specified segment level. There is exactly one element for each unique label. Compared to the existing topical segment_label_annotations, this field presents more fine-grained, segment-level labels detected in video content and is made available only when the client sets LabelDetectionConfig.model to "builtin/latest" in the request.



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#shot_annotations::Array<::Google::Cloud::VideoIntelligence::V1::VideoSegment>

Returns Shot annotations. Each shot is represented as a video segment.

Returns:



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#shot_label_annotations::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>

Returns Topical label annotations on shot level. There is exactly one element for each unique label.

Returns:



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#shot_presence_label_annotations::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>

Returns Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical shot_label_annotations, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets LabelDetectionConfig.model to "builtin/latest" in the request.

Returns:

  • (::Array<::Google::Cloud::VideoIntelligence::V1::LabelAnnotation>)

    Presence label annotations on shot level. There is exactly one element for each unique label. Compared to the existing topical shot_label_annotations, this field presents more fine-grained, shot-level labels detected in video content and is made available only when the client sets LabelDetectionConfig.model to "builtin/latest" in the request.



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#speech_transcriptions::Array<::Google::Cloud::VideoIntelligence::V1::SpeechTranscription>

Returns Speech transcription.

Returns:



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#text_annotations::Array<::Google::Cloud::VideoIntelligence::V1::TextAnnotation>

Returns OCR text detection and tracking. Annotations for list of detected text snippets. Each will have list of frame information associated with it.

Returns:



567
568
569
570
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 567

class VideoAnnotationResults
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end