OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "", | 11 "basePath": "", |
12 "baseUrl": "https://vision.googleapis.com/", | 12 "baseUrl": "https://vision.googleapis.com/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
| 14 "canonicalName": "Vision", |
14 "description": "Integrates Google Vision features, including image labeling,
face, logo, and landmark detection, optical character recognition (OCR), and de
tection of explicit content, into applications.", | 15 "description": "Integrates Google Vision features, including image labeling,
face, logo, and landmark detection, optical character recognition (OCR), and de
tection of explicit content, into applications.", |
15 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
16 "documentationLink": "https://cloud.google.com/vision/", | 17 "documentationLink": "https://cloud.google.com/vision/", |
17 "icons": { | 18 "icons": { |
18 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
19 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
20 }, | 21 }, |
21 "id": "vision:v1", | 22 "id": "vision:v1", |
22 "kind": "discovery#restDescription", | 23 "kind": "discovery#restDescription", |
23 "name": "vision", | 24 "name": "vision", |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 "response": { | 129 "response": { |
129 "$ref": "BatchAnnotateImagesResponse" | 130 "$ref": "BatchAnnotateImagesResponse" |
130 }, | 131 }, |
131 "scopes": [ | 132 "scopes": [ |
132 "https://www.googleapis.com/auth/cloud-platform" | 133 "https://www.googleapis.com/auth/cloud-platform" |
133 ] | 134 ] |
134 } | 135 } |
135 } | 136 } |
136 } | 137 } |
137 }, | 138 }, |
138 "revision": "20161031", | 139 "revision": "20161128", |
139 "rootUrl": "https://vision.googleapis.com/", | 140 "rootUrl": "https://vision.googleapis.com/", |
140 "schemas": { | 141 "schemas": { |
141 "ImageSource": { | 142 "ImageSource": { |
142 "description": "External image source (Google Cloud Storage image lo
cation).", | 143 "description": "External image source (Google Cloud Storage image lo
cation).", |
143 "id": "ImageSource", | 144 "id": "ImageSource", |
144 "properties": { | 145 "properties": { |
145 "gcsImageUri": { | 146 "gcsImageUri": { |
146 "description": "Google Cloud Storage image URI. It must be i
n the following form:\n`gs://bucket_name/object_name`. For more\ndetails, please
see: https://cloud.google.com/storage/docs/reference-uris.\nNOTE: Cloud Storage
object versioning is not supported!", | 147 "description": "Google Cloud Storage image URI, which must b
e in the following form:\n`gs://bucket_name/object_name` (for details, see\n[Goo
gle Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-
uris)).\nNOTE: Cloud Storage object versioning is not supported.", |
147 "type": "string" | 148 "type": "string" |
148 } | 149 } |
149 }, | 150 }, |
150 "type": "object" | 151 "type": "object" |
151 }, | 152 }, |
152 "AnnotateImageRequest": { | 153 "AnnotateImageRequest": { |
153 "description": "Request for performing Google Cloud Vision API tasks
over a user-provided\nimage, with user-requested features.", | 154 "description": "Request for performing Google Cloud Vision API tasks
over a user-provided\nimage, with user-requested features.", |
154 "id": "AnnotateImageRequest", | 155 "id": "AnnotateImageRequest", |
155 "properties": { | 156 "properties": { |
156 "image": { | 157 "image": { |
(...skipping 12 matching lines...) Expand all Loading... |
169 "type": "array" | 170 "type": "array" |
170 } | 171 } |
171 }, | 172 }, |
172 "type": "object" | 173 "type": "object" |
173 }, | 174 }, |
174 "AnnotateImageResponse": { | 175 "AnnotateImageResponse": { |
175 "description": "Response to an image annotation request.", | 176 "description": "Response to an image annotation request.", |
176 "id": "AnnotateImageResponse", | 177 "id": "AnnotateImageResponse", |
177 "properties": { | 178 "properties": { |
178 "labelAnnotations": { | 179 "labelAnnotations": { |
179 "description": "If present, label detection completed succes
sfully.", | 180 "description": "If present, label detection has completed su
ccessfully.", |
180 "items": { | 181 "items": { |
181 "$ref": "EntityAnnotation" | 182 "$ref": "EntityAnnotation" |
182 }, | 183 }, |
183 "type": "array" | 184 "type": "array" |
184 }, | 185 }, |
185 "landmarkAnnotations": { | 186 "landmarkAnnotations": { |
186 "description": "If present, landmark detection completed suc
cessfully.", | 187 "description": "If present, landmark detection has completed
successfully.", |
187 "items": { | 188 "items": { |
188 "$ref": "EntityAnnotation" | 189 "$ref": "EntityAnnotation" |
189 }, | 190 }, |
190 "type": "array" | 191 "type": "array" |
191 }, | 192 }, |
192 "safeSearchAnnotation": { | 193 "safeSearchAnnotation": { |
193 "$ref": "SafeSearchAnnotation", | 194 "$ref": "SafeSearchAnnotation", |
194 "description": "If present, safe-search annotation completed
successfully." | 195 "description": "If present, safe-search annotation has compl
eted successfully." |
195 }, | 196 }, |
196 "imagePropertiesAnnotation": { | 197 "imagePropertiesAnnotation": { |
197 "$ref": "ImageProperties", | 198 "$ref": "ImageProperties", |
198 "description": "If present, image properties were extracted
successfully." | 199 "description": "If present, image properties were extracted
successfully." |
199 }, | 200 }, |
200 "textAnnotations": { | 201 "textAnnotations": { |
201 "description": "If present, text (OCR) detection completed s
uccessfully.", | 202 "description": "If present, text (OCR) detection has complet
ed successfully.", |
202 "items": { | 203 "items": { |
203 "$ref": "EntityAnnotation" | 204 "$ref": "EntityAnnotation" |
204 }, | 205 }, |
205 "type": "array" | 206 "type": "array" |
206 }, | 207 }, |
207 "logoAnnotations": { | 208 "logoAnnotations": { |
208 "description": "If present, logo detection completed success
fully.", | 209 "description": "If present, logo detection has completed suc
cessfully.", |
209 "items": { | 210 "items": { |
210 "$ref": "EntityAnnotation" | 211 "$ref": "EntityAnnotation" |
211 }, | 212 }, |
212 "type": "array" | 213 "type": "array" |
213 }, | 214 }, |
214 "faceAnnotations": { | 215 "faceAnnotations": { |
215 "description": "If present, face detection completed success
fully.", | 216 "description": "If present, face detection has completed suc
cessfully.", |
216 "items": { | 217 "items": { |
217 "$ref": "FaceAnnotation" | 218 "$ref": "FaceAnnotation" |
218 }, | 219 }, |
219 "type": "array" | 220 "type": "array" |
220 }, | 221 }, |
221 "error": { | 222 "error": { |
222 "$ref": "Status", | 223 "$ref": "Status", |
223 "description": "If set, represents the error message for the
operation.\nNote that filled-in mage annotations are guaranteed to be\ncorrect,
even when <code>error</code> is non-empty." | 224 "description": "If set, represents the error message for the
operation.\nNote that filled-in image annotations are guaranteed to be\ncorrect
, even when `error` is set." |
224 } | 225 } |
225 }, | 226 }, |
226 "type": "object" | 227 "type": "object" |
227 }, | 228 }, |
228 "LatLongRect": { | 229 "LatLongRect": { |
229 "description": "Rectangle determined by min and max LatLng pairs.", | 230 "description": "Rectangle determined by min and max `LatLng` pairs."
, |
230 "id": "LatLongRect", | 231 "id": "LatLongRect", |
231 "properties": { | 232 "properties": { |
232 "maxLatLng": { | 233 "maxLatLng": { |
233 "$ref": "LatLng", | 234 "$ref": "LatLng", |
234 "description": "Max lat/long pair." | 235 "description": "Max lat/long pair." |
235 }, | 236 }, |
236 "minLatLng": { | 237 "minLatLng": { |
237 "$ref": "LatLng", | 238 "$ref": "LatLng", |
238 "description": "Min lat/long pair." | 239 "description": "Min lat/long pair." |
239 } | 240 } |
(...skipping 25 matching lines...) Expand all Loading... |
265 "type": "string" | 266 "type": "string" |
266 } | 267 } |
267 }, | 268 }, |
268 "type": "object" | 269 "type": "object" |
269 }, | 270 }, |
270 "FaceAnnotation": { | 271 "FaceAnnotation": { |
271 "description": "A face annotation object contains the results of fac
e detection.", | 272 "description": "A face annotation object contains the results of fac
e detection.", |
272 "id": "FaceAnnotation", | 273 "id": "FaceAnnotation", |
273 "properties": { | 274 "properties": { |
274 "tiltAngle": { | 275 "tiltAngle": { |
275 "description": "Pitch angle. Indicates the upwards/downwards
angle that the face is\npointing\nrelative to the image's horizontal plane. Ran
ge [-180,180].", | 276 "description": "Pitch angle, which indicates the upwards/dow
nwards angle that the face is\npointing relative to the image's horizontal plane
. Range [-180,180].", |
276 "format": "float", | 277 "format": "float", |
277 "type": "number" | 278 "type": "number" |
278 }, | 279 }, |
279 "underExposedLikelihood": { | 280 "underExposedLikelihood": { |
280 "description": "Under-exposed likelihood.", | 281 "description": "Under-exposed likelihood.", |
281 "enum": [ | 282 "enum": [ |
282 "UNKNOWN", | 283 "UNKNOWN", |
283 "VERY_UNLIKELY", | 284 "VERY_UNLIKELY", |
284 "UNLIKELY", | 285 "UNLIKELY", |
285 "POSSIBLE", | 286 "POSSIBLE", |
286 "LIKELY", | 287 "LIKELY", |
287 "VERY_LIKELY" | 288 "VERY_LIKELY" |
288 ], | 289 ], |
289 "enumDescriptions": [ | 290 "enumDescriptions": [ |
290 "Unknown likelihood.", | 291 "Unknown likelihood.", |
291 "The image very unlikely belongs to the vertical specifi
ed.", | 292 "It is very unlikely that the image belongs to the speci
fied vertical.", |
292 "The image unlikely belongs to the vertical specified.", | 293 "It is unlikely that the image belongs to the specified
vertical.", |
293 "The image possibly belongs to the vertical specified.", | 294 "It is possible that the image belongs to the specified
vertical.", |
294 "The image likely belongs to the vertical specified.", | 295 "It is likely that the image belongs to the specified ve
rtical.", |
295 "The image very likely belongs to the vertical specified
." | 296 "It is very likely that the image belongs to the specifi
ed vertical." |
296 ], | 297 ], |
297 "type": "string" | 298 "type": "string" |
298 }, | 299 }, |
299 "fdBoundingPoly": { | 300 "fdBoundingPoly": { |
300 "$ref": "BoundingPoly", | 301 "$ref": "BoundingPoly", |
301 "description": "This bounding polygon is tighter than the pr
evious\n<code>boundingPoly</code>, and\nencloses only the skin part of the face.
Typically, it is used to\neliminate the face from any image analysis that detec
ts the\n\"amount of skin\" visible in an image. It is not based on the\nlandmark
er results, only on the initial face detection, hence\nthe <code>fd</code> (face
detection) prefix." | 302 "description": "The `fd_bounding_poly` bounding polygon is t
ighter than the\n`boundingPoly`, and encloses only the skin part of the face. Ty
pically, it\nis used to eliminate the face from any image analysis that detects
the\n\"amount of skin\" visible in an image. It is not based on the\nlandmarker
results, only on the initial face detection, hence\nthe <code>fd</code> (face de
tection) prefix." |
302 }, | 303 }, |
303 "landmarkingConfidence": { | 304 "landmarkingConfidence": { |
304 "description": "Face landmarking confidence. Range [0, 1].", | 305 "description": "Face landmarking confidence. Range [0, 1].", |
305 "format": "float", | 306 "format": "float", |
306 "type": "number" | 307 "type": "number" |
307 }, | 308 }, |
308 "joyLikelihood": { | 309 "joyLikelihood": { |
309 "description": "Joy likelihood.", | 310 "description": "Joy likelihood.", |
310 "enum": [ | 311 "enum": [ |
311 "UNKNOWN", | 312 "UNKNOWN", |
312 "VERY_UNLIKELY", | 313 "VERY_UNLIKELY", |
313 "UNLIKELY", | 314 "UNLIKELY", |
314 "POSSIBLE", | 315 "POSSIBLE", |
315 "LIKELY", | 316 "LIKELY", |
316 "VERY_LIKELY" | 317 "VERY_LIKELY" |
317 ], | 318 ], |
318 "enumDescriptions": [ | 319 "enumDescriptions": [ |
319 "Unknown likelihood.", | 320 "Unknown likelihood.", |
320 "The image very unlikely belongs to the vertical specifi
ed.", | 321 "It is very unlikely that the image belongs to the speci
fied vertical.", |
321 "The image unlikely belongs to the vertical specified.", | 322 "It is unlikely that the image belongs to the specified
vertical.", |
322 "The image possibly belongs to the vertical specified.", | 323 "It is possible that the image belongs to the specified
vertical.", |
323 "The image likely belongs to the vertical specified.", | 324 "It is likely that the image belongs to the specified ve
rtical.", |
324 "The image very likely belongs to the vertical specified
." | 325 "It is very likely that the image belongs to the specifi
ed vertical." |
325 ], | 326 ], |
326 "type": "string" | 327 "type": "string" |
327 }, | 328 }, |
328 "detectionConfidence": { | 329 "detectionConfidence": { |
329 "description": "Detection confidence. Range [0, 1].", | 330 "description": "Detection confidence. Range [0, 1].", |
330 "format": "float", | 331 "format": "float", |
331 "type": "number" | 332 "type": "number" |
332 }, | 333 }, |
333 "surpriseLikelihood": { | 334 "surpriseLikelihood": { |
334 "description": "Surprise likelihood.", | 335 "description": "Surprise likelihood.", |
335 "enum": [ | 336 "enum": [ |
336 "UNKNOWN", | 337 "UNKNOWN", |
337 "VERY_UNLIKELY", | 338 "VERY_UNLIKELY", |
338 "UNLIKELY", | 339 "UNLIKELY", |
339 "POSSIBLE", | 340 "POSSIBLE", |
340 "LIKELY", | 341 "LIKELY", |
341 "VERY_LIKELY" | 342 "VERY_LIKELY" |
342 ], | 343 ], |
343 "enumDescriptions": [ | 344 "enumDescriptions": [ |
344 "Unknown likelihood.", | 345 "Unknown likelihood.", |
345 "The image very unlikely belongs to the vertical specifi
ed.", | 346 "It is very unlikely that the image belongs to the speci
fied vertical.", |
346 "The image unlikely belongs to the vertical specified.", | 347 "It is unlikely that the image belongs to the specified
vertical.", |
347 "The image possibly belongs to the vertical specified.", | 348 "It is possible that the image belongs to the specified
vertical.", |
348 "The image likely belongs to the vertical specified.", | 349 "It is likely that the image belongs to the specified ve
rtical.", |
349 "The image very likely belongs to the vertical specified
." | 350 "It is very likely that the image belongs to the specifi
ed vertical." |
350 ], | 351 ], |
351 "type": "string" | 352 "type": "string" |
352 }, | 353 }, |
353 "angerLikelihood": { | 354 "angerLikelihood": { |
354 "description": "Anger likelihood.", | 355 "description": "Anger likelihood.", |
355 "enum": [ | 356 "enum": [ |
356 "UNKNOWN", | 357 "UNKNOWN", |
357 "VERY_UNLIKELY", | 358 "VERY_UNLIKELY", |
358 "UNLIKELY", | 359 "UNLIKELY", |
359 "POSSIBLE", | 360 "POSSIBLE", |
360 "LIKELY", | 361 "LIKELY", |
361 "VERY_LIKELY" | 362 "VERY_LIKELY" |
362 ], | 363 ], |
363 "enumDescriptions": [ | 364 "enumDescriptions": [ |
364 "Unknown likelihood.", | 365 "Unknown likelihood.", |
365 "The image very unlikely belongs to the vertical specifi
ed.", | 366 "It is very unlikely that the image belongs to the speci
fied vertical.", |
366 "The image unlikely belongs to the vertical specified.", | 367 "It is unlikely that the image belongs to the specified
vertical.", |
367 "The image possibly belongs to the vertical specified.", | 368 "It is possible that the image belongs to the specified
vertical.", |
368 "The image likely belongs to the vertical specified.", | 369 "It is likely that the image belongs to the specified ve
rtical.", |
369 "The image very likely belongs to the vertical specified
." | 370 "It is very likely that the image belongs to the specifi
ed vertical." |
370 ], | 371 ], |
371 "type": "string" | 372 "type": "string" |
372 }, | 373 }, |
373 "headwearLikelihood": { | 374 "headwearLikelihood": { |
374 "description": "Headwear likelihood.", | 375 "description": "Headwear likelihood.", |
375 "enum": [ | 376 "enum": [ |
376 "UNKNOWN", | 377 "UNKNOWN", |
377 "VERY_UNLIKELY", | 378 "VERY_UNLIKELY", |
378 "UNLIKELY", | 379 "UNLIKELY", |
379 "POSSIBLE", | 380 "POSSIBLE", |
380 "LIKELY", | 381 "LIKELY", |
381 "VERY_LIKELY" | 382 "VERY_LIKELY" |
382 ], | 383 ], |
383 "enumDescriptions": [ | 384 "enumDescriptions": [ |
384 "Unknown likelihood.", | 385 "Unknown likelihood.", |
385 "The image very unlikely belongs to the vertical specifi
ed.", | 386 "It is very unlikely that the image belongs to the speci
fied vertical.", |
386 "The image unlikely belongs to the vertical specified.", | 387 "It is unlikely that the image belongs to the specified
vertical.", |
387 "The image possibly belongs to the vertical specified.", | 388 "It is possible that the image belongs to the specified
vertical.", |
388 "The image likely belongs to the vertical specified.", | 389 "It is likely that the image belongs to the specified ve
rtical.", |
389 "The image very likely belongs to the vertical specified
." | 390 "It is very likely that the image belongs to the specifi
ed vertical." |
390 ], | 391 ], |
391 "type": "string" | 392 "type": "string" |
392 }, | 393 }, |
393 "panAngle": { | 394 "panAngle": { |
394 "description": "Yaw angle. Indicates the leftward/rightward
angle that the face is\npointing, relative to the vertical plane perpendicular t
o the image. Range\n[-180,180].", | 395 "description": "Yaw angle, which indicates the leftward/righ
tward angle that the face is\npointing relative to the vertical plane perpendicu
lar to the image. Range\n[-180,180].", |
395 "format": "float", | 396 "format": "float", |
396 "type": "number" | 397 "type": "number" |
397 }, | 398 }, |
398 "boundingPoly": { | 399 "boundingPoly": { |
399 "$ref": "BoundingPoly", | 400 "$ref": "BoundingPoly", |
400 "description": "The bounding polygon around the face. The co
ordinates of the bounding box\nare in the original image's scale, as returned in
ImageParams.\nThe bounding box is computed to \"frame\" the face in accordance
with human\nexpectations. It is based on the landmarker results.\nNote that one
or more x and/or y coordinates may not be generated in the\nBoundingPoly (the po
lygon will be unbounded) if only a partial face appears in\nthe image to be anno
tated." | 401 "description": "The bounding polygon around the face. The co
ordinates of the bounding box\nare in the original image's scale, as returned in
`ImageParams`.\nThe bounding box is computed to \"frame\" the face in accordanc
e with human\nexpectations. It is based on the landmarker results.\nNote that on
e or more x and/or y coordinates may not be generated in the\n`BoundingPoly` (th
e polygon will be unbounded) if only a partial face\nappears in the image to be
annotated." |
401 }, | 402 }, |
402 "landmarks": { | 403 "landmarks": { |
403 "description": "Detected face landmarks.", | 404 "description": "Detected face landmarks.", |
404 "items": { | 405 "items": { |
405 "$ref": "Landmark" | 406 "$ref": "Landmark" |
406 }, | 407 }, |
407 "type": "array" | 408 "type": "array" |
408 }, | 409 }, |
409 "blurredLikelihood": { | 410 "blurredLikelihood": { |
410 "description": "Blurred likelihood.", | 411 "description": "Blurred likelihood.", |
411 "enum": [ | 412 "enum": [ |
412 "UNKNOWN", | 413 "UNKNOWN", |
413 "VERY_UNLIKELY", | 414 "VERY_UNLIKELY", |
414 "UNLIKELY", | 415 "UNLIKELY", |
415 "POSSIBLE", | 416 "POSSIBLE", |
416 "LIKELY", | 417 "LIKELY", |
417 "VERY_LIKELY" | 418 "VERY_LIKELY" |
418 ], | 419 ], |
419 "enumDescriptions": [ | 420 "enumDescriptions": [ |
420 "Unknown likelihood.", | 421 "Unknown likelihood.", |
421 "The image very unlikely belongs to the vertical specifi
ed.", | 422 "It is very unlikely that the image belongs to the speci
fied vertical.", |
422 "The image unlikely belongs to the vertical specified.", | 423 "It is unlikely that the image belongs to the specified
vertical.", |
423 "The image possibly belongs to the vertical specified.", | 424 "It is possible that the image belongs to the specified
vertical.", |
424 "The image likely belongs to the vertical specified.", | 425 "It is likely that the image belongs to the specified ve
rtical.", |
425 "The image very likely belongs to the vertical specified
." | 426 "It is very likely that the image belongs to the specifi
ed vertical." |
426 ], | 427 ], |
427 "type": "string" | 428 "type": "string" |
428 }, | 429 }, |
429 "rollAngle": { | 430 "rollAngle": { |
430 "description": "Roll angle. Indicates the amount of clockwis
e/anti-clockwise rotation of\nthe\nface relative to the image vertical, about th
e axis perpendicular to the\nface. Range [-180,180].", | 431 "description": "Roll angle, which indicates the amount of cl
ockwise/anti-clockwise rotation\nof the face relative to the image vertical abou
t the axis perpendicular to\nthe face. Range [-180,180].", |
431 "format": "float", | 432 "format": "float", |
432 "type": "number" | 433 "type": "number" |
433 }, | 434 }, |
434 "sorrowLikelihood": { | 435 "sorrowLikelihood": { |
435 "description": "Sorrow likelihood.", | 436 "description": "Sorrow likelihood.", |
436 "enum": [ | 437 "enum": [ |
437 "UNKNOWN", | 438 "UNKNOWN", |
438 "VERY_UNLIKELY", | 439 "VERY_UNLIKELY", |
439 "UNLIKELY", | 440 "UNLIKELY", |
440 "POSSIBLE", | 441 "POSSIBLE", |
441 "LIKELY", | 442 "LIKELY", |
442 "VERY_LIKELY" | 443 "VERY_LIKELY" |
443 ], | 444 ], |
444 "enumDescriptions": [ | 445 "enumDescriptions": [ |
445 "Unknown likelihood.", | 446 "Unknown likelihood.", |
446 "The image very unlikely belongs to the vertical specifi
ed.", | 447 "It is very unlikely that the image belongs to the speci
fied vertical.", |
447 "The image unlikely belongs to the vertical specified.", | 448 "It is unlikely that the image belongs to the specified
vertical.", |
448 "The image possibly belongs to the vertical specified.", | 449 "It is possible that the image belongs to the specified
vertical.", |
449 "The image likely belongs to the vertical specified.", | 450 "It is likely that the image belongs to the specified ve
rtical.", |
450 "The image very likely belongs to the vertical specified
." | 451 "It is very likely that the image belongs to the specifi
ed vertical." |
451 ], | 452 ], |
452 "type": "string" | 453 "type": "string" |
453 } | 454 } |
454 }, | 455 }, |
455 "type": "object" | 456 "type": "object" |
456 }, | 457 }, |
457 "Vertex": { | 458 "Vertex": { |
458 "description": "A vertex represents a 2D point in the image.\nNOTE:
the vertex coordinates are in the same scale as the original image.", | 459 "description": "A vertex represents a 2D point in the image.\nNOTE:
the vertex coordinates are in the same scale as the original image.", |
459 "id": "Vertex", | 460 "id": "Vertex", |
460 "properties": { | 461 "properties": { |
461 "y": { | 462 "y": { |
462 "description": "Y coordinate.", | 463 "description": "Y coordinate.", |
463 "format": "int32", | 464 "format": "int32", |
464 "type": "integer" | 465 "type": "integer" |
465 }, | 466 }, |
466 "x": { | 467 "x": { |
467 "description": "X coordinate.", | 468 "description": "X coordinate.", |
468 "format": "int32", | 469 "format": "int32", |
469 "type": "integer" | 470 "type": "integer" |
470 } | 471 } |
471 }, | 472 }, |
472 "type": "object" | 473 "type": "object" |
473 }, | 474 }, |
474 "ColorInfo": { | 475 "ColorInfo": { |
475 "description": "Color information consists of RGB channels, score an
d fraction of\nimage the color occupies in the image.", | 476 "description": "Color information consists of RGB channels, score, a
nd the fraction of\nthe image that the color occupies in the image.", |
476 "id": "ColorInfo", | 477 "id": "ColorInfo", |
477 "properties": { | 478 "properties": { |
478 "pixelFraction": { | 479 "pixelFraction": { |
479 "description": "Stores the fraction of pixels the color occu
pies in the image.\nValue in range [0, 1].", | 480 "description": "The fraction of pixels the color occupies in
the image.\nValue in range [0, 1].", |
480 "format": "float", | 481 "format": "float", |
481 "type": "number" | 482 "type": "number" |
482 }, | 483 }, |
483 "color": { | 484 "color": { |
484 "$ref": "Color", | 485 "$ref": "Color", |
485 "description": "RGB components of the color." | 486 "description": "RGB components of the color." |
486 }, | 487 }, |
487 "score": { | 488 "score": { |
488 "description": "Image-specific score for this color. Value i
n range [0, 1].", | 489 "description": "Image-specific score for this color. Value i
n range [0, 1].", |
489 "format": "float", | 490 "format": "float", |
(...skipping 10 matching lines...) Expand all Loading... |
500 "description": "The bounding polygon vertices.", | 501 "description": "The bounding polygon vertices.", |
501 "items": { | 502 "items": { |
502 "$ref": "Vertex" | 503 "$ref": "Vertex" |
503 }, | 504 }, |
504 "type": "array" | 505 "type": "array" |
505 } | 506 } |
506 }, | 507 }, |
507 "type": "object" | 508 "type": "object" |
508 }, | 509 }, |
509 "Landmark": { | 510 "Landmark": { |
510 "description": "A face-specific landmark (for example, a face featur
e).\nLandmark positions may fall outside the bounds of the image\nwhen the face
is near one or more edges of the image.\nTherefore it is NOT guaranteed that 0 <
= x < width or 0 <= y < height.", | 511 "description": "A face-specific landmark (for example, a face featur
e).\nLandmark positions may fall outside the bounds of the image\nif the face is
near one or more edges of the image.\nTherefore it is NOT guaranteed that `0 <=
x < width` or\n`0 <= y < height`.", |
511 "id": "Landmark", | 512 "id": "Landmark", |
512 "properties": { | 513 "properties": { |
513 "position": { | 514 "position": { |
514 "$ref": "Position", | 515 "$ref": "Position", |
515 "description": "Face landmark position." | 516 "description": "Face landmark position." |
516 }, | 517 }, |
517 "type": { | 518 "type": { |
518 "description": "Face landmark type.", | 519 "description": "Face landmark type.", |
519 "enum": [ | 520 "enum": [ |
520 "UNKNOWN_LANDMARK", | 521 "UNKNOWN_LANDMARK", |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 } | 595 } |
595 }, | 596 }, |
596 "type": "object" | 597 "type": "object" |
597 }, | 598 }, |
598 "ImageContext": { | 599 "ImageContext": { |
599 "description": "Image context and/or feature-specific parameters.", | 600 "description": "Image context and/or feature-specific parameters.", |
600 "id": "ImageContext", | 601 "id": "ImageContext", |
601 "properties": { | 602 "properties": { |
602 "latLongRect": { | 603 "latLongRect": { |
603 "$ref": "LatLongRect", | 604 "$ref": "LatLongRect", |
604 "description": "Lat/long rectangle that specifies the locati
on of the image." | 605 "description": "lat/long rectangle that specifies the locati
on of the image." |
605 }, | 606 }, |
606 "languageHints": { | 607 "languageHints": { |
607 "description": "List of languages to use for TEXT_DETECTION.
In most cases, an empty value\nyields the best results since it enables automat
ic language detection. For\nlanguages based on the Latin alphabet, setting `lang
uage_hints` is not\nneeded. In rare cases, when the language of the text in the
image is known,\nsetting a hint will help get better results (although it will b
e a\nsignificant hindrance if the hint is wrong). Text detection returns an\nerr
or if one or more of the specified languages is not one of the\n[supported\nlang
uages](/translate/v2/translate-reference#supported_languages).", | 608 "description": "List of languages to use for TEXT_DETECTION.
In most cases, an empty value\nyields the best results since it enables automat
ic language detection. For\nlanguages based on the Latin alphabet, setting `lang
uage_hints` is not\nneeded. In rare cases, when the language of the text in the
image is known,\nsetting a hint will help get better results (although it will b
e a\nsignificant hindrance if the hint is wrong). Text detection returns an\nerr
or if one or more of the specified languages is not one of the\n[supported langu
ages](/vision/docs/languages).", |
608 "items": { | 609 "items": { |
609 "type": "string" | 610 "type": "string" |
610 }, | 611 }, |
611 "type": "array" | 612 "type": "array" |
612 } | 613 } |
613 }, | 614 }, |
614 "type": "object" | 615 "type": "object" |
615 }, | 616 }, |
616 "BatchAnnotateImagesRequest": { | 617 "BatchAnnotateImagesRequest": { |
617 "description": "Multiple image annotation requests are batched into
a single service call.", | 618 "description": "Multiple image annotation requests are batched into
a single service call.", |
618 "id": "BatchAnnotateImagesRequest", | 619 "id": "BatchAnnotateImagesRequest", |
619 "properties": { | 620 "properties": { |
620 "requests": { | 621 "requests": { |
621 "description": "Individual image annotation requests for thi
s batch.", | 622 "description": "Individual image annotation requests for thi
s batch.", |
622 "items": { | 623 "items": { |
623 "$ref": "AnnotateImageRequest" | 624 "$ref": "AnnotateImageRequest" |
624 }, | 625 }, |
625 "type": "array" | 626 "type": "array" |
626 } | 627 } |
627 }, | 628 }, |
628 "type": "object" | 629 "type": "object" |
629 }, | 630 }, |
630 "EntityAnnotation": { | 631 "EntityAnnotation": { |
631 "description": "Set of detected entity features.", | 632 "description": "Set of detected entity features.", |
632 "id": "EntityAnnotation", | 633 "id": "EntityAnnotation", |
633 "properties": { | 634 "properties": { |
634 "mid": { | 635 "mid": { |
635 "description": "Opaque entity ID. Some IDs might be availabl
e in Knowledge Graph(KG).\nFor more details on KG please see:\nhttps://developer
s.google.com/knowledge-graph/", | 636 "description": "Opaque entity ID. Some IDs may be available
in\n[Google Knowledge Graph Search API](https://developers.google.com/knowledge-
graph/).", |
636 "type": "string" | 637 "type": "string" |
637 }, | 638 }, |
638 "description": { | 639 "description": { |
639 "description": "Entity textual description, expressed in its
<code>locale</code> language.", | 640 "description": "Entity textual description, expressed in its
`locale` language.", |
640 "type": "string" | 641 "type": "string" |
641 }, | 642 }, |
642 "topicality": { | 643 "topicality": { |
643 "description": "The relevancy of the ICA (Image Content Anno
tation) label to the\nimage. For example, the relevancy of 'tower' to an image c
ontaining\n'Eiffel Tower' is likely higher than an image containing a distant to
wering\nbuilding, though the confidence that there is a tower may be the same.\n
Range [0, 1].", | 644 "description": "The relevancy of the ICA (Image Content Anno
tation) label to the\nimage. For example, the relevancy of \"tower\" is likely h
igher to an image\ncontaining the detected \"Eiffel Tower\" than to an image con
taining a\ndetected distant towering building, even though the confidence that\n
there is a tower in each image may be the same. Range [0, 1].", |
644 "format": "float", | 645 "format": "float", |
645 "type": "number" | 646 "type": "number" |
646 }, | 647 }, |
647 "locale": { | 648 "locale": { |
648 "description": "The language code for the locale in which th
e entity textual\n<code>description</code> (next field) is expressed.", | 649 "description": "The language code for the locale in which th
e entity textual\n`description` is expressed.", |
649 "type": "string" | 650 "type": "string" |
650 }, | 651 }, |
651 "properties": { | 652 "properties": { |
652 "description": "Some entities can have additional optional <
code>Property</code> fields.\nFor example a different kind of score or string th
at qualifies the entity.", | 653 "description": "Some entities may have optional user-supplie
d `Property` (name/value)\nfields, such a score or string that qualifies the ent
ity.", |
653 "items": { | 654 "items": { |
654 "$ref": "Property" | 655 "$ref": "Property" |
655 }, | 656 }, |
656 "type": "array" | 657 "type": "array" |
657 }, | 658 }, |
658 "score": { | 659 "score": { |
659 "description": "Overall score of the result. Range [0, 1].", | 660 "description": "Overall score of the result. Range [0, 1].", |
660 "format": "float", | 661 "format": "float", |
661 "type": "number" | 662 "type": "number" |
662 }, | 663 }, |
663 "boundingPoly": { | 664 "boundingPoly": { |
664 "$ref": "BoundingPoly", | 665 "$ref": "BoundingPoly", |
665 "description": "Image region to which this entity belongs. N
ot filled currently\nfor `LABEL_DETECTION` features. For `TEXT_DETECTION` (OCR),
`boundingPoly`s\nare produced for the entire text detected in an image region,
followed by\n`boundingPoly`s for each word within the detected text." | 666 "description": "Image region to which this entity belongs. C
urrently not produced\nfor `LABEL_DETECTION` features. For `TEXT_DETECTION` (OCR
), `boundingPoly`s\nare produced for the entire text detected in an image region
, followed by\n`boundingPoly`s for each word within the detected text." |
666 }, | 667 }, |
667 "locations": { | 668 "locations": { |
668 "description": "The location information for the detected en
tity. Multiple\n<code>LocationInfo</code> elements can be present since one loca
tion may\nindicate the location of the scene in the query image, and another the
\nlocation of the place where the query image was taken. Location information\ni
s usually present for landmarks.", | 669 "description": "The location information for the detected en
tity. Multiple\n`LocationInfo` elements can be present because one location may\
nindicate the location of the scene in the image, and another location\nmay indi
cate the location of the place where the image was taken.\nLocation information
is usually present for landmarks.", |
669 "items": { | 670 "items": { |
670 "$ref": "LocationInfo" | 671 "$ref": "LocationInfo" |
671 }, | 672 }, |
672 "type": "array" | 673 "type": "array" |
673 }, | 674 }, |
674 "confidence": { | 675 "confidence": { |
675 "description": "The accuracy of the entity detection in an i
mage.\nFor example, for an image containing 'Eiffel Tower,' this field represent
s\nthe confidence that there is a tower in the query image. Range [0, 1].", | 676 "description": "The accuracy of the entity detection in an i
mage.\nFor example, for an image in which the \"Eiffel Tower\" entity is detecte
d,\nthis field represents the confidence that there is a tower in the query\nima
ge. Range [0, 1].", |
676 "format": "float", | 677 "format": "float", |
677 "type": "number" | 678 "type": "number" |
678 } | 679 } |
679 }, | 680 }, |
680 "type": "object" | 681 "type": "object" |
681 }, | 682 }, |
682 "Property": { | 683 "Property": { |
683 "description": "Arbitrary name/value pair.", | 684 "description": "A `Property` consists of a user-supplied name/value
pair.", |
684 "id": "Property", | 685 "id": "Property", |
685 "properties": { | 686 "properties": { |
686 "value": { | 687 "value": { |
687 "description": "Value of the property.", | 688 "description": "Value of the property.", |
688 "type": "string" | 689 "type": "string" |
689 }, | 690 }, |
690 "name": { | 691 "name": { |
691 "description": "Name of the property.", | 692 "description": "Name of the property.", |
692 "type": "string" | 693 "type": "string" |
693 } | 694 } |
(...skipping 26 matching lines...) Expand all Loading... |
720 } | 721 } |
721 }, | 722 }, |
722 "type": "object" | 723 "type": "object" |
723 }, | 724 }, |
724 "LocationInfo": { | 725 "LocationInfo": { |
725 "description": "Detected entity location information.", | 726 "description": "Detected entity location information.", |
726 "id": "LocationInfo", | 727 "id": "LocationInfo", |
727 "properties": { | 728 "properties": { |
728 "latLng": { | 729 "latLng": { |
729 "$ref": "LatLng", | 730 "$ref": "LatLng", |
730 "description": "Lat - long location coordinates." | 731 "description": "lat/long location coordinates." |
731 } | 732 } |
732 }, | 733 }, |
733 "type": "object" | 734 "type": "object" |
734 }, | 735 }, |
735 "SafeSearchAnnotation": { | 736 "SafeSearchAnnotation": { |
736 "description": "Set of features pertaining to the image, computed by
various computer vision\nmethods over safe-search verticals (for example, adult
, spoof, medical,\nviolence).", | |
737 "id": "SafeSearchAnnotation", | 737 "id": "SafeSearchAnnotation", |
738 "properties": { | 738 "properties": { |
739 "medical": { | 739 "medical": { |
740 "description": "Likelihood this is a medical image.", | 740 "description": "Likelihood that this is a medical image.", |
741 "enum": [ | 741 "enum": [ |
742 "UNKNOWN", | 742 "UNKNOWN", |
743 "VERY_UNLIKELY", | 743 "VERY_UNLIKELY", |
744 "UNLIKELY", | 744 "UNLIKELY", |
745 "POSSIBLE", | 745 "POSSIBLE", |
746 "LIKELY", | 746 "LIKELY", |
747 "VERY_LIKELY" | 747 "VERY_LIKELY" |
748 ], | 748 ], |
749 "enumDescriptions": [ | 749 "enumDescriptions": [ |
750 "Unknown likelihood.", | 750 "Unknown likelihood.", |
751 "The image very unlikely belongs to the vertical specifi
ed.", | 751 "It is very unlikely that the image belongs to the speci
fied vertical.", |
752 "The image unlikely belongs to the vertical specified.", | 752 "It is unlikely that the image belongs to the specified
vertical.", |
753 "The image possibly belongs to the vertical specified.", | 753 "It is possible that the image belongs to the specified
vertical.", |
754 "The image likely belongs to the vertical specified.", | 754 "It is likely that the image belongs to the specified ve
rtical.", |
755 "The image very likely belongs to the vertical specified
." | 755 "It is very likely that the image belongs to the specifi
ed vertical." |
756 ], | 756 ], |
757 "type": "string" | 757 "type": "string" |
758 }, | 758 }, |
759 "spoof": { | 759 "spoof": { |
760 "description": "Spoof likelihood. The likelihood that an obv
ious modification\nwas made to the image's canonical version to make it appear\n
funny or offensive.", | 760 "description": "Spoof likelihood. The likelihood that an mod
ification\nwas made to the image's canonical version to make it appear\nfunny or
offensive.", |
761 "enum": [ | 761 "enum": [ |
762 "UNKNOWN", | 762 "UNKNOWN", |
763 "VERY_UNLIKELY", | 763 "VERY_UNLIKELY", |
764 "UNLIKELY", | 764 "UNLIKELY", |
765 "POSSIBLE", | 765 "POSSIBLE", |
766 "LIKELY", | 766 "LIKELY", |
767 "VERY_LIKELY" | 767 "VERY_LIKELY" |
768 ], | 768 ], |
769 "enumDescriptions": [ | 769 "enumDescriptions": [ |
770 "Unknown likelihood.", | 770 "Unknown likelihood.", |
771 "The image very unlikely belongs to the vertical specifi
ed.", | 771 "It is very unlikely that the image belongs to the speci
fied vertical.", |
772 "The image unlikely belongs to the vertical specified.", | 772 "It is unlikely that the image belongs to the specified
vertical.", |
773 "The image possibly belongs to the vertical specified.", | 773 "It is possible that the image belongs to the specified
vertical.", |
774 "The image likely belongs to the vertical specified.", | 774 "It is likely that the image belongs to the specified ve
rtical.", |
775 "The image very likely belongs to the vertical specified
." | 775 "It is very likely that the image belongs to the specifi
ed vertical." |
776 ], | 776 ], |
777 "type": "string" | 777 "type": "string" |
778 }, | 778 }, |
779 "violence": { | 779 "violence": { |
780 "description": "Violence likelihood.", | 780 "description": "Violence likelihood.", |
781 "enum": [ | 781 "enum": [ |
782 "UNKNOWN", | 782 "UNKNOWN", |
783 "VERY_UNLIKELY", | 783 "VERY_UNLIKELY", |
784 "UNLIKELY", | 784 "UNLIKELY", |
785 "POSSIBLE", | 785 "POSSIBLE", |
786 "LIKELY", | 786 "LIKELY", |
787 "VERY_LIKELY" | 787 "VERY_LIKELY" |
788 ], | 788 ], |
789 "enumDescriptions": [ | 789 "enumDescriptions": [ |
790 "Unknown likelihood.", | 790 "Unknown likelihood.", |
791 "The image very unlikely belongs to the vertical specifi
ed.", | 791 "It is very unlikely that the image belongs to the speci
fied vertical.", |
792 "The image unlikely belongs to the vertical specified.", | 792 "It is unlikely that the image belongs to the specified
vertical.", |
793 "The image possibly belongs to the vertical specified.", | 793 "It is possible that the image belongs to the specified
vertical.", |
794 "The image likely belongs to the vertical specified.", | 794 "It is likely that the image belongs to the specified ve
rtical.", |
795 "The image very likely belongs to the vertical specified
." | 795 "It is very likely that the image belongs to the specifi
ed vertical." |
796 ], | 796 ], |
797 "type": "string" | 797 "type": "string" |
798 }, | 798 }, |
799 "adult": { | 799 "adult": { |
800 "description": "Represents the adult contents likelihood for
the image.", | 800 "description": "Represents the adult content likelihood for
the image.", |
801 "enum": [ | 801 "enum": [ |
802 "UNKNOWN", | 802 "UNKNOWN", |
803 "VERY_UNLIKELY", | 803 "VERY_UNLIKELY", |
804 "UNLIKELY", | 804 "UNLIKELY", |
805 "POSSIBLE", | 805 "POSSIBLE", |
806 "LIKELY", | 806 "LIKELY", |
807 "VERY_LIKELY" | 807 "VERY_LIKELY" |
808 ], | 808 ], |
809 "enumDescriptions": [ | 809 "enumDescriptions": [ |
810 "Unknown likelihood.", | 810 "Unknown likelihood.", |
811 "The image very unlikely belongs to the vertical specifi
ed.", | 811 "It is very unlikely that the image belongs to the speci
fied vertical.", |
812 "The image unlikely belongs to the vertical specified.", | 812 "It is unlikely that the image belongs to the specified
vertical.", |
813 "The image possibly belongs to the vertical specified.", | 813 "It is possible that the image belongs to the specified
vertical.", |
814 "The image likely belongs to the vertical specified.", | 814 "It is likely that the image belongs to the specified ve
rtical.", |
815 "The image very likely belongs to the vertical specified
." | 815 "It is very likely that the image belongs to the specifi
ed vertical." |
816 ], | 816 ], |
817 "type": "string" | 817 "type": "string" |
818 } | 818 } |
819 }, | 819 }, |
820 "type": "object" | 820 "type": "object" |
821 }, | 821 }, |
822 "Image": { | 822 "Image": { |
823 "description": "Client image to perform Google Cloud Vision API task
s over.", | 823 "description": "Client image to perform Google Cloud Vision API task
s over.", |
824 "id": "Image", | 824 "id": "Image", |
825 "properties": { | 825 "properties": { |
826 "source": { | 826 "source": { |
827 "$ref": "ImageSource", | 827 "$ref": "ImageSource", |
828 "description": "Google Cloud Storage image location. If both
'content' and 'source'\nare filled for an image, 'content' takes precedence and
it will be\nused for performing the image annotation request." | 828 "description": "Google Cloud Storage image location. If both
`content` and `source`\nare provided for an image, `content` takes precedence a
nd is\nused to perform the image annotation request." |
829 }, | 829 }, |
830 "content": { | 830 "content": { |
831 "description": "Image content, represented as a stream of by
tes.\nNote: as with all `bytes` fields, protobuffers use a pure binary\nrepresen
tation, whereas JSON representations use base64.", | 831 "description": "Image content, represented as a stream of by
tes.\nNote: as with all `bytes` fields, protobuffers use a pure binary\nrepresen
tation, whereas JSON representations use base64.", |
832 "format": "byte", | 832 "format": "byte", |
833 "type": "string" | 833 "type": "string" |
834 } | 834 } |
835 }, | 835 }, |
836 "type": "object" | 836 "type": "object" |
837 }, | 837 }, |
838 "DominantColorsAnnotation": { | 838 "DominantColorsAnnotation": { |
839 "description": "Set of dominant colors and their corresponding score
s.", | 839 "description": "Set of dominant colors and their corresponding score
s.", |
840 "id": "DominantColorsAnnotation", | 840 "id": "DominantColorsAnnotation", |
841 "properties": { | 841 "properties": { |
842 "colors": { | 842 "colors": { |
843 "description": "RGB color values, with their score and pixel
fraction.", | 843 "description": "RGB color values with their score and pixel
fraction.", |
844 "items": { | 844 "items": { |
845 "$ref": "ColorInfo" | 845 "$ref": "ColorInfo" |
846 }, | 846 }, |
847 "type": "array" | 847 "type": "array" |
848 } | 848 } |
849 }, | 849 }, |
850 "type": "object" | 850 "type": "object" |
851 }, | 851 }, |
852 "Feature": { | 852 "Feature": { |
853 "description": "The <em>Feature</em> indicates what type of image de
tection task to perform.\nUsers describe the type of Google Cloud Vision API tas
ks to perform over\nimages by using <em>Feature</em>s. Features encode the Cloud
Vision API\nvertical to operate on and the number of top-scoring results to ret
urn.", | 853 "description": "Users describe the type of Google Cloud Vision API t
asks to perform over\nimages by using *Feature*s. Each Feature indicates a type
of image\ndetection task to perform. Features encode the Cloud Vision API\nverti
cal to operate on and the number of top-scoring results to return.", |
854 "id": "Feature", | 854 "id": "Feature", |
855 "properties": { | 855 "properties": { |
856 "type": { | 856 "type": { |
857 "description": "The feature type.", | 857 "description": "The feature type.", |
858 "enum": [ | 858 "enum": [ |
859 "TYPE_UNSPECIFIED", | 859 "TYPE_UNSPECIFIED", |
860 "FACE_DETECTION", | 860 "FACE_DETECTION", |
861 "LANDMARK_DETECTION", | 861 "LANDMARK_DETECTION", |
862 "LOGO_DETECTION", | 862 "LOGO_DETECTION", |
863 "LABEL_DETECTION", | 863 "LABEL_DETECTION", |
864 "TEXT_DETECTION", | 864 "TEXT_DETECTION", |
865 "SAFE_SEARCH_DETECTION", | 865 "SAFE_SEARCH_DETECTION", |
866 "IMAGE_PROPERTIES" | 866 "IMAGE_PROPERTIES" |
867 ], | 867 ], |
868 "enumDescriptions": [ | 868 "enumDescriptions": [ |
869 "Unspecified feature type.", | 869 "Unspecified feature type.", |
870 "Run face detection.", | 870 "Run face detection.", |
871 "Run landmark detection.", | 871 "Run landmark detection.", |
872 "Run logo detection.", | 872 "Run logo detection.", |
873 "Run label detection.", | 873 "Run label detection.", |
874 "Run OCR.", | 874 "Run OCR.", |
875 "Run various computer vision models to compute image saf
e-search properties.", | 875 "Run computer vision models to compute image safe-search
properties.", |
876 "Compute a set of properties about the image (such as th
e image's dominant colors)." | 876 "Compute a set of image properties, such as the image's
dominant colors." |
877 ], | 877 ], |
878 "type": "string" | 878 "type": "string" |
879 }, | 879 }, |
880 "maxResults": { | 880 "maxResults": { |
881 "description": "Maximum number of results of this type.", | 881 "description": "Maximum number of results of this type.", |
882 "format": "int32", | 882 "format": "int32", |
883 "type": "integer" | 883 "type": "integer" |
884 } | 884 } |
885 }, | 885 }, |
886 "type": "object" | 886 "type": "object" |
887 }, | 887 }, |
888 "BatchAnnotateImagesResponse": { | 888 "BatchAnnotateImagesResponse": { |
889 "description": "Response to a batch image annotation request.", | 889 "description": "Response to a batch image annotation request.", |
890 "id": "BatchAnnotateImagesResponse", | 890 "id": "BatchAnnotateImagesResponse", |
891 "properties": { | 891 "properties": { |
892 "responses": { | 892 "responses": { |
893 "description": "Individual responses to image annotation req
uests within the batch.", | 893 "description": "Individual responses to image annotation req
uests within the batch.", |
894 "items": { | 894 "items": { |
895 "$ref": "AnnotateImageResponse" | 895 "$ref": "AnnotateImageResponse" |
896 }, | 896 }, |
897 "type": "array" | 897 "type": "array" |
898 } | 898 } |
899 }, | 899 }, |
900 "type": "object" | 900 "type": "object" |
901 }, | 901 }, |
902 "ImageProperties": { | 902 "ImageProperties": { |
903 "description": "Stores image properties (e.g. dominant colors).", | 903 "description": "Stores image properties, such as dominant colors.", |
904 "id": "ImageProperties", | 904 "id": "ImageProperties", |
905 "properties": { | 905 "properties": { |
906 "dominantColors": { | 906 "dominantColors": { |
907 "$ref": "DominantColorsAnnotation", | 907 "$ref": "DominantColorsAnnotation", |
908 "description": "If present, dominant colors completed succes
sfully." | 908 "description": "If present, dominant colors completed succes
sfully." |
909 } | 909 } |
910 }, | 910 }, |
911 "type": "object" | 911 "type": "object" |
912 }, | 912 }, |
913 "LatLng": { | 913 "LatLng": { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
947 "type": "number" | 947 "type": "number" |
948 } | 948 } |
949 }, | 949 }, |
950 "type": "object" | 950 "type": "object" |
951 } | 951 } |
952 }, | 952 }, |
953 "servicePath": "", | 953 "servicePath": "", |
954 "title": "Google Cloud Vision API", | 954 "title": "Google Cloud Vision API", |
955 "version": "v1" | 955 "version": "v1" |
956 } | 956 } |
OLD | NEW |