ezgh ocr processors update <processor> [--name n] [--description d] [--model m --version v] [--language l]… [--output-format f] [--detail d] [flags]Change a processor. What’s given is changed, and the rest stays; --language replaces the languages. It’s sent with the ETag ezgh just read: if someone else changed the processor in between, nothing is changed, and ezgh says to run the command again.
Part of ezgh ocr processors.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--description |
string | a description | |
--detail |
string | a detail level the model offers (see ezgh ocr models get); high is the default | |
--language |
strings, comma-separated or repeated | a language in the documents, e.g. en or zh (repeat, or comma-separate) | |
--model |
string | the model; changing it needs --version too |
|
--name |
string | the processor’s name | |
--output-format |
string | text or json-layout | |
--version |
string | the model version: an exact one, or latest |
This command also takes the global flags.