Skip to content

Processing Parameters

There are two ways to configure the Web Service parameter values:

  • On a service startup—a parameter value is set once in the config.yaml file and applied for all subsequent requests. Follow the link for all available request parameters. For example:
config.yaml
sdk:
  processParam:
    strictImageQuality: true
    log: true
    logLevel: "Debug"
    dateFormat: "dd-mm-yy"
    nnMode: "standard"
  • For a single request—a parameter value is set for a concrete request and applies only in its scope. The request parameters take priority over config.yaml, so you can redefine some previously set values.

Note that some parameters can be set only on the Web Service startup in the config.yaml file. The following table lists all such parameters.

Startup parameter Description Data type Default value Values
nnMode A neural network mode used for document processing. string standard
  • standard
    default mode with high recognition and processing accuracy
  • lite
    lightweight mode optimized for faster processing

Next Steps