Struct google_api_proto::google::cloud::automl::v1beta1::VideoClassificationAnnotation
source · pub struct VideoClassificationAnnotation {
pub type: String,
pub classification_annotation: Option<ClassificationAnnotation>,
pub time_segment: Option<TimeSegment>,
}
Expand description
Contains annotation details specific to video classification.
Fields§
§type: String
Output only. Expresses the type of video classification. Possible values:
-
segment
- Classification done on a specified by user time segment of a video. AnnotationSpec is answered to be present in that time segment, if it is present in any part of it. The video ML model evaluations are done only for this type of classification. -
shot
- Shot-level classification. AutoML Video Intelligence determines the boundaries for each camera shot in the entire segment of the video that user specified in the request configuration. AutoML Video Intelligence then returns labels and their confidence scores for each detected shot, along with the start and end time of the shot. WARNING: Model evaluation is not done for this classification type, the quality of it depends on training data, but there are no metrics provided to describe that quality. -
1s_interval
- AutoML Video Intelligence returns labels and their confidence scores for each second of the entire segment of the video that user specified in the request configuration. WARNING: Model evaluation is not done for this classification type, the quality of it depends on training data, but there are no metrics provided to describe that quality.
classification_annotation: Option<ClassificationAnnotation>
Output only . The classification details of this annotation.
time_segment: Option<TimeSegment>
Output only . The time segment of the video to which the annotation applies.
Trait Implementations§
source§impl Clone for VideoClassificationAnnotation
impl Clone for VideoClassificationAnnotation
source§fn clone(&self) -> VideoClassificationAnnotation
fn clone(&self) -> VideoClassificationAnnotation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for VideoClassificationAnnotation
impl Message for VideoClassificationAnnotation
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for VideoClassificationAnnotation
impl PartialEq for VideoClassificationAnnotation
source§fn eq(&self, other: &VideoClassificationAnnotation) -> bool
fn eq(&self, other: &VideoClassificationAnnotation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VideoClassificationAnnotation
Auto Trait Implementations§
impl Freeze for VideoClassificationAnnotation
impl RefUnwindSafe for VideoClassificationAnnotation
impl Send for VideoClassificationAnnotation
impl Sync for VideoClassificationAnnotation
impl Unpin for VideoClassificationAnnotation
impl UnwindSafe for VideoClassificationAnnotation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request