Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
| 75 | <h1><a href="datalabeling_v1beta1.html">Data Labeling API</a> . <a href="datalabeling_v1beta1.projects.html">projects</a> . <a href="datalabeling_v1beta1.projects.datasets.html">datasets</a> . <a href="datalabeling_v1beta1.projects.datasets.annotatedDatasets.html">annotatedDatasets</a> . <a href="datalabeling_v1beta1.projects.datasets.annotatedDatasets.examples.html">examples</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
| 78 | <code><a href="#close">close()</a></code></p> |
| 79 | <p class="firstline">Close httplib2 connections.</p> |
| 80 | <p class="toc_element"> |
| 81 | <code><a href="#get">get(name, filter=None, x__xgafv=None)</a></code></p> |
| 82 | <p class="firstline">Gets an example by resource name, including both data and annotation.</p> |
| 83 | <p class="toc_element"> |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 84 | <code><a href="#list">list(parent, pageToken=None, pageSize=None, filter=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 85 | <p class="firstline">Lists examples in an annotated dataset. Pagination is supported.</p> |
| 86 | <p class="toc_element"> |
| 87 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 88 | <p class="firstline">Retrieves the next page of results.</p> |
| 89 | <h3>Method Details</h3> |
| 90 | <div class="method"> |
| 91 | <code class="details" id="close">close()</code> |
| 92 | <pre>Close httplib2 connections.</pre> |
| 93 | </div> |
| 94 | |
| 95 | <div class="method"> |
| 96 | <code class="details" id="get">get(name, filter=None, x__xgafv=None)</code> |
| 97 | <pre>Gets an example by resource name, including both data and annotation. |
| 98 | |
| 99 | Args: |
| 100 | name: string, Required. Name of example, format: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id} (required) |
| 101 | filter: string, Optional. An expression for filtering Examples. Filter by annotation_spec.display_name is supported. Format "annotation_spec.display_name = {display_name}" |
| 102 | x__xgafv: string, V1 error format. |
| 103 | Allowed values |
| 104 | 1 - v1 error format |
| 105 | 2 - v2 error format |
| 106 | |
| 107 | Returns: |
| 108 | An object of the form: |
| 109 | |
| 110 | { # An Example is a piece of data and its annotation. For example, an image with label "house". |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 111 | "annotations": [ # Output only. Annotations for the piece of data in Example. One piece of data can have multiple annotations. |
| 112 | { # Annotation for Example. Each example may have one or more annotations. For example in image classification problem, each image might have one or more labels. We call labels binded with this image an Annotation. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 113 | "name": "A String", # Output only. Unique name of this annotation, format is: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id} |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 114 | "annotationSource": "A String", # Output only. The source of the annotation. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 115 | "annotationSentiment": "A String", # Output only. Sentiment for this annotation. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 116 | "annotationValue": { # Annotation value for an example. # Output only. This is the actual annotation value, e.g classification, bounding box values are stored here. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 117 | "videoClassificationAnnotation": { # Video classification annotation. # Annotation value for video classification case. |
| 118 | "annotationSpec": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. # Label of the segment specified by time_segment. |
| 119 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
| 120 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
| 121 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
| 122 | }, |
| 123 | "timeSegment": { # A time period inside of an example that has a time dimension (e.g. video). # The time segment of the video to which the annotation applies. |
| 124 | "endTimeOffset": "A String", # End of the time segment (exclusive), represented as the duration since the example start. |
| 125 | "startTimeOffset": "A String", # Start of the time segment (inclusive), represented as the duration since the example start. |
| 126 | }, |
| 127 | }, |
| 128 | "imagePolylineAnnotation": { # A polyline for the image annotation. # Annotation value for image polyline cases. Polyline here is different from BoundingPoly. It is formed by line segments connected to each other but not closed form(Bounding Poly). The line segments can cross each other. |
| 129 | "annotationSpec": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. # Label of this polyline. |
| 130 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
| 131 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
| 132 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
| 133 | }, |
| 134 | "polyline": { # A line with multiple line segments. |
| 135 | "vertices": [ # The polyline vertices. |
| 136 | { # A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image. |
| 137 | "y": 42, # Y coordinate. |
| 138 | "x": 42, # X coordinate. |
| 139 | }, |
| 140 | ], |
| 141 | }, |
| 142 | "normalizedPolyline": { # Normalized polyline. |
| 143 | "normalizedVertices": [ # The normalized polyline vertices. |
| 144 | { # A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1. |
| 145 | "x": 3.14, # X coordinate. |
| 146 | "y": 3.14, # Y coordinate. |
| 147 | }, |
| 148 | ], |
| 149 | }, |
| 150 | }, |
| 151 | "imageBoundingPolyAnnotation": { # Image bounding poly annotation. It represents a polygon including bounding box in the image. # Annotation value for image bounding box, oriented bounding box and polygon cases. |
| 152 | "boundingPoly": { # A bounding polygon in the image. |
| 153 | "vertices": [ # The bounding polygon vertices. |
| 154 | { # A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image. |
| 155 | "y": 42, # Y coordinate. |
| 156 | "x": 42, # X coordinate. |
| 157 | }, |
| 158 | ], |
| 159 | }, |
| 160 | "annotationSpec": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. # Label of object in this bounding polygon. |
| 161 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
| 162 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
| 163 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
| 164 | }, |
| 165 | "normalizedBoundingPoly": { # Normalized bounding polygon. |
| 166 | "normalizedVertices": [ # The bounding polygon normalized vertices. |
| 167 | { # A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1. |
| 168 | "x": 3.14, # X coordinate. |
| 169 | "y": 3.14, # Y coordinate. |
| 170 | }, |
| 171 | ], |
| 172 | }, |
| 173 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 174 | "imageClassificationAnnotation": { # Image classification annotation definition. # Annotation value for image classification case. |
| 175 | "annotationSpec": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. # Label of image. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 176 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 177 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 178 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
| 179 | }, |
| 180 | }, |
| 181 | "imageSegmentationAnnotation": { # Image segmentation annotation. # Annotation value for image segmentation. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 182 | "imageBytes": "A String", # A byte string of a full image's color map. |
| 183 | "annotationColors": { # The mapping between rgb color and annotation spec. The key is the rgb color represented in format of rgb(0, 0, 0). The value is the AnnotationSpec. |
| 184 | "a_key": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 185 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 186 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 187 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
| 188 | }, |
| 189 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 190 | "mimeType": "A String", # Image format. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 191 | }, |
| 192 | "textEntityExtractionAnnotation": { # Text entity extraction annotation. # Annotation value for text entity extraction case. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 193 | "sequentialSegment": { # Start and end position in a sequence (e.g. text segment). # Position of the entity. |
| 194 | "end": 42, # End position (exclusive). |
| 195 | "start": 42, # Start position (inclusive). |
| 196 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 197 | "annotationSpec": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. # Label of the text entities. |
| 198 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
| 199 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
| 200 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
| 201 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 202 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 203 | "videoEventAnnotation": { # Video event annotation. # Annotation value for video event case. |
| 204 | "annotationSpec": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. # Label of the event in this annotation. |
| 205 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
| 206 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
| 207 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
| 208 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 209 | "timeSegment": { # A time period inside of an example that has a time dimension (e.g. video). # The time segment of the video to which the annotation applies. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 210 | "endTimeOffset": "A String", # End of the time segment (exclusive), represented as the duration since the example start. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 211 | "startTimeOffset": "A String", # Start of the time segment (inclusive), represented as the duration since the example start. |
| 212 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 213 | }, |
| 214 | "videoObjectTrackingAnnotation": { # Video object tracking annotation. # Annotation value for video object detection and tracking case. |
| 215 | "objectTrackingFrames": [ # The list of frames where this object track appears. |
| 216 | { # Video frame level annotation for object detection and tracking. |
| 217 | "normalizedBoundingPoly": { # Normalized bounding polygon. |
| 218 | "normalizedVertices": [ # The bounding polygon normalized vertices. |
| 219 | { # A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1. |
| 220 | "x": 3.14, # X coordinate. |
| 221 | "y": 3.14, # Y coordinate. |
| 222 | }, |
| 223 | ], |
| 224 | }, |
| 225 | "timeOffset": "A String", # The time offset of this frame relative to the beginning of the video. |
| 226 | "boundingPoly": { # A bounding polygon in the image. |
| 227 | "vertices": [ # The bounding polygon vertices. |
| 228 | { # A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image. |
| 229 | "y": 42, # Y coordinate. |
| 230 | "x": 42, # X coordinate. |
| 231 | }, |
| 232 | ], |
| 233 | }, |
| 234 | }, |
| 235 | ], |
| 236 | "timeSegment": { # A time period inside of an example that has a time dimension (e.g. video). # The time segment of the video to which object tracking applies. |
| 237 | "endTimeOffset": "A String", # End of the time segment (exclusive), represented as the duration since the example start. |
| 238 | "startTimeOffset": "A String", # Start of the time segment (inclusive), represented as the duration since the example start. |
| 239 | }, |
| 240 | "annotationSpec": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. # Label of the object tracked in this annotation. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 241 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
| 242 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
| 243 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 244 | }, |
| 245 | }, |
| 246 | "textClassificationAnnotation": { # Text classification annotation. # Annotation value for text classification case. |
| 247 | "annotationSpec": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. # Label of the text. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 248 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 249 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 250 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
| 251 | }, |
| 252 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 253 | }, |
| 254 | "annotationMetadata": { # Additional information associated with the annotation. # Output only. Annotation metadata, including information like votes for labels. |
| 255 | "operatorMetadata": { # General information useful for labels coming from contributors. # Metadata related to human labeling. |
| 256 | "labelVotes": 42, # The total number of contributors that choose this label. |
| 257 | "score": 3.14, # Confidence score corresponding to a label. For examle, if 3 contributors have answered the question and 2 of them agree on the final label, the confidence score will be 0.67 (2/3). |
| 258 | "totalVotes": 42, # The total number of contributors that answer this question. |
| 259 | "comments": [ # Comments from contributors. |
| 260 | "A String", |
| 261 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 262 | }, |
| 263 | }, |
| 264 | }, |
| 265 | ], |
| 266 | "textPayload": { # Container of information about a piece of text. # The text payload, a container of the text content. |
| 267 | "textContent": "A String", # Text content. |
| 268 | }, |
| 269 | "videoPayload": { # Container of information of a video. # The video payload, a container of the video uri. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 270 | "videoUri": "A String", # Video uri from the user bucket. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 271 | "signedUri": "A String", # Signed uri of the video file in the service bucket. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 272 | "mimeType": "A String", # Video format. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 273 | "videoThumbnails": [ # The list of video thumbnails. |
| 274 | { # Container of information of a video thumbnail. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 275 | "thumbnail": "A String", # A byte string of the video frame. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 276 | "timeOffset": "A String", # Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 277 | }, |
| 278 | ], |
| 279 | "frameRate": 3.14, # FPS of the video. |
| 280 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 281 | "imagePayload": { # Container of information about an image. # The image payload, a container of the image bytes/uri. |
| 282 | "mimeType": "A String", # Image format. |
| 283 | "imageUri": "A String", # Image uri from the user bucket. |
| 284 | "imageThumbnail": "A String", # A byte string of a thumbnail image. |
| 285 | "signedUri": "A String", # Signed uri of the image file in the service bucket. |
| 286 | }, |
| 287 | "name": "A String", # Output only. Name of the example, in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id} |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 288 | }</pre> |
| 289 | </div> |
| 290 | |
| 291 | <div class="method"> |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 292 | <code class="details" id="list">list(parent, pageToken=None, pageSize=None, filter=None, x__xgafv=None)</code> |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 293 | <pre>Lists examples in an annotated dataset. Pagination is supported. |
| 294 | |
| 295 | Args: |
| 296 | parent: string, Required. Example resource parent. (required) |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 297 | pageToken: string, Optional. A token identifying a page of results for the server to return. Typically obtained by ListExamplesResponse.next_page_token of the previous [DataLabelingService.ListExamples] call. Return first page if empty. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 298 | pageSize: integer, Optional. Requested page size. Server may return fewer results than requested. Default value is 100. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 299 | filter: string, Optional. An expression for filtering Examples. For annotated datasets that have annotation spec set, filter by annotation_spec.display_name is supported. Format "annotation_spec.display_name = {display_name}" |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 300 | x__xgafv: string, V1 error format. |
| 301 | Allowed values |
| 302 | 1 - v1 error format |
| 303 | 2 - v2 error format |
| 304 | |
| 305 | Returns: |
| 306 | An object of the form: |
| 307 | |
| 308 | { # Results of listing Examples in and annotated dataset. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 309 | "nextPageToken": "A String", # A token to retrieve next page of results. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 310 | "examples": [ # The list of examples to return. |
| 311 | { # An Example is a piece of data and its annotation. For example, an image with label "house". |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 312 | "annotations": [ # Output only. Annotations for the piece of data in Example. One piece of data can have multiple annotations. |
| 313 | { # Annotation for Example. Each example may have one or more annotations. For example in image classification problem, each image might have one or more labels. We call labels binded with this image an Annotation. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 314 | "name": "A String", # Output only. Unique name of this annotation, format is: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id} |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 315 | "annotationSource": "A String", # Output only. The source of the annotation. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 316 | "annotationSentiment": "A String", # Output only. Sentiment for this annotation. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 317 | "annotationValue": { # Annotation value for an example. # Output only. This is the actual annotation value, e.g classification, bounding box values are stored here. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 318 | "videoClassificationAnnotation": { # Video classification annotation. # Annotation value for video classification case. |
| 319 | "annotationSpec": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. # Label of the segment specified by time_segment. |
| 320 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
| 321 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
| 322 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
| 323 | }, |
| 324 | "timeSegment": { # A time period inside of an example that has a time dimension (e.g. video). # The time segment of the video to which the annotation applies. |
| 325 | "endTimeOffset": "A String", # End of the time segment (exclusive), represented as the duration since the example start. |
| 326 | "startTimeOffset": "A String", # Start of the time segment (inclusive), represented as the duration since the example start. |
| 327 | }, |
| 328 | }, |
| 329 | "imagePolylineAnnotation": { # A polyline for the image annotation. # Annotation value for image polyline cases. Polyline here is different from BoundingPoly. It is formed by line segments connected to each other but not closed form(Bounding Poly). The line segments can cross each other. |
| 330 | "annotationSpec": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. # Label of this polyline. |
| 331 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
| 332 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
| 333 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
| 334 | }, |
| 335 | "polyline": { # A line with multiple line segments. |
| 336 | "vertices": [ # The polyline vertices. |
| 337 | { # A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image. |
| 338 | "y": 42, # Y coordinate. |
| 339 | "x": 42, # X coordinate. |
| 340 | }, |
| 341 | ], |
| 342 | }, |
| 343 | "normalizedPolyline": { # Normalized polyline. |
| 344 | "normalizedVertices": [ # The normalized polyline vertices. |
| 345 | { # A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1. |
| 346 | "x": 3.14, # X coordinate. |
| 347 | "y": 3.14, # Y coordinate. |
| 348 | }, |
| 349 | ], |
| 350 | }, |
| 351 | }, |
| 352 | "imageBoundingPolyAnnotation": { # Image bounding poly annotation. It represents a polygon including bounding box in the image. # Annotation value for image bounding box, oriented bounding box and polygon cases. |
| 353 | "boundingPoly": { # A bounding polygon in the image. |
| 354 | "vertices": [ # The bounding polygon vertices. |
| 355 | { # A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image. |
| 356 | "y": 42, # Y coordinate. |
| 357 | "x": 42, # X coordinate. |
| 358 | }, |
| 359 | ], |
| 360 | }, |
| 361 | "annotationSpec": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. # Label of object in this bounding polygon. |
| 362 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
| 363 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
| 364 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
| 365 | }, |
| 366 | "normalizedBoundingPoly": { # Normalized bounding polygon. |
| 367 | "normalizedVertices": [ # The bounding polygon normalized vertices. |
| 368 | { # A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1. |
| 369 | "x": 3.14, # X coordinate. |
| 370 | "y": 3.14, # Y coordinate. |
| 371 | }, |
| 372 | ], |
| 373 | }, |
| 374 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 375 | "imageClassificationAnnotation": { # Image classification annotation definition. # Annotation value for image classification case. |
| 376 | "annotationSpec": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. # Label of image. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 377 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 378 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 379 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
| 380 | }, |
| 381 | }, |
| 382 | "imageSegmentationAnnotation": { # Image segmentation annotation. # Annotation value for image segmentation. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 383 | "imageBytes": "A String", # A byte string of a full image's color map. |
| 384 | "annotationColors": { # The mapping between rgb color and annotation spec. The key is the rgb color represented in format of rgb(0, 0, 0). The value is the AnnotationSpec. |
| 385 | "a_key": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 386 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 387 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 388 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
| 389 | }, |
| 390 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 391 | "mimeType": "A String", # Image format. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 392 | }, |
| 393 | "textEntityExtractionAnnotation": { # Text entity extraction annotation. # Annotation value for text entity extraction case. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 394 | "sequentialSegment": { # Start and end position in a sequence (e.g. text segment). # Position of the entity. |
| 395 | "end": 42, # End position (exclusive). |
| 396 | "start": 42, # Start position (inclusive). |
| 397 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 398 | "annotationSpec": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. # Label of the text entities. |
| 399 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
| 400 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
| 401 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
| 402 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 403 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 404 | "videoEventAnnotation": { # Video event annotation. # Annotation value for video event case. |
| 405 | "annotationSpec": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. # Label of the event in this annotation. |
| 406 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
| 407 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
| 408 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
| 409 | }, |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 410 | "timeSegment": { # A time period inside of an example that has a time dimension (e.g. video). # The time segment of the video to which the annotation applies. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 411 | "endTimeOffset": "A String", # End of the time segment (exclusive), represented as the duration since the example start. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 412 | "startTimeOffset": "A String", # Start of the time segment (inclusive), represented as the duration since the example start. |
| 413 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 414 | }, |
| 415 | "videoObjectTrackingAnnotation": { # Video object tracking annotation. # Annotation value for video object detection and tracking case. |
| 416 | "objectTrackingFrames": [ # The list of frames where this object track appears. |
| 417 | { # Video frame level annotation for object detection and tracking. |
| 418 | "normalizedBoundingPoly": { # Normalized bounding polygon. |
| 419 | "normalizedVertices": [ # The bounding polygon normalized vertices. |
| 420 | { # A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1. |
| 421 | "x": 3.14, # X coordinate. |
| 422 | "y": 3.14, # Y coordinate. |
| 423 | }, |
| 424 | ], |
| 425 | }, |
| 426 | "timeOffset": "A String", # The time offset of this frame relative to the beginning of the video. |
| 427 | "boundingPoly": { # A bounding polygon in the image. |
| 428 | "vertices": [ # The bounding polygon vertices. |
| 429 | { # A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image. |
| 430 | "y": 42, # Y coordinate. |
| 431 | "x": 42, # X coordinate. |
| 432 | }, |
| 433 | ], |
| 434 | }, |
| 435 | }, |
| 436 | ], |
| 437 | "timeSegment": { # A time period inside of an example that has a time dimension (e.g. video). # The time segment of the video to which object tracking applies. |
| 438 | "endTimeOffset": "A String", # End of the time segment (exclusive), represented as the duration since the example start. |
| 439 | "startTimeOffset": "A String", # Start of the time segment (inclusive), represented as the duration since the example start. |
| 440 | }, |
| 441 | "annotationSpec": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. # Label of the object tracked in this annotation. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 442 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
| 443 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
| 444 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 445 | }, |
| 446 | }, |
| 447 | "textClassificationAnnotation": { # Text classification annotation. # Annotation value for text classification case. |
| 448 | "annotationSpec": { # Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and an AnnotationSpec for `cat`. # Label of the text. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 449 | "description": "A String", # Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 450 | "displayName": "A String", # Required. The display name of the AnnotationSpec. Maximum of 64 characters. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 451 | "index": 42, # Output only. This is the integer index of the AnnotationSpec. The index for the whole AnnotationSpecSet is sequential starting from 0. For example, an AnnotationSpecSet with classes `dog` and `cat`, might contain one AnnotationSpec with `{ display_name: "dog", index: 0 }` and one AnnotationSpec with `{ display_name: "cat", index: 1 }`. This is especially useful for model training as it encodes the string labels into numeric values. |
| 452 | }, |
| 453 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 454 | }, |
| 455 | "annotationMetadata": { # Additional information associated with the annotation. # Output only. Annotation metadata, including information like votes for labels. |
| 456 | "operatorMetadata": { # General information useful for labels coming from contributors. # Metadata related to human labeling. |
| 457 | "labelVotes": 42, # The total number of contributors that choose this label. |
| 458 | "score": 3.14, # Confidence score corresponding to a label. For examle, if 3 contributors have answered the question and 2 of them agree on the final label, the confidence score will be 0.67 (2/3). |
| 459 | "totalVotes": 42, # The total number of contributors that answer this question. |
| 460 | "comments": [ # Comments from contributors. |
| 461 | "A String", |
| 462 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 463 | }, |
| 464 | }, |
| 465 | }, |
| 466 | ], |
| 467 | "textPayload": { # Container of information about a piece of text. # The text payload, a container of the text content. |
| 468 | "textContent": "A String", # Text content. |
| 469 | }, |
| 470 | "videoPayload": { # Container of information of a video. # The video payload, a container of the video uri. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 471 | "videoUri": "A String", # Video uri from the user bucket. |
Yoshi Automation Bot | c2228be | 2020-11-24 15:48:03 -0800 | [diff] [blame] | 472 | "signedUri": "A String", # Signed uri of the video file in the service bucket. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 473 | "mimeType": "A String", # Video format. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 474 | "videoThumbnails": [ # The list of video thumbnails. |
| 475 | { # Container of information of a video thumbnail. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 476 | "thumbnail": "A String", # A byte string of the video frame. |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 477 | "timeOffset": "A String", # Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 478 | }, |
| 479 | ], |
| 480 | "frameRate": 3.14, # FPS of the video. |
| 481 | }, |
Yoshi Automation Bot | 0d561ef | 2020-11-25 07:50:41 -0800 | [diff] [blame^] | 482 | "imagePayload": { # Container of information about an image. # The image payload, a container of the image bytes/uri. |
| 483 | "mimeType": "A String", # Image format. |
| 484 | "imageUri": "A String", # Image uri from the user bucket. |
| 485 | "imageThumbnail": "A String", # A byte string of a thumbnail image. |
| 486 | "signedUri": "A String", # Signed uri of the image file in the service bucket. |
| 487 | }, |
| 488 | "name": "A String", # Output only. Name of the example, in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}/examples/{example_id} |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 489 | }, |
| 490 | ], |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame] | 491 | }</pre> |
| 492 | </div> |
| 493 | |
| 494 | <div class="method"> |
| 495 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 496 | <pre>Retrieves the next page of results. |
| 497 | |
| 498 | Args: |
| 499 | previous_request: The request for the previous page. (required) |
| 500 | previous_response: The response from the request for the previous page. (required) |
| 501 | |
| 502 | Returns: |
| 503 | A request object that you can call 'execute()' on to request the next |
| 504 | page. Returns None if there are no more items in the collection. |
| 505 | </pre> |
| 506 | </div> |
| 507 | |
| 508 | </body></html> |