- NAME
-
- gcloud ml vision detect-text-tiff - detect and transcribe text from TIFF files stored in Google Cloud Storage
- SYNOPSIS
-
-
gcloud ml vision detect-text-tiff
INPUT_FILE
OUTPUT_PATH
[--batch-size
=BATCH_SIZE
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
Detect and transcribe text from TIFF files stored in Google Cloud Storage.
The Vision API accepts TIFF files up to 2000 pages. Larger files will return an error.
- EXAMPLES
-
To detect text for input TIFF file
gs://my_bucket/input_file
and store output ings://my_bucket/out_put_prefix
:gcloud ml vision detect-text-tiff gs://my_bucket/input_file gs://my_bucket/out_put_prefix
- POSITIONAL ARGUMENTS
-
INPUT_FILE
- Google Cloud Storage location to read the input from. It must be in Google Cloud Storage format (gs://bucket/object)
OUTPUT_PATH
- Google Cloud Storage location to store the output file. It must be in Google Cloud Storage format (gs://bucket/object)
- FLAGS
-
--batch-size
=BATCH_SIZE
- Maximum number of response protos to put into each output JSON file on Google Cloud Storage. The valid range is [1, 100]. If not specified, the default value is 20.
- 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-text-tiff
gcloud beta ml vision detect-text-tiff
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.