API Reference > Accusoft.OCRXpress.Nodejs > Object Reference > recognizeParams |
Controls the recognition process.
Copy Code | |
---|---|
var recognizeParams = { param: 'value', //... }); |
Property | Default | Value Description | Required? | ||||||
input | null | A path to the input image file to perform recognition. | Yes | ||||||
output | null | If present, a path to the destination file that will hold the recognized results. | No | ||||||
language | 'english' | The language with which to recognize. See Supported Languages for the full list of supported languages. | No | ||||||
orientation | 'detect' | The method of orienting / reorienting the page upon recognition. Can take one of the following values:
|
No | ||||||
defaultDpi | [300, 300] | If the input file image does not contain resolution DPI information, these values will be used in place. The values are the horizontal DPI and the vertical DPI of the input image, respectively. | No | ||||||
format | 'pdf' | The output file format for the recognized results. It may take a value of either 'pdf' or 'text'. | No | ||||||
mode | 'overwrite' | The method to write to the output file. It may take a value of either 'append' or 'overwrite'. | No | ||||||
document | null | If present, the recognize() call will append an additional page to the document memory object. | No |