Reference documentation and code samples for the Cloud Video Intelligence V1p1beta1 API class Google::Cloud::VideoIntelligence::V1p1beta1::LabelSegment.
Video segment level annotation results for label detection.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#confidence
def confidence() -> ::Float
Returns
- (::Float) — Confidence that the label is accurate. Range: [0, 1].
#confidence=
def confidence=(value) -> ::Float
Parameter
- value (::Float) — Confidence that the label is accurate. Range: [0, 1].
Returns
- (::Float) — Confidence that the label is accurate. Range: [0, 1].
#segment
def segment() -> ::Google::Cloud::VideoIntelligence::V1p1beta1::VideoSegment
Returns
- (::Google::Cloud::VideoIntelligence::V1p1beta1::VideoSegment) — Video segment where a label was detected.
#segment=
def segment=(value) -> ::Google::Cloud::VideoIntelligence::V1p1beta1::VideoSegment
Parameter
- value (::Google::Cloud::VideoIntelligence::V1p1beta1::VideoSegment) — Video segment where a label was detected.
Returns
- (::Google::Cloud::VideoIntelligence::V1p1beta1::VideoSegment) — Video segment where a label was detected.