mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-09 02:55:19 +00:00
42 lines
1.4 KiB
Text
42 lines
1.4 KiB
Text
NAME
|
|
gcloud ml vision detect-image-properties - detect general attributes of an
|
|
image
|
|
|
|
SYNOPSIS
|
|
gcloud ml vision detect-image-properties IMAGE_PATH [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Detect general attributes of an image, such as dominant color.
|
|
|
|
EXAMPLES
|
|
To detect general attributes of image 'gs://my_bucket/input_file':
|
|
|
|
$ gcloud ml vision detect-image-properties gs://my_bucket/input_file
|
|
|
|
POSITIONAL ARGUMENTS
|
|
IMAGE_PATH
|
|
Path to the image to be analyzed. This can be either a local path or a
|
|
URL. If you provide a local file, the contents will be sent directly to
|
|
Google Cloud Vision. If you provide a URL, it must be in Google Cloud
|
|
Storage format (gs://bucket/object) or an HTTP URL (http://... or
|
|
https://...)
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --access-token-file, --account,
|
|
--billing-project, --configuration, --flags-file, --flatten, --format,
|
|
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
|
--trace-token, --user-output-enabled, --verbosity.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
API REFERENCE
|
|
This command uses the vision/v1 API. The full documentation for this API
|
|
can be found at: https://cloud.google.com/vision/
|
|
|
|
NOTES
|
|
These variants are also available:
|
|
|
|
$ gcloud alpha ml vision detect-image-properties
|
|
|
|
$ gcloud beta ml vision detect-image-properties
|
|
|