HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/help/man/man1/gcloud_ml_vision_detect-text-tiff.1
.TH "GCLOUD_ML_VISION_DETECT\-TEXT\-TIFF" 1



.SH "NAME"
.HP
gcloud ml vision detect\-text\-tiff \- detect and transcribe text from TIFF files stored in Google Cloud Storage



.SH "SYNOPSIS"
.HP
\f5gcloud ml vision detect\-text\-tiff\fR \fIINPUT_FILE\fR \fIOUTPUT_PATH\fR [\fB\-\-batch\-size\fR=\fIBATCH_SIZE\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "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.



.SH "EXAMPLES"

To detect text for input TIFF file \f5gs://my_bucket/input_file\fR and store
output in \f5gs://my_bucket/out_put_prefix\fR:

.RS 2m
$ gcloud ml vision detect\-text\-tiff gs://my_bucket/input_file \e
    gs://my_bucket/out_put_prefix
.RE



.SH "POSITIONAL ARGUMENTS"

.RS 2m
.TP 2m
\fIINPUT_FILE\fR

Google Cloud Storage location to read the input from. It must be in Google Cloud
Storage format (gs://bucket/object)

.TP 2m
\fIOUTPUT_PATH\fR

Google Cloud Storage location to store the output file. It must be in Google
Cloud Storage format (gs://bucket/object)


.RE
.sp

.SH "FLAGS"

.RS 2m
.TP 2m
\fB\-\-batch\-size\fR=\fIBATCH_SIZE\fR

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.


.RE
.sp

.SH "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 \fB$ gcloud help\fR for details.



.SH "API REFERENCE"

This command uses the \fBvision/v1\fR API. The full documentation for this API
can be found at: https://cloud.google.com/vision/



.SH "NOTES"

These variants are also available:

.RS 2m
$ gcloud alpha ml vision detect\-text\-tiff
.RE

.RS 2m
$ gcloud beta ml vision detect\-text\-tiff
.RE