gcloud_alpha_ml_vision_detect-faces (1)
NAME
- gcloud alpha ml vision detect-faces - detect faces within an image
SYNOPSIS
-
gcloud alpha ml vision detect-faces IMAGE_PATH [--max-results=MAX_RESULTS] [--model-version=MODEL_VERSION; default="builtin/stable"] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Detect faces within an image.
POSITIONAL ARGUMENTS
-
- IMAGE_PATH
-
- The 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://...)
- The 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://...)
FLAGS
-
- --max-results=MAX_RESULTS
-
The maximum number of results to be provided.
- --model-version=MODEL_VERSION; default="builtin/stable"
-
The model version to use for the feature. Supported values include
"builtin/stable" and "builtin/latest".
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --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: cloud.google.com/vision
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud ml vision detect-faces $ gcloud beta ml vision detect-faces