| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/google-cloud-sdk/lib/surface/ml/vision/ |
Upload File : |
- release_tracks: [GA]
help_text:
brief: Suggest a bounding box in an image.
description: |
Returns the coordinates of a bounding box that surrounds the dominant
object or face in an image.
examples: |
To get the coordinates of a bounding box that surrounds the dominant
object or face in an image `gs://my_bucket/input_file`:
$ {command} gs://my_bucket/input_file
request:
_COMMON_: request
static_fields:
requests.features.type: CROP_HINTS
response:
_COMMON_: response
arguments:
params:
- _COMMON_: args.image_field
- api_field: requests.imageContext.cropHintsParams.aspectRatios
arg_name: aspect-ratios
type: googlecloudsdk.command_lib.ml.vision.flags:AspectRatioType
help_text: A list of aspect ratio hints for the suggested bounding box. Aspect
ratios may be specified either as a decimal number (ex. 1.333) or as a ratio
of width to height (ex 4:3).
output:
format: json
- release_tracks: [ALPHA, BETA]
help_text:
brief: Suggest a bounding box in an image.
description: |
Returns the coordinates of a bounding box that surrounds the dominant
object or face in an image.
examples: |
To get the coordinates of a bounding box that surrounds the dominant
object or face in an image `gs://my_bucket/input_file`:
$ {command} gs://my_bucket/input_file
request:
_COMMON_: request
static_fields:
requests.features.type: CROP_HINTS
response:
_COMMON_: response
arguments:
params:
- _COMMON_: args.image_field
- _COMMON_: args.model_field
- api_field: requests.imageContext.cropHintsParams.aspectRatios
arg_name: aspect-ratios
type: googlecloudsdk.command_lib.ml.vision.flags:AspectRatioType
help_text: A list of aspect ratio hints for the suggested bounding box. Aspect
ratios may be specified either as a decimal number (ex. 1.333) or as a ratio
of width to height (ex 4:3).
output:
format: json