GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1Example (google_api_data_labeling v0.2.1) View Source
An Example is a piece of data and its annotation. For example, an image with label "house".
Attributes
-
annotations
(type:list(GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1Annotation.t)
, default:nil
) - Output only. Annotations for the piece of data in Example. One piece of data can have multiple annotations. -
imagePayload
(type:GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1ImagePayload.t
, default:nil
) - The image payload, a container of the image bytes/uri. -
name
(type:String.t
, default:nil
) - Output only. Name of the example, in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id} -
textPayload
(type:GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1TextPayload.t
, default:nil
) - The text payload, a container of the text content. -
videoPayload
(type:GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1VideoPayload.t
, default:nil
) - The video payload, a container of the video uri.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1Example{ annotations: [ GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1Annotation.t() ], imagePayload: GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1ImagePayload.t(), name: String.t(), textPayload: GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1TextPayload.t(), videoPayload: GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1VideoPayload.t() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.