gcloud beta ml vision detect-landmarks

NAME
gcloud beta ml vision detect-landmarks - detect popular natural and man-made structures within an image
SYNOPSIS
gcloud beta ml vision detect-landmarksIMAGE_PATH[--max-results=MAX_RESULTS][--model-version=MODEL_VERSION; default="builtin/stable"][GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Google Cloud Vision will recognize landmarks in an image,such as "Palace of Fine Arts."
EXAMPLES
To recognize landmarks in an image 'gs://my_bucket/input_file':
gcloudbetamlvisiondetect-landmarksgs://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. Ifyou provide a local file, the contents will be sent directly to Google CloudVision. If you provide a URL, it must be in Google Cloud Storage format(gs://bucket/object) or an HTTP URL (http://... orhttps://…)
FLAGS
--max-results=MAX_RESULTS
Maximum number of results to be provided.
--model-version=MODEL_VERSION; default="builtin/stable"
Model version to use for the feature.MODEL_VERSION mustbe one of:builtin/latest,builtin/stable.
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 thevision/v1 API. The full documentation forthis API can be found at:https://cloud.google.com/vision/
NOTES
This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudmlvisiondetect-landmarks
gcloudalphamlvisiondetect-landmarks

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.