Class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceSegment
- Inherits:
-
Object
- Object
- Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceSegment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/videointelligence_v1p3beta1/classes.rb,
lib/google/apis/videointelligence_v1p3beta1/representations.rb,
lib/google/apis/videointelligence_v1p3beta1/representations.rb
Overview
Video segment level annotation results for face detection.
Instance Attribute Summary collapse
-
#segment ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment
Video segment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1FaceSegment
constructor
A new instance of GoogleCloudVideointelligenceV1p3beta1FaceSegment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVideointelligenceV1p3beta1FaceSegment
Returns a new instance of GoogleCloudVideointelligenceV1p3beta1FaceSegment.
5102 5103 5104 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 5102 def initialize(**args) update!(**args) end |
Instance Attribute Details
#segment ⇒ Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment
Video segment.
Corresponds to the JSON property segment
5100 5101 5102 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 5100 def segment @segment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5107 5108 5109 |
# File 'lib/google/apis/videointelligence_v1p3beta1/classes.rb', line 5107 def update!(**args) @segment = args[:segment] if args.key?(:segment) end |